aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/resources/clds/camel/rest/clamp-api-v2.xml
AgeCommit message (Collapse)AuthorFilesLines
2020-04-23Merge "Fix refresh action"Christophe Closset1-2/+6
2020-04-23Fix refresh actionsebdet1-2/+6
Fix the refresh action so that it well retriggered cds call when required, otherwise the refresh button is useless + get out the cds code from service installer Issue-ID: CLAMP-818 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Ia5784d75e1bd158ff775674fe6bf0c2c39b55ad4
2020-04-22Guard policy clean upxuegao1-46/+3
Remove guard policy related code, so that it will not be shown or created in the legacy policy UI. Issue-ID: CLAMP-825 Change-Id: I6c654fef9fd9df810fd48600c91ffef96db371cd Signed-off-by: xuegao <xg353y@intl.att.com>
2020-04-20Fix the get statussebdet1-13/+8
The policy status goes to unknown because the status code returned is not good in some cases (failure with dcae comm) Issue-ID: CLAMP-827 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Iae189f62b4c7061949ffd4c842465bf5e379b669
2020-04-16Remove policy from PEF when removing op policysebdet1-2/+16
The operational policy must be removed from the PEF when the user remove an operational policy (at least attempt to purge the PEF) Issue-ID: CLAMP-824 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I442c0890c391d43e8fcbdb89189d6ad2581db3af
2020-04-08Update delete loop flowxuegao1-23/+37
Updating the delete loop flow. Issue-ID: CLAMP-816 Change-Id: I9ad5001b00f5f92a8ecc1f84379ee0e8ae2d196b Signed-off-by: xuegao <xg353y@intl.att.com>
2020-04-01Rework the logssebdet1-111/+324
Rework the logs so that it's easier to debug the issues on a lab Issue-ID: CLAMP-804 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I9cff98205c2135a759e7e6156ab39f8af8129927
2020-03-16Rework the policy refreshsebdet1-9/+44
Rework the policy refresh for the new unique dialog policyModel Issue-ID: CLAMP-578 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Ie8c91223e92c1e344d7ead5784ffea33d4f6a00f
2020-03-13Add remove op policy optionxuegao1-0/+30
Update the UI and backend code to be able to remove op policy for loop instances. Issue-ID: CLAMP-648 Change-Id: Ib3eab4977fe4f1b85e11f2373263197009bbc3e1 Signed-off-by: xuegao <xg353y@intl.att.com>
2020-03-04Change json representation in op policysebdet1-25/+30
Change the json generation for an operational policy instance and update all emulator response for all policy types Issue-ID: CLAMP-653 Change-Id: I68525be3d5bfbf5dd7a4bcf6d59853df07fd4dd9 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2020-03-02Merge "Upload Tosca Model changes to remove policy model type parsing from ↵Sébastien Determe1-4/+3
UI. Dictionary API fix to allow bulk create or update of dictionary elements."
2020-02-27Fix bug in operational policysebdet1-23/+10
Fix bugs in camel routes and operational policy due to changes done for op policy insertion/removal Issue-ID: CLAMP-647 Change-Id: I68524bd3d5bfbf5dd7a4bcf6d59853df07fd4dd9 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2020-02-27Upload Tosca Model changes to remove policy model type parsing from UI.Ashwin Sharma1-4/+3
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-27Standardize loop controllersebdet1-2/+2
Make all calls from camel to loop controller instead of the service to make things consistent. Issue-ID: CLAMP-647 Change-Id: I68524bd3d5bfbf5dd7a4acf6c59823df06fd4cd9 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2020-02-27Add Create loop dialogsebdet1-1/+58
Add create loop dialog and backend part associated (this is based on this PR https://gerrit.onap.org/r/c/clamp/+/102156) Issue-ID: CLAMP-587 Change-Id: I58524bc2d5bfbf5ca5a3acf5c59823df06fd4cd9 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2020-02-25Simplify the user managementsebdet1-0/+5
Simplify the user management and fix a bug in the server, crashing when no user are logged and an operation is requested, and also previous user still stored in the securitycontext when admin is logged (due to static variable) Issue-ID: CLAMP-651 Change-Id: I57523bc2c3afaf5ca5a3acf5c59823df06fd4cd9 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2020-02-25Modify the Uisebdet1-12/+91
Modify the Ui to have a modify option in the menu so that the user can tune the loop instance Issue-ID: CLAMP-648 Change-Id: I57523bc1c3afaf5ca5a2acf5c59823df06fd4cd9 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2020-02-14Changes include Metadata support, Upload tosca policy model and Loop Templateash742681-159/+475
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-01-06Add refresh op policy json apixuegao1-0/+42
Add the new api to refresh the operational policy json representation values. Issue-ID: CLAMP-585 Change-Id: I8c494f8d5f7ee8672f054444c368fdb396fb208f Signed-off-by: xuegao <xg353y@intl.att.com>
2019-09-10Repair healthchecksebdet1-1/+1
HealthCheck was always returning 200 even if the db was not up and running Issue-ID: CLAMP-494 Change-Id: I85aa427a212c6cde568d3863d1ab1a1a11c71f16 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-06-13Bring all fixessebdet1-14/+18
Bring all fixes from Dublin, but the code has slightly changed on master Issue-ID: CLAMP-410 Change-Id: Ieca7b8e9b180f46f2c30f848454405f3a504bfdd Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-06-05Rework the loop statesebdet1-49/+15
Rework the state loop so there is no bug in the loop state anymore, now the components are scanned + upgrade to 4.0.4 Issue-ID: CLAMP-384 Change-Id: If7649238ee52864c84bfb9b6b8471d1738752e29 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-05-29Open DCAE deployment in all casesDeterme, Sebastien (sd378r)1-2/+3
Let the user deploys his micro service on DCAE even if policy check returns 4XX Issue-ID: CLAMP-399 Change-Id: Ib38eb33c9692fcc2cea6e2c655be82f48d4046af Signed-off-by: Determe, Sebastien (sd378r) <sebastien.determe@intl.att.com>
2019-05-13Improve the logs in uisebdet1-21/+37
Make log more consistent for the UI Issue-ID: CLAMP-381 Change-Id: I17dcbe04b3ecdf8d31db708f38931991e80e0b0f Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-05-13Fix the camel flowsebdet1-9/+9
Fix the bad log calls done during start/stop actions that led to crash Issue-ID: CLAMP-379 Change-Id: Ia68c6e96ac8c8771d289d22dcfee6730425ba992 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-05-09Add more DCAE state for undeploysebdet1-2/+2
Add IN_ERROR/PROCESSING in accepted state for dcae undeploy Issue-ID: CLAMP-376 Change-Id: I3aed42bcc437399a2be7298f5fae0f7380ccae30 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-05-09Generate Random UUID for DCAEsebdet1-2/+2
Generate random UUI for DCAE deployment during deploy action Issue-ID: CLAMP-376 Change-Id: Idfc1959891738f0142d2c20e1f43f1ad45d8eaa7 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-05-09Merge "Fix the loop log issue"Sébastien Determe1-2/+4
2019-05-09Fix the loop log issuexg353y1-2/+4
Fix the issue where loop log doesn't refresh in UI on time; update the Refresh Status menu to point to the correct url Issue-ID: CLAMP-360 Change-Id: I65064e8f3fe16beea4cb397f66d8e871db17f77d Signed-off-by: xg353y <xg353y@intl.att.com>
2019-05-08Fix flows and error catchingsebdet1-29/+28
Fix flows, remove getLoop at the end and add better error catching in camel flows Issue-ID: CLAMP-369 Change-Id: I473d63d9189daf69e1e4e6d025f06ac586a9f2ab Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-05-03Merge "Fix log reporting"Christophe Closset1-4/+4
2019-05-03Fix log reportingsebdet1-4/+4
Fix loop log reported in UI, in case of failure it's not working correclty Issue-ID: CLAMP-360 Change-Id: I4533c650134b254619523d8c9cfe2791e9b6584b Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-05-03Fix the bugs in loop state logicxg353y1-18/+7
Fix the bugs in the logic to get the loop state Issue-ID: CLAMP-362 Change-Id: I9d931f1a1ceed3d9e173b3ee742f8e349b7e653f Signed-off-by: xg353y <xg353y@intl.att.com>
2019-04-30Fix the get loop state logicxg353y1-2/+112
Fix the logic to get the loop state and update the CL deploy/undeploy flow accordingly Issue-ID: CLAMP-362 Change-Id: I34f83bd241b1029417453908bf932c0b69f9f5b2 Signed-off-by: xg353y <xg353y@intl.att.com>
2019-04-26Rework the loggingsebdet1-194/+71
Rework the logging of the policy calls so it's easier to debug it Issue-ID: CLAMP-357 Change-Id: I0ad955de05fef45c4eaae3a6770baefe8e7f0a1f Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-04-25Fix policy callssebdet1-267/+305
Fix policy calls so that the url is now right + update camel version to latest Issue-ID: CLAMP-357 Change-Id: Iffc83f53eb2361d7551b43b28c8e822fbf38c619 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-04-23Fix logging issuesxg353y1-181/+485
Fix the logging issues created by the api defined by camel. Adding the entering/exiting and invoking/invoking return logs as based on the ONAP Logging Requirement. Issue-ID: CLAMP-351 Change-Id: I5cb314ade5a716993206a917dfdbdab3f2572b3a Signed-off-by: xg353y <xg353y@intl.att.com>
2019-04-11Add Start/stop routessebdet1-0/+42
Add Start/stop routes for policy control, it's obviously working the PDP group Issue-ID: CLAMP-303 Change-Id: I16cafa46ee39b6114af9b36f7382b7c2401edaf1 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-04-11Add pdp groupsebdet1-34/+39
Add pdp group code to add/remove policies from active PDP group Issue-ID: CLAMP-303 Change-Id: I3fcffd229bc7703231b813948aac14ce63437127 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-04-10Add delete supportsebdet1-15/+74
Move delete code to Camel way so that it's more flexible + introduce removal of the loop + test Issue-ID: CLAMP-315 Change-Id: I7df87e1441d4511ad6b42d0d269c3b2c8c7d8eef Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-04-09PDP Group supportsebdet1-1/+10
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-09Add logssebdet1-0/+2
Add logs entries in loop database so that we can track what is going on Issue-ID: CLAMP-303 Change-Id: If69e3ebbb9f96e4bc3a95b06e61eaa301bd32007 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-04-08Create submit routesebdet1-17/+64
Create required components for Submit route in camel + unit tests + Policy payload generation + emulator feature for new policy api Issue-ID: CLAMP-303 Change-Id: If9033cfa3f4e346e2cbd7f891baff1f2c04a40a2 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-04-05Introduce Camel routesebdet1-91/+144
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-03-28Rework the submit operationxg353y1-0/+18
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-22Rework the deploy/undeploy methodxg353y1-10/+28
Create the camle box for depoy/undeploy closed loop with the new loop data model Issue-ID: CLAMP-334 Change-Id: Ica77163877c30b31efc37ab489b3810fe1251012 Signed-off-by: xg353y <xg353y@intl.att.com>
2019-03-14Rework UIxg353y1-4/+4
Rework UI to cooperate with the new data model Issue-ID: CLAMP-318 Change-Id: I1266c350e7604d29ff86da7c7584c74ad1f8715a Signed-off-by: xg353y <xg353y@intl.att.com>
2019-03-13Merge "Add updateGlobalPropertiesJson controller"Adam Krysiak1-6/+7
2019-03-12Merge "Rework authorization controller "Sébastien Determe1-8/+16
2019-03-12Add updateGlobalPropertiesJson controllermichal.banka1-6/+7
Change-Id: I83d474a3616462cdb0cc31eadae3a189dd275683 Issue-ID: CLAMP-301 Signed-off-by: michal.banka <michal.banka@nokia.com>