From ebe2b4d5e616a69b374fa9214255c971e014d144 Mon Sep 17 00:00:00 2001 From: Bartek Grzybowski Date: Fri, 20 Mar 2020 14:35:39 +0100 Subject: Pretty print json files in tutorials/ Fixing json files to conform to linter rules. Change-Id: Ib71831d153f32133eef7deb95804e9d96240f5c7 Issue-ID: INT-1482 Signed-off-by: Bartek Grzybowski --- .../workflow/templates/cdt-templates/templates/action-template.json | 2 +- .../workflow/templates/cdt-templates/templates/all-actions-content.json | 2 +- .../templates/cdt-templates/templates/reference-all-actions.json | 2 +- .../workflow/templates/cdt-templates/templates/traffic-params-list.json | 2 +- .../workflow/templates/cdt-templates/templates/traffic-params.json | 2 +- .../workflow/templates/cdt-templates/templates/upgrade-params-list.json | 2 +- .../workflow/templates/cdt-templates/templates/upgrade-params.json | 2 +- tutorials/vFWDT/workflow/templates/cdt-templates/vfw-sink/traffic.json | 2 +- tutorials/vFWDT/workflow/templates/cdt-templates/vfw-sink/upgrade.json | 2 +- tutorials/vFWDT/workflow/templates/cdt-templates/vpgn/traffic.json | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) (limited to 'tutorials/vFWDT/workflow/templates/cdt-templates') diff --git a/tutorials/vFWDT/workflow/templates/cdt-templates/templates/action-template.json b/tutorials/vFWDT/workflow/templates/cdt-templates/templates/action-template.json index 9e7429a6..60c2b104 100755 --- a/tutorials/vFWDT/workflow/templates/cdt-templates/templates/action-template.json +++ b/tutorials/vFWDT/workflow/templates/cdt-templates/templates/action-template.json @@ -6,4 +6,4 @@ "artifact-type": "APPC-CONFIG", "artifact-version": "0.0.1", "artifact-contents": "{\r\n \"InventoryNames\": \"VM\",\r\n \"PlaybookName\": \"${book_name}\",\r\n \"AutoNodeList\": True,\r\n \"EnvParameters\": {\r\n \"ConfigFileName\": \"../traffic_distribution_config.json\",\r\n \"vnf_instance\": \"vfwdt\",\r\n },\r\n \"FileParameters\": {\r\n \"traffic_distribution_config.json\": \"${file_parameter_content}\"\r\n },\r\n \"Timeout\": 3600\r\n}" -} \ No newline at end of file +} diff --git a/tutorials/vFWDT/workflow/templates/cdt-templates/templates/all-actions-content.json b/tutorials/vFWDT/workflow/templates/cdt-templates/templates/all-actions-content.json index 4269f0e1..765e0b1e 100755 --- a/tutorials/vFWDT/workflow/templates/cdt-templates/templates/all-actions-content.json +++ b/tutorials/vFWDT/workflow/templates/cdt-templates/templates/all-actions-content.json @@ -74,4 +74,4 @@ "scopeType": "vnf-type" } ] -} \ No newline at end of file +} diff --git a/tutorials/vFWDT/workflow/templates/cdt-templates/templates/reference-all-actions.json b/tutorials/vFWDT/workflow/templates/cdt-templates/templates/reference-all-actions.json index c99112ae..21c51733 100755 --- a/tutorials/vFWDT/workflow/templates/cdt-templates/templates/reference-all-actions.json +++ b/tutorials/vFWDT/workflow/templates/cdt-templates/templates/reference-all-actions.json @@ -6,4 +6,4 @@ "artifact-type": "APPC-CONFIG", "artifact-version": "0.1", "artifact-contents": "{\"reference_data\":[{\"action\":\"DistributeTraffic\",\"action-level\":\"vnf\",\"scope\":{\"vnf-type\":\"vFWDT 2020-02-03 14:40:/vFWDT_vPKG 81793128-bca7 0\",\"vnfc-type-list\":[],\"vnfc-type\":\"\"},\"template\":\"Y\",\"vm\":[],\"device-protocol\":\"ANSIBLE\",\"user-name\":\"admin\",\"port-number\":\"8000\",\"artifact-list\":[{\"artifact-name\":\"template_DistributeTraffic_vFWDT2020-02-0314:40:_vFWDT_vPKG81793128-bca70_0.0.1V.json\",\"artifact-type\":\"config_template\"},{\"artifact-name\":\"pd_DistributeTraffic_vFWDT2020-02-0314:40:_vFWDT_vPKG81793128-bca70_0.0.1V.yaml\",\"artifact-type\":\"parameter_definitions\"},{\"artifact-name\":\"param_DistributeTraffic_vFWDT2020-02-0314:40:_vFWDT_vPKG81793128-bca70_0.0.1V.json\",\"artifact-type\":\"param_values\"}],\"scopeType\":\"vnf-type\"},{\"action\":\"AllAction\",\"action-level\":\"vnf\",\"scope\":{\"vnf-type\":\"vFWDT 2020-02-03 14:40:/vFWDT_vPKG 81793128-bca7 0\",\"vnfc-type-list\":[],\"vnfc-type\":\"\"},\"artifact-list\":[{\"artifact-name\":\"reference_AllAction_vFWDT2020-02-0314:40:_vFWDT_vPKG81793128-bca70_0.0.1V.json\",\"artifact-type\":\"reference_template\"}]},{\"action\":\"DistributeTrafficCheck\",\"action-level\":\"vnf\",\"scope\":{\"vnf-type\":\"vFWDT 2020-02-03 14:40:/vFWDT_vPKG 81793128-bca7 0\",\"vnfc-type-list\":[],\"vnfc-type\":\"\"},\"template\":\"Y\",\"vm\":[],\"device-protocol\":\"ANSIBLE\",\"user-name\":\"admin\",\"port-number\":\"8000\",\"artifact-list\":[{\"artifact-name\":\"template_DistributeTrafficCheck_vFWDT2020-02-0314:40:_vFWDT_vPKG81793128-bca70_0.0.1V.json\",\"artifact-type\":\"config_template\"},{\"artifact-name\":\"pd_DistributeTrafficCheck_vFWDT2020-02-0314:40:_vFWDT_vPKG81793128-bca70_0.0.1V.yaml\",\"artifact-type\":\"parameter_definitions\"},{\"artifact-name\":\"param_DistributeTrafficCheck_vFWDT2020-02-0314:40:_vFWDT_vPKG81793128-bca70_0.0.1V.json\",\"artifact-type\":\"param_values\"}],\"scopeType\":\"vnf-type\"}]}" -} \ No newline at end of file +} diff --git a/tutorials/vFWDT/workflow/templates/cdt-templates/templates/traffic-params-list.json b/tutorials/vFWDT/workflow/templates/cdt-templates/templates/traffic-params-list.json index a0104861..1f364fed 100755 --- a/tutorials/vFWDT/workflow/templates/cdt-templates/templates/traffic-params-list.json +++ b/tutorials/vFWDT/workflow/templates/cdt-templates/templates/traffic-params-list.json @@ -6,4 +6,4 @@ "artifact-type": "APPC-CONFIG", "artifact-version": "0.0.1", "artifact-contents": "[{\"book_name\":\"\",\"file_parameter_content\":\"\"}]" -} \ No newline at end of file +} diff --git a/tutorials/vFWDT/workflow/templates/cdt-templates/templates/traffic-params.json b/tutorials/vFWDT/workflow/templates/cdt-templates/templates/traffic-params.json index 1824592f..737e182e 100755 --- a/tutorials/vFWDT/workflow/templates/cdt-templates/templates/traffic-params.json +++ b/tutorials/vFWDT/workflow/templates/cdt-templates/templates/traffic-params.json @@ -6,4 +6,4 @@ "artifact-type": "APPC-CONFIG", "artifact-version": "0.0.1", "artifact-contents": "---\nkind: \"Property Definition\"\nversion: V1\nvnf-parameter-list:\n- name: book_name\n type: null\n description: null\n required: null\n default: null\n source: Manual\n rule-type: null\n request-keys: null\n response-keys: null\n- name: file_parameter_content\n type: null\n description: null\n required: null\n default: null\n source: Manual\n rule-type: null\n request-keys: null\n response-keys: null\n" -} \ No newline at end of file +} diff --git a/tutorials/vFWDT/workflow/templates/cdt-templates/templates/upgrade-params-list.json b/tutorials/vFWDT/workflow/templates/cdt-templates/templates/upgrade-params-list.json index 5d029269..b3b30163 100755 --- a/tutorials/vFWDT/workflow/templates/cdt-templates/templates/upgrade-params-list.json +++ b/tutorials/vFWDT/workflow/templates/cdt-templates/templates/upgrade-params-list.json @@ -6,4 +6,4 @@ "artifact-type": "APPC-CONFIG", "artifact-version": "0.0.1", "artifact-contents": "[{\"book_name\":\"\",\"new-software-version\":\"\",\"existing-software-version\":\"\",\"file_parameter_content\":\"\"}]" -} \ No newline at end of file +} diff --git a/tutorials/vFWDT/workflow/templates/cdt-templates/templates/upgrade-params.json b/tutorials/vFWDT/workflow/templates/cdt-templates/templates/upgrade-params.json index cf656f37..968d9658 100755 --- a/tutorials/vFWDT/workflow/templates/cdt-templates/templates/upgrade-params.json +++ b/tutorials/vFWDT/workflow/templates/cdt-templates/templates/upgrade-params.json @@ -6,4 +6,4 @@ "artifact-type": "APPC-CONFIG", "artifact-version": "0.0.1", "artifact-contents": "---\nkind: \"Property Definition\"\nversion: V1\nvnf-parameter-list:\n- name: book_name\n type: null\n description: null\n required: null\n default: null\n source: Manual\n rule-type: null\n request-keys: null\n response-keys: null\n- name: new-software-version\n type: null\n description: null\n required: null\n default: null\n source: Manual\n rule-type: null\n request-keys: null\n response-keys: null\n- name: existing-software-version\n type: null\n description: null\n required: null\n default: null\n source: Manual\n rule-type: null\n request-keys: null\n response-keys: null\n- name: file_parameter_content\n type: null\n description: null\n required: null\n default: null\n source: Manual\n rule-type: null\n request-keys: null\n response-keys: null\n" -} \ No newline at end of file +} diff --git a/tutorials/vFWDT/workflow/templates/cdt-templates/vfw-sink/traffic.json b/tutorials/vFWDT/workflow/templates/cdt-templates/vfw-sink/traffic.json index 404cd2f5..b249032b 100755 --- a/tutorials/vFWDT/workflow/templates/cdt-templates/vfw-sink/traffic.json +++ b/tutorials/vFWDT/workflow/templates/cdt-templates/vfw-sink/traffic.json @@ -10,4 +10,4 @@ "traffic_distribution_config.json": "${()=(file_parameter_content)}" }, "Timeout": 3600 -} \ No newline at end of file +} diff --git a/tutorials/vFWDT/workflow/templates/cdt-templates/vfw-sink/upgrade.json b/tutorials/vFWDT/workflow/templates/cdt-templates/vfw-sink/upgrade.json index 49c64d0e..c875f285 100755 --- a/tutorials/vFWDT/workflow/templates/cdt-templates/vfw-sink/upgrade.json +++ b/tutorials/vFWDT/workflow/templates/cdt-templates/vfw-sink/upgrade.json @@ -12,4 +12,4 @@ "config.json": "${()=(file_parameter_content)}" }, "Timeout": 3600 -} \ No newline at end of file +} diff --git a/tutorials/vFWDT/workflow/templates/cdt-templates/vpgn/traffic.json b/tutorials/vFWDT/workflow/templates/cdt-templates/vpgn/traffic.json index 404cd2f5..b249032b 100755 --- a/tutorials/vFWDT/workflow/templates/cdt-templates/vpgn/traffic.json +++ b/tutorials/vFWDT/workflow/templates/cdt-templates/vpgn/traffic.json @@ -10,4 +10,4 @@ "traffic_distribution_config.json": "${()=(file_parameter_content)}" }, "Timeout": 3600 -} \ No newline at end of file +} -- cgit 1.2.3-korg