{
  "allocationComponents": [
    {
      "componentId": "urn:app:sink:janus-streaming",
      "orchestratorTemplateName": "janus-streaming",
      "orchestratorTemplateVersion": "0.1"
    },
    {
      "componentId": "urn:app:operator:janus-avroom",
      "orchestratorTemplateName": "janus-avroom",
      "orchestratorTemplateVersion": "0.1"
    },
    {
      "componentId": "urn:app:operator:juturna-helmets",
      "orchestratorTemplateName": "juturna-helmets",
      "orchestratorTemplateVersion": "0.1"
    },
    {
      "componentId": "urn:app:operator:juturna-whisper",
      "orchestratorTemplateName": "juturna-whisper",
      "orchestratorTemplateVersion": "0.1"
    },
    {
      "componentId": "urn:app:source:janus-nginx",
      "orchestratorTemplateName": "janus-nginx",
      "orchestratorTemplateVersion": "0.1"
    }
  ],
  "allocationConstraints": [
    {
      "type": "CONNECTIVITY_CONSTRAINT",
      "componentId": "urn:app:source:janus-nginx",
      "destinationComponent": "urn:app:operator:janus-avroom",
      "bidirectional": false,
      "connectivityRequirements": [
        {
          "metricType": "transmission_delay",
          "unit": "ms",
          "value": 50
        },
        {
          "metricType": "cumulative_delay",
          "unit": "ms",
          "value": 250
        },
        {
          "metricType": "bandwidth",
          "unit": "Mbps",
          "value": 100
        }
      ]
    },
    {
      "type": "CONNECTIVITY_CONSTRAINT",
      "componentId": "urn:app:operator:juturna-whisper",
      "destinationComponent": "urn:app:sink:janus-streaming",
      "bidirectional": false,
      "connectivityRequirements": [
        {
          "metricType": "transmission_delay",
          "unit": "ms",
          "value": 500
        },
        {
          "metricType": "cumulative_delay",
          "unit": "ms",
          "value": 2500
        },
        {
          "metricType": "bandwidth",
          "unit": "Mbps",
          "value": 2
        }
      ]
    },
    {
      "type": "CONNECTIVITY_CONSTRAINT",
      "componentId": "urn:app:operator:juturna-helmets",
      "destinationComponent": "urn:app:sink:janus-streaming",
      "bidirectional": false,
      "connectivityRequirements": [
        {
          "metricType": "transmission_delay",
          "unit": "ms",
          "value": 250
        },
        {
          "metricType": "cumulative_delay",
          "unit": "ms",
          "value": 1500
        },
        {
          "metricType": "bandwidth",
          "unit": "Mbps",
          "value": 2
        }
      ]
    },
    {
      "type": "CONNECTIVITY_CONSTRAINT",
      "componentId": "urn:app:operator:janus-avroom",
      "destinationComponent": "urn:app:operator:juturna-whisper",
      "bidirectional": false,
      "connectivityRequirements": [
        {
          "metricType": "transmission_delay",
          "unit": "ms",
          "value": 250
        },
        {
          "metricType": "cumulative_delay",
          "unit": "ms",
          "value": 150
        },
        {
          "metricType": "bandwidth",
          "unit": "Mbps",
          "value": 2
        }
      ]
    },
    {
      "type": "CONNECTIVITY_CONSTRAINT",
      "componentId": "urn:app:operator:janus-avroom",
      "destinationComponent": "urn:app:operator:juturna-helmets",
      "bidirectional": false,
      "connectivityRequirements": [
        {
          "metricType": "transmission_delay",
          "unit": "ms",
          "value": 250
        },
        {
          "metricType": "cumulative_delay",
          "unit": "ms",
          "value": 150
        },
        {
          "metricType": "bandwidth",
          "unit": "Mbps",
          "value": 2
        }
      ]
    },
    {
      "type": "COMPONENT_COMPUTE",
      "componentId": "urn:app:operator:janus-avroom",
      "cpu": 8,
      "gpu": 0.0,
      "memory": 10000000000,
      "storageInfo": {
        "size": 1000000000.0,
        "type": "SSD"
      },
      "processingDelay": {
        "unit": "ms",
        "value": 3
      }
    },
    {
      "type": "COMPONENT_COMPUTE",
      "componentId": "urn:app:operator:juturna-helmets",
      "cpu": 0.0,
      "gpu": 1.0,
      "memory": 6521728,
      "storageInfo": {
        "size": 512000000000.0,
        "type": "SSD"
      },
      "processingDelay": {
        "unit": "ms",
        "value": 3
      }
    },
    {
      "type": "COMPONENT_COMPUTE",
      "componentId": "urn:app:operator:juturna-whisper",
      "cpu": 0.0,
      "gpu": 1.0,
      "memory": 80021728,
      "storageInfo": {
        "size": 512000000000,
        "type": "SSD"
      },
      "processingDelay": {
        "unit": "ms",
        "value": 3
      }
    }
  ]
}