aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/resources/clds
AgeCommit message (Collapse)AuthorFilesLines
2021-05-13Modular structure of clamp including controlloopSirisha_Manchikanti29-930/+0
This commit is the first commit that puts in multi module structure while changing the existing CLAMP code as little as possible. It adds a structure where common, models, participant and runtime are direct children under clamp, and current clamp code is moved under runtime. This runtime directory will host controlloop runtime code in later commits. Issue-ID: POLICY-3215 Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech> Change-Id: I15bc8be92ed020343bff4024c4718fec462c40d7 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-04-22Update socketTimeoutsebdet1-2/+2
Update socketTimeout for DCAE deployment command, this has been changed during the camel&Spring upgrades + adding enc: to sdc password to verify that it works well Issue-ID: POLICY-3169 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Ia19f5eb372c2e383d67be48d62c1a355560ab889
2021-04-21Fix Sonar Crypto issuessebdet2-24/+27
Fix this problem by removing the CryptoUtils that could be replaced by AAF cadi call (this was already in place in the code). The OOM sdc controller password will have to be modified as well. Issue-ID: POLICY-3201 Issue-ID: POLICY-3200 Change-Id: I6dfd9abb691afb3548d4e68c8759351ad02a30da Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2021-01-25Policy list and Pdpgroup merger codesebdet1-0/+215
Draft code of the policy list/pdpgroup merger + tests, this code will most likely be called by a camel Rest route and the answer will be returned to the client/ui. The policies listing is enriched with new fields pdp group info, like: 1. In which Pdp group/Subgroup the policy is currently deployed 2. What are the potential pdpgroups/subgroups where the policy can be deployed These info will be shown in the policy clamp UI to the user. Also some refactoring has been done for the sake of clarity. Issue-ID: POLICY-2924 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Iba1ab6fea90735551d7d2e2bbff9ab2efdee093e Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2020-05-27Create SVG in UIsebdet4-812/+0
Remove the SVG generation from the backend and put it in the UI. Backend removal code + clean up of test resources Issue-ID: CLAMP-854 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Ie9d6cd20f0135b459dbc85901b9a66f65002a85c
2020-03-13Fix the new tosca convertersebdet1-984/+0
Fix the metadata section analysis and make the tosca parser more configurable (in applications.properties) Issue-ID: CLAMP-580 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I9068bd9dc89861c640660a7f78fae2cb70bdc178 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2020-02-14Changes include Metadata support, Upload tosca policy model and Loop Templateash742681-0/+984
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-14Add testssebdet7-2064/+0
Add tests for https and aaf Issue-ID: CLAMP-624 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Ia78ed8da7e54eaeaaed4fb87f483e0aff3a4a8c5
2020-02-13Fix deploy flow bugxuegao1-1/+1
Fix the bug in the deploy flow for multi blueprint cases. Issue-ID: CLAMP-571 Change-Id: I368cefafcba34a8ba3bd6be1eb22064995364d23 Signed-off-by: xuegao <xg353y@intl.att.com>
2020-02-11Add policy downloadersebdet1-2/+2
Add policy downloader to sync all policy types in the database Issue-ID: CLAMP-518 Change-Id: I5ab82970cd3403e46fe7cc8447766977b11b68e7 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2020-02-10Get policy in CsarInstallersebdet9-927/+805
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-02-10Update get Dcae Status flowxuegao2-40/+90
Update the flow to get Dcae Status, supporting multiple blue print. Issue-ID: CLAMP-590 Change-Id: I6a05a40d4879082413d3ed83159467ea616c5d37 Signed-off-by: xuegao <xg353y@intl.att.com>
2020-01-30Merge "Add a unit test"Xue Gao1-0/+46
2020-01-30Update undeploy-loop flowxuegao1-85/+106
Update the undploy-loop flow to support the multiple blueprint deployment Issue-ID: CLAMP-627 Change-Id: Ic4187179e2ef2f574f8cc836eebc3608b8aee899 Signed-off-by: xuegao <xg353y@intl.att.com>
2020-01-30Merge "Update deploy-loop route"Sébastien Determe1-1/+183
2020-01-30Update deploy-loop routexuegao1-1/+183
Update deploy-loop to support multiple blueprint deployments Issue-ID: CLAMP-571 Change-Id: If98e9305c36a01f86a522db002174f92f6ff5996 Signed-off-by: xuegao <xg353y@intl.att.com>
2020-01-30Add a unit testsebdet1-0/+46
Add a test on Blueprint parser to validate a specific case Issue-ID: CLAMP-567 Change-Id: I2f0ed17bd8fd203b055fcb26614e747afcf85d9a Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2020-01-29Create a camel route that would retrieve all the DCAE blueprintsVidyashree-Huawei1-0/+43
Retreive all the DCAE blueprints and update DcaeInventoryCache Change-Id: Ia03a89c1871119a208094c014e5cb8aa8b4f71d3 Issue-ID: CLAMP-573 Signed-off-by: Vidyashree-Huawei <vidyashree.rama@huawei.com>
2019-11-29Merge ssl passwordxuegao1-0/+27
Use the aaf encrypted ssl password fot server.ssl parameters Issue-ID: CLAMP-339 Change-Id: I8869bb527f2851c1d298cd03e45327791a8acfab Signed-off-by: xuegao <xg353y@intl.att.com>
2019-10-08DCAE inventory calls in camelsebdet7-61/+1632
Move the HTTP/HTTPS calls to camel so that there is no issue with the previous code that does not support the config required for HTTP4 Camel Issue-ID: CLAMP-532 Change-Id: I83db0da5bbe6906890d0d6aa9b529c264e5f9b20 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-08-19Draft of op policysebdet1-0/+52
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-09Fix model type searchingsebdet2-4/+4
Change the way we get the model type in the dcaeblueprint Issue-ID: CLAMP-370 Change-Id: I961a20e5d993049c73acd67b6cbfe245e1676dda Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-04-30Improve test coverage in UserJsonDecoderm.kowalski31-0/+1
Change-Id: I891e78720d47c015ab4f9e130f345797b0110d64 Issue-ID: CLAMP-348 Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com>
2019-03-28Rework the submit operationxg353y2-0/+8
Rework the logic to create/delete ms config policies. Issue-ID: CLAMP-303 Change-Id: I317e262ab68280a7518a6e31e82e5fcb0a7f94ed Signed-off-by: xg353y <xg353y@intl.att.com>
2019-03-11Convert modules and relations to SVGPiotr Darosz1-0/+6
Generate SVG image from modules chain and save it to DB. Change-Id: I0f0b065f82de9b4d2084ec51043f485401842e23 Issue-ID: CLAMP-284 Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
2019-03-08Extract modules names and relationsPiotr Darosz7-0/+459
Extract modules names and relations from DCAE_INVENTORY_BLUEPRINT Change-Id: Ia419b946e15f399d3c4e8c75f836fde6b4b3dbed Issue-ID: CLAMP-283 Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
2018-12-20Remove useless codesebdet1-5/+16
Remove code not used anymore + add tests to increase coverage Issue-ID: CLAMP-252 Change-Id: I7a1ec163f73fe88f62fe0981148087ea8f7b7341 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2018-12-05Additional code for Toscasebdet1-0/+50
Tosca code for policy dynamic configuration Issue-ID: CLAMP-252,CLAMP-251 Change-Id: Icd96f833567050c1dd4730a61765507ad24ebd2e Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2018-11-30Removal of useless stuffsebdet2-617/+0
Removal of useless files and configuration Issue-ID: CLAMP-252 Change-Id: If2c81708d4158404151740ba719fe2dd666c6152 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2018-11-02Fix Policy Yamlsebdet1-8/+10
Fix Policy Yaml generation, remove service and resource section + update the actor/recipe Issue-ID: CLAMP-243 Change-Id: Ia1adad6e653e7e85576858f2971f60f7903bfae2 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2018-06-06Minor ImprovementDeterme, Sebastien (sd378r)1-1/+0
Code rework postponed to Casablanca to not impact Bejing release + Update version to 3.0.0 Issue-ID: CLAMP-177 Change-Id: I3e2cb22c1158df0cf5d4cf8369f9c469004d68c0 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-05-30Add measureDeterme, Sebastien (sd378r)1-1/+2
Add measure for the TCA policy window Issue-ID: CLAMP-153 Change-Id: Ie035de0fbd5bc24f559696f463183bf1fe68aa02 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-05-14Config ChangesDeterme, Sebastien (sd378r)1-5/+6
Changes done to the Clamp Config file globalProperties.json for the operational policies Issue-ID: CLAMP-153 Change-Id: Id512fcdab0687495cbfb741097fc19dfc5545093 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-24Merge changes I09044986,Ib63b98f1,Ib974f943Eddy Hautot2-50/+1
* changes: Remove eNodeB Remove enodeB code Remove bad test
2018-04-24Remove eNodeB Determe, Sebastien (sd378r)2-50/+1
Remove eNodeB in the config files for UI and tests Issue-ID: CLAMP-153 Change-Id: I090449869e83220777387d58b37ebcd3d7dec101 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-19Merge "Fix CsarInstaller"Sébastien Determe2-2/+2
2018-04-19Fix CsarInstallerDeterme, Sebastien (sd378r)2-2/+2
Fix the CsarInstaller for policy input when deploying to DCAE, and fix UI so that default value is well displayed Issue-ID: CLAMP-153 Change-Id: I307d24782e6482590e709affe59bff84fb8a8526 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-17Rollback policy scopexg353y1-0/+1
Rollback the policy scope under configBody and set it to CLAMP Issue-ID: CLAMP-153 Change-Id: I2446839329d367ad031852a9c0a33f7b29741740 Signed-off-by: xg353y <xg353y@intl.att.com>
2018-04-16Set policy scopeDeterme, Sebastien (sd378r)3-5/+4
Change policy scope to CLAMP in policy code and tests Issue-ID: CLAMP-153 Change-Id: I4376e4d1d603033d0b3355d1115a21026d48beec Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-12Merge "Improve policy Config"Sébastien Determe1-37/+0
2018-04-11Improve policy ConfigDeterme, Sebastien (sd378r)1-37/+0
Improve the policy configuration file and merge it to application.properties so that all configurations are located at the same place Issue-ID: CLAMP-136 Change-Id: I5654bbe61d483a4061540959ed0b7dbb1242b022 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-06Update SDC libraryDeterme, Sebastien (sd378r)4-6/+9
Upgrade SDC library to latest and remove the message bus condition, it's now a mandatory parameter as well Issue-ID: CLAMP-149 Change-Id: I4c7ddcca6ac176380821bd8f1e4e3ef3d9fcea30 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-03New parameter Sdc controllerDeterme, Sebastien (sd378r)3-7/+21
There is a need to have that new parameter (message bus addresses) if the sdcAddress is not present Issue-ID: CLAMP-149 Change-Id: I336e7af6784a70b0b65c9610fc2e69e40126bdc0 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-03-28Add simulator cases for (un)deploy/stop + typoehautot1-1/+1
Change-Id: I0a3b8f1e812f6199c5a7fbbabd88c6c5ec4217cc Signed-off-by: ehautot <eh552t@intl.att.com> Issue-ID: CLAMP-111
2018-03-22Rework of the csarinstallerDeterme, Sebastien (sd378r)1-0/+2
Csarinstaller rework to save Template and Model to database Issue-ID: CLAMP-81 Change-Id: I5edf9716146975ed3751a93b78f5c9b0b9ff2af9 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-03-16CsarInstaller introductionDeterme, Sebastien (sd378r)5-0/+828
This class is introduced to decode/deploy the dcae blueprint from SDC and save it to database. This is done based on json templates. Some unit tests added Issue-ID: CLAMP-81 Change-Id: I3fac5f7ef41d77aa244414407111b9cb602b50bd Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-03-05Remove globalClds.propertiesDeterme, Sebastien (sd378r)1-0/+105
Remove the globalClds.properties and merge that to application.properties Issue-ID: CLAMP-136 Change-Id: I9c5bc8745b576ca8fad0cca3bff4c136329515d8 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-03-05Remove the clds-reference.propertiesDeterme, Sebastien (sd378r)1-109/+0
Remove clds-reference.properties and merge it into application.properties Issue-ID: CLAMP-136 Change-Id: I8dc6deffdca47dc50d1473ccbe9a94dc91d7d5d9 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-03-05Rework configurationDeterme, Sebastien (sd378r)12-13/+758
Move the JSON content from the properties file to json files for all configuration defined in clds-reference.properties Issue-ID: CLAMP-136 Change-Id: Idfb21be729d7260518756e5f585371de78d18944 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-03-01Add controller config codeDeterme, Sebastien (sd378r)3-0/+65
Add SDC config parser code for mutliple SDC client configurations + unit tests Issue-ID: CLAMP-81 Change-Id: Ia97007463c6baf40456f97d9627da8b0ed3f4e49 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>