"context":{\r
"type": "object",\r
"properties": {\r
- "global-customer-id":{\r
+ "globalCustomerId":{\r
"type": "string",\r
"description": "the global customer id"\r
},\r
- "service-type":{\r
+ "serviceType":{\r
"type": "string",\r
"description": "service type"\r
}\r
self.csar_id = csar_id
self.ns_name = ns_name
self.description = description
- self.global_customer_id = ignore_case_get(context, 'global-customer-id')
- self.service_type = ignore_case_get(context, 'service-type')
+ self.global_customer_id = ignore_case_get(context, 'globalCustomerId')
+ self.service_type = ignore_case_get(context, 'serviceType')
self.ns_inst_id = ''
self.ns_package_id = ''
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
-
-
import logging
import traceback
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
-
import logging
import threading
import traceback
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
-
import json
import logging
import time
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
-
import json
import logging
import math
mock_call_req.side_effect = [r1_query_nspackage_from_catalog, r2_create_ns_to_aai]
data = {
"context": {
- "global-customer-id": "global-customer-id-test1",
- "service-type": "service-type-test1"
+ "globalCustomerId": "global-customer-id-test1",
+ "serviceType": "service-type-test1"
},
"csarId": self.nsd_id,
"nsName": "ns",
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
-
-
import json
import logging
import os
}\r
}\r
}\r
- }, \r
+ },\r
"delete": {\r
"tags": [\r
"ns"\r
"properties": {\r
"context":{\r
"type": "object",\r
- "properties": { \r
- "global-customer-id":{\r
+ "properties": {\r
+ "globalCustomerId":{\r
"type": "string",\r
"description": "the global customer id"\r
},\r
- "service-type":{\r
+ "serviceType":{\r
"type": "string",\r
"description": "service type"\r
}\r
"jobId": {\r
"type": "string"\r
},\r
- "responseDescriptor": \r
+ "responseDescriptor":\r
{\r
"type":"object",\r
"properties": {\r