summaryrefslogtreecommitdiffstats
path: root/src/test/resources/tosca
AgeCommit message (Collapse)AuthorFilesLines
2020-02-27Upload Tosca Model changes to remove policy model type parsing from UI.Ashwin Sharma1-0/+162
Dictionary API fix to allow bulk create or update of dictionary elements. Issue-ID: CLAMP-656 Change-Id: I6a0a36a6be40a098d917c45462872d31b7f47dd2 Signed-off-by: Ashwin Sharma <ashwin.shyam.sharma@att.com>
2020-02-14Changes include Metadata support, Upload tosca policy model and Loop Templateash742682-0/+419
CLAMP Metadata support to parse policy_model_type, acronym and clamp_possible_values from the Tosca Policy Model UI and Backend changes to support Loop Template Backend APIs for Dictionary referenced in the Tosca Policy Model. Upload Tosca Model UI changes to allow user to upload policy models. DB Schema changes for the Loop Element Model and updated schema for the Dictionary Added Jest test cases and snapshots checkstyle issues fix and Junits Issue-ID: CLAMP-580 Signed-off-by: ash74268 <ashwin.shyam.sharma@att.com> Change-Id: I57521bc1c3afaf4ca5a2acf4c59823df05fd4cd6 Signed-off-by: ash74268 <ashwin.shyam.sharma@att.com>
2020-02-10Get policy in CsarInstallersebdet1-170/+0
Get the policies on the PEF engine when installing the CSAR (if needed) Issue-ID: CLAMP-518 Change-Id: I2cca157821c22ef63dc748984140287667cc4663 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2020-01-16Fix checkstyle issuesebdet1-130/+0
Fix checkstyle issues and remove useless files Issue-ID: CLAMP-555 Change-Id: I02382ed48d7321b0a6b8650efbf7663f943f17ba Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-12-18Move jsonRepresentationxuegao1-574/+0
Move the storage of jsonRepresentation to OperationalPolicy level Issue-ID: CLAMP-582 Change-Id: Id555ebc1f2f04468f7bf0ffd813de7732bcee97f Signed-off-by: xuegao <xg353y@intl.att.com>
2019-11-18Create Service objectxuegao4-10/+815
User Service object to store loop service and resource realted info. Issue-ID: CLAMP-545 Change-Id: I0df6f5d43d7e0575346e02a27bca5c0b5ecdb0a0 Signed-off-by: xuegao <xg353y@intl.att.com>
2019-09-25Improve unit test coverage of ToscaYamlToJsonConvertorVidyashree Rama4-0/+288
Improve unit test coverage of ToscaYamlToJsonConvertor Change-Id: Ia5dc07288b878ac62d74313032ba2b4ee69f9c2e Issue-ID: CLAMP-510 Signed-off-by: Vidyashree Rama <vidyashree.rama@huawei.com>
2019-09-06Fix legacy policy payloadsebdet2-2/+1
Ensure payload attribute is well not present if defined as an empty string Issue-ID: CLAMP-484 Change-Id: If6d558c009dd695bfd5f83cf0d50800e12026121 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-08-19Draft of op policysebdet8-143/+737
First draft of the Operational policy based on JsonEditor, it's a wip code Issue-ID: CLAMP-430 Change-Id: I2c7970e94488f4020377fd9d4d00691a3590b13e Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-05-28Fix target TypeDeterme, Sebastien (sd378r)1-1/+1
Fix target type must be VFMODULE instead of VFModule Issue-ID: CLAMP-395 Change-Id: Ie34422985a13a1f2bc29fb06aceafb3994d2140a Signed-off-by: Determe, Sebastien (sd378r) <sebastien.determe@intl.att.com>
2019-05-28Fix the op policy payloadDeterme, Sebastien (sd378r)4-28/+55
Fix the operational policy payload as it was not the one expected by policy engine + rollback staging plugin Issue-ID: CLAMP-395 Change-Id: I7b690eb02f50617b7aa402266c13aafa82f5b59b Signed-off-by: Determe, Sebastien (sd378r) <sebastien.determe@intl.att.com>
2019-05-24Fix op policy payloadDeterme, Sebastien (sd378r)2-1/+24
The payload should contain a different content value, not the entire yaml Issue-ID: CLAMP-395 Change-Id: I7311caffed554f3c97ef7e07c729266a4fe30940 Signed-off-by: Determe, Sebastien (sd378r) <sebastien.determe@intl.att.com>
2019-05-06Fix Guard policy payloadsebdet3-26/+26
Change the guard policy payload as some field were not correct Issue-ID: CLAMP-367 Change-Id: I3f6f200d736e8b3d890ec105849ff0e4506b1510 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-05-02Rework the Model Jsonsebdet1-0/+123
Rework the model Json returned by the backend to the UI Issue-ID: CLAMP-365 Change-Id: I8b4e24292d62140b4b2e105d8b18042f84e1fd38 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-04-26Change Yaml to Json payloadsebdet1-0/+4
Change the operational policy payload from Yaml to a JSon, yaml being embedded as URLEncoded Issue-ID: CLAMP-359 Change-Id: I8c97bb155e6136ce37c29a65a7d9d85e21fedd61 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-04-25Rework code for policy typesebdet2-2/+2
Rework unit tests + test resources and code for policy type renaming Issue-ID: CLAMP-356 Change-Id: Id64c620b42347d6f5535523f33a0a04a54a60fa2 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-04-09PDP Group supportsebdet1-0/+16
Add support to push all policies to pdp group + log Issue-ID: CLAMP-303 Change-Id: Ie53b1dfd11ef8db9c2b5ccca0511e6f6343fb70a Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-04-09Fix guard payloadsebdet1-0/+35
Fix guard payload nullpointerException when guard list is empty or null Issue-ID: CLAMP-303 Change-Id: I6f714a877036cbc531dd35505202dde227cc224a Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-04-05Introduce Camel routesebdet4-0/+134
Camel route for Submit operation using http4 component Issue-ID: CLAMP-303 Change-Id: I29804a7db6286dfa84f7eed63813f25299a385e6 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-04-05LoopLog repositorysebdet2-0/+64
Introduction of the loop log repo + refactoring Issue-ID: CLAMP-303 Change-Id: I3e806993d35f82fd9258e55592391a48eb7e199f Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-03-19Fix tosca parsersebdet1-1/+1
Fix the parser so that we support the new tosca policy discussed Issue-ID: CLAMP-186 Change-Id: I3051dddf749f1969f8b1d12d726c65f6aad48d51 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-03-15Fix policy Tosca convertersebdet2-78/+348
Fix converter so that it can understand the new Policy Yaml model Issue-ID: CLAMP-306 Change-Id: I4d2f8640b2344e7ceee2cfec2d7e3175777f591b Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-02-06Replace jackson usages with GSONKrysiak Adam1-0/+170
Issue-ID: CLAMP-286 Change-Id: I3492811e248cbcf502656a992cea4f76deed46dc Signed-off-by: Krysiak Adam <adam.krysiak@nokia.com>
2018-12-05Additional code for Toscasebdet2-0/+160
Tosca code for policy dynamic configuration Issue-ID: CLAMP-252,CLAMP-251 Change-Id: Icd96f833567050c1dd4730a61765507ad24ebd2e Signed-off-by: sebdet <sebastien.determe@intl.att.com>