aboutsummaryrefslogtreecommitdiffstats
path: root/src/onapsdk/nbi/templates/nbi_service_order_create.json.j2
diff options
context:
space:
mode:
Diffstat (limited to 'src/onapsdk/nbi/templates/nbi_service_order_create.json.j2')
-rw-r--r--src/onapsdk/nbi/templates/nbi_service_order_create.json.j228
1 files changed, 28 insertions, 0 deletions
diff --git a/src/onapsdk/nbi/templates/nbi_service_order_create.json.j2 b/src/onapsdk/nbi/templates/nbi_service_order_create.json.j2
new file mode 100644
index 0000000..aee124d
--- /dev/null
+++ b/src/onapsdk/nbi/templates/nbi_service_order_create.json.j2
@@ -0,0 +1,28 @@
+{
+ "externalId": "{{ external_id }}",
+ "priority": "1",
+ "description": "{{ service_specification.name }} order for {{ customer.global_customer_id }} customer via Python ONAP SDK",
+ "category": "Consumer",
+ "requestedStartDate": "{{ request_time }}",
+ "requestedCompletionDate": "{{ request_time }}",
+ "relatedParty": [
+ {
+ "id": "{{ customer.global_customer_id }}",
+ "role": "ONAPcustomer",
+ "name": "{{ customer.global_customer_id }}"
+ }
+ ],
+ "orderItem": [
+ {
+ "id": "1",
+ "action": "add",
+ "service": {
+ "name": "{{ service_instance_name }}",
+ "serviceState": "active",
+ "serviceSpecification": {
+ "id": "{{ service_specification.unique_id }}"
+ }
+ }
+ }
+ ]
+} \ No newline at end of file