Browse Source

Updated from OpenStack Service Type Authority

Bot triggered by service-types-authority change [1].

Unit tests updated manually.

[1] I64b579180542342afe71f05afe175d14e10a539d

Change-Id: I589f556f7321f7153a8c9b19f276220e2ef89160
OpenStack Proposal Bot 5 months ago
parent
commit
b6f014da2a
2 changed files with 16 additions and 10 deletions
  1. 12
    6
      os_service_types/data/service-types.json
  2. 4
    4
      os_service_types/tests/base.py

+ 12
- 6
os_service_types/data/service-types.json View File

@@ -402,6 +402,11 @@
402 402
       "project": "panko",
403 403
       "service_type": "event"
404 404
     },
405
+    "placement": {
406
+      "api_reference": "https://developer.openstack.org/api-ref/placement/",
407
+      "project": "placement",
408
+      "service_type": "placement"
409
+    },
405 410
     "qinling": {
406 411
       "api_reference": "https://developer.openstack.org/api-ref/function-engine/",
407 412
       "project": "qinling",
@@ -597,8 +602,7 @@
597 602
       "network"
598 603
     ],
599 604
     "nova": [
600
-      "compute",
601
-      "placement"
605
+      "compute"
602 606
     ],
603 607
     "octavia": [
604 608
       "load-balancer"
@@ -606,6 +610,9 @@
606 610
     "panko": [
607 611
       "event"
608 612
     ],
613
+    "placement": [
614
+      "placement"
615
+    ],
609 616
     "qinling": [
610 617
       "function-engine"
611 618
     ],
@@ -898,8 +905,7 @@
898 905
     },
899 906
     {
900 907
       "api_reference": "https://developer.openstack.org/api-ref/placement/",
901
-      "project": "nova",
902
-      "secondary": true,
908
+      "project": "placement",
903 909
       "service_type": "placement"
904 910
     },
905 911
     {
@@ -921,6 +927,6 @@
921 927
       "service_type": "function-engine"
922 928
     }
923 929
   ],
924
-  "sha": "23fd2d542add37a1b3ff5b03daca64fb1b4dc50a",
925
-  "version": "2018-07-24T00:07:00.591099"
930
+  "sha": "74453588480febee6cfedc88bc99bf9aa72c1cff",
931
+  "version": "2018-11-01T14:56:36.742286"
926 932
 }

+ 4
- 4
os_service_types/tests/base.py View File

@@ -48,7 +48,7 @@ class ServiceDataMixin(object):
48 48
             service_type='compute', official='compute', aliases=[],
49 49
             all_types=['compute'],
50 50
             api_reference='compute', api_reference_project=None,
51
-            is_secondary=False, all_services=['compute', 'placement'],
51
+            is_secondary=False, all_services=['compute'],
52 52
             is_known=True, is_alias=False, is_official=True, project='nova')),
53 53
         ('volumev2', dict(
54 54
             service_type='volumev2', official='block-storage', aliases=[],
@@ -93,10 +93,10 @@ class ServiceDataMixin(object):
93 93
             project='neutron')),
94 94
         ('placement', dict(
95 95
             service_type='placement', official='placement', aliases=[],
96
-            all_types=['placement'], all_services=['compute', 'placement'],
96
+            all_types=['placement'], all_services=['placement'],
97 97
             api_reference='placement', api_reference_project=None,
98
-            is_known=True, is_alias=False, is_official=True, is_secondary=True,
99
-            project='nova')),
98
+            is_known=True, is_alias=False, is_official=True,
99
+            is_secondary=False, project='placement')),
100 100
         ('missing', dict(
101 101
             service_type='missing', official=None,
102 102
             aliases=[], all_services=[],

Loading…
Cancel
Save