diff options
author | tb2541onap <tb2541@att.com> | 2018-09-17 14:46:02 -0400 |
---|---|---|
committer | tb2541onap <tb2541@att.com> | 2018-10-04 13:42:56 -0400 |
commit | 91a44d2ce8398f0fd98e520933df605b00f80eee (patch) | |
tree | 1f151f693527c0b315b04fed18fc3e98dcc72915 /dcae-cli/dcae_cli/catalog/mock | |
parent | 2de95edebaa92072aa857ca70961cd7bdaf7a77d (diff) |
Policy Reconfiguration, Component Spec, Help text
Added Policy Reconfiguration support
Updates to the Help text that is displayed to the user
Issue-ID: DCAEGEN2-576
Change-Id: I12bf40b24d607fca33e321da8c9ba7fea2f200cd
Signed-off-by: tb2541onap <tb2541@att.com>
Diffstat (limited to 'dcae-cli/dcae_cli/catalog/mock')
-rw-r--r-- | dcae-cli/dcae_cli/catalog/mock/tests/test_mock_catalog.py | 10 | ||||
-rw-r--r-- | dcae-cli/dcae_cli/catalog/mock/tests/test_schema.py | 5 |
2 files changed, 12 insertions, 3 deletions
diff --git a/dcae-cli/dcae_cli/catalog/mock/tests/test_mock_catalog.py b/dcae-cli/dcae_cli/catalog/mock/tests/test_mock_catalog.py index 98b7c54..0859c44 100644 --- a/dcae-cli/dcae_cli/catalog/mock/tests/test_mock_catalog.py +++ b/dcae-cli/dcae_cli/catalog/mock/tests/test_mock_catalog.py @@ -58,10 +58,16 @@ _c1_spec = {'self': {'name': 'std.comp_one', 'route': '/prov1'}]}, 'parameters': [{"name": "foo", "value": 1, - "description": "the foo thing"}, + "description": "the foo thing", + "designer_editable": False, + "sourced_at_deployment": False, + "policy_editable": False}, {"name": "bar", "value": 2, - "description": "the bar thing"} + "description": "the bar thing", + "designer_editable": False, + "sourced_at_deployment": False, + "policy_editable": False} ], 'artifacts': [{ "uri": "foo-image", "type": "docker image" }], 'auxilary': { diff --git a/dcae-cli/dcae_cli/catalog/mock/tests/test_schema.py b/dcae-cli/dcae_cli/catalog/mock/tests/test_schema.py index 1ac176b..90674d9 100644 --- a/dcae-cli/dcae_cli/catalog/mock/tests/test_schema.py +++ b/dcae-cli/dcae_cli/catalog/mock/tests/test_schema.py @@ -110,7 +110,10 @@ component_test = r''' { "name": "threshold", "value": 0.75, - "description": "Probability threshold to exceed to be anomalous" + "description": "Probability threshold to exceed to be anomalous", + "designer_editable": false, + "sourced_at_deployment": false, + "policy_editable": false } ], "artifacts": [ |