aboutsummaryrefslogtreecommitdiffstats
path: root/models-interactions/model-yaml
diff options
context:
space:
mode:
Diffstat (limited to 'models-interactions/model-yaml')
-rw-r--r--models-interactions/model-yaml/README-v2.0.0.md4
-rw-r--r--models-interactions/model-yaml/src/test/resources/v2.0.0/pgstreams.json26
-rw-r--r--models-interactions/model-yaml/src/test/resources/v2.0.0/policy_ONAP_demo_vFirewall.yaml4
3 files changed, 4 insertions, 30 deletions
diff --git a/models-interactions/model-yaml/README-v2.0.0.md b/models-interactions/model-yaml/README-v2.0.0.md
index d6613add2..bb72cc03e 100644
--- a/models-interactions/model-yaml/README-v2.0.0.md
+++ b/models-interactions/model-yaml/README-v2.0.0.md
@@ -1,4 +1,4 @@
-Copyright 2018 AT&T Intellectual Property. All rights reserved.
+Copyright 2018-2019 AT&T Intellectual Property. All rights reserved.
Modifications Copyright (C) 2019 Nordix Foundation.
This file is licensed under the CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE
Full license text at https://creativecommons.org/licenses/by/4.0/legalcode
@@ -307,7 +307,7 @@ policies:
resourceID: Eace933104d443b496b8.nodes.heat.vpg
payload:
generic-vnf.vnf-id: {generic-vnf.vnf-id}
- ref$: pgstreams.json
+ streams: '{"active-streams":5}'
retry: 0
timeout: 300
success: final_success
diff --git a/models-interactions/model-yaml/src/test/resources/v2.0.0/pgstreams.json b/models-interactions/model-yaml/src/test/resources/v2.0.0/pgstreams.json
deleted file mode 100644
index 4d118afa1..000000000
--- a/models-interactions/model-yaml/src/test/resources/v2.0.0/pgstreams.json
+++ /dev/null
@@ -1,26 +0,0 @@
-{
- "pg-streams": {
- "pg-stream": [
- {
- "id": "fw_udp1",
- "is-enabled": "true"
- },
- {
- "id": "fw_udp2",
- "is-enabled": "true"
- },
- {
- "id": "fw_udp3",
- "is-enabled": "true"
- },
- {
- "id": "fw_udp4",
- "is-enabled": "true"
- },
- {
- "id": "fw_udp5",
- "is-enabled": "true"
- }
- ]
- }
-} \ No newline at end of file
diff --git a/models-interactions/model-yaml/src/test/resources/v2.0.0/policy_ONAP_demo_vFirewall.yaml b/models-interactions/model-yaml/src/test/resources/v2.0.0/policy_ONAP_demo_vFirewall.yaml
index caf3babbc..00b9b4cb1 100644
--- a/models-interactions/model-yaml/src/test/resources/v2.0.0/policy_ONAP_demo_vFirewall.yaml
+++ b/models-interactions/model-yaml/src/test/resources/v2.0.0/policy_ONAP_demo_vFirewall.yaml
@@ -1,4 +1,4 @@
-# Copyright 2018 AT&T Intellectual Property. All rights reserved
+# Copyright 2018-2019 AT&T Intellectual Property. All rights reserved
# Modifications Copyright (C) 2019 Nordix Foundation.
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -61,7 +61,7 @@ policies:
resourceID: Eace933104d443b496b8.nodes.heat.vpg
payload:
generic-vnf.vnf-id: {generic-vnf.vnf-id}
- ref$: pgstreams.json
+ streams: '{"active-streams":5}'
retry: 0
timeout: 300
success: final_success