aboutsummaryrefslogtreecommitdiffstats
path: root/src/onapsdk/nbi/templates/nbi_service_order_create.json.j2
blob: aee124da34d9e80dd802c2c695522a9dba546a01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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 }}"
        }
      }
    }
  ]
}