summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2021-06-10Remove duplicate properties in clamp reporyanSheehan2-40/+13
Removes properties, dependency and plugin versioning duplication from dcae-participant and runtime, future reviews will handle other participants like kubernetes Issue-Id: POLICY-3308 Change-Id: I98f9a36e9f984766b469c862f3298ca9120657e4 Signed-off-by: ryanSheehan <ryansheehan.est@gmail.com>
2021-06-09Merge "Convert Policy Participant to SpringBoot Application"Ram Krishna Verma17-919/+317
2021-06-09Merge "Convert DCAE Participant to SpringBoot Application"Ram Krishna Verma27-1110/+611
2021-06-08Convert DCAE Participant to SpringBoot ApplicationFrancescoFioraEst27-1110/+611
Issue-ID: POLICY-3244 Change-Id: I64cef98a4b1a405160d533983baf7a860f1816f5 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2021-06-08Convert Policy Participant to SpringBoot ApplicationFrancescoFioraEst17-919/+317
Issue-ID: POLICY-3245 Change-Id: Iadacaba3b2a30c67adbe77b8b17debce2f2abb39 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2021-06-03Endpoint added to get Tosca Serivce Templatesaul.gill1-0/+68
Issue-Id: POLICY-3222 Change-Id: Ie95bce752019ccfe900205a11bfc28770a7017c9 Signed-off-by: saul.gill <saul.gill@est.tech>
2021-05-26Transfer tosca-poc onto masterliamfallon318-1/+45962
This is the third if three commits, this commit makes the content of the master branch the same as the tosca-poc branch. This commit adds the "src" files for TOSCA control loops to the modules in master. Difference between this commit and the current master: ------------------------------------------------------ diff -qr clamp clamp-master |diff_filter.sh Only in clamp/common: src Only in clamp/models: src Files clamp/participant/participant-impl/participant-impl-dcae/pom.xml and clamp-master/participant/participant-impl/participant-impl-dcae/pom.xml differ Only in clamp/participant/participant-impl/participant-impl-dcae: src Only in clamp/participant/participant-impl/participant-impl-policy: src Only in clamp/participant/participant-impl/participant-impl-simulator: src Files clamp/participant/participant-impl/pom.xml and clamp-master/participant/participant-impl/pom.xml differ Only in clamp/participant/participant-intermediary: src Files clamp/participant/pom.xml and clamp-master/participant/pom.xml differ Files clamp/pom.xml and clamp-master/pom.xml differ Files clamp/runtime/pom.xml and clamp-master/runtime/pom.xml differ Only in clamp: runtime-controlloop Difference between this commit and the current tosca-poc branch: ---------------------------------------------------------------- diff -qr clamp clamp-tp |diff_filter.sh Files clamp/INFO.yaml and clamp-tp/INFO.yaml differ Only in clamp/releases: 6.0.1-container.yaml Only in clamp/releases: 6.0.1.yaml Only in clamp/releases: 6.0.2-container.yaml Only in clamp/releases: 6.0.2.yaml Only in clamp/releases: 6.1.0-container.yaml Only in clamp/releases: 6.1.0.yaml Only in clamp/releases: 6.1.1-container.yaml Only in clamp/releases: 6.1.1.yaml Files clamp/runtime/src/main/resources/META-INF/resources/swagger.html and clamp-tp/runtime/src/main/resources/META-INF/resources/swagger.html differ Issue-ID: POLICY-3215 Change-Id: Ica1aa3fe5d6110df2396ea856703102e800fa770 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-05-13Modular structure of clamp including controlloopSirisha_Manchikanti471-2462/+3274
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-05-10Merge "Release Docker 6.1.1"S�bastien Determe1-0/+10
2021-05-10Release Docker 6.1.1sebdet1-0/+10
Release the dockers FE/BE for 6.1.1 Issue-ID: POLICY-3224 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Ifa429231cb613671a14943cd2b81916539998f22
2021-05-10Release Npm/jar 6.1.1sebdet1-0/+5
Release the jar and NPm pack for 6.1.1 Issue-ID: POLICY-3224 Change-Id: I537db55acb3bcc7c2c4b1962e434248b908eaccb Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2021-05-10Add envSubstsebdet1-0/+5
Add envsubst for OOM changes Issue-ID: POLICY-3224 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I3f0900c43ab34a985b0e1b0cf02647b0d7ad3ff3
2021-05-05Add Tests on UIsebdet26-75/+1368
Add some test to UI and fix errors reported by JEST during Ui tests Issue-ID: POLICY-3200 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I69e93ad1f1714fa60a0c7ea9b1f3fb691f089f8a Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2021-04-26Remove dead codesebdet17-8630/+4974
Remove dead code due to change done to add tosca file to PEF directly. Issue-ID: POLICY-3229 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I4e48fd5401e304b131406b739268134dd7e7997f Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2021-04-26Fix not refreshed Tosca listsebdet2-2/+3
The refresh must be don inside the asynchronous block to fix the refreshing of the tosca list Issue-ID: POLICY-3229 Change-Id: I89d4964b68d88e28bd8d0dfef19c2382d52fa7bf Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2021-04-23Merge "ToscaFileSelector"S�bastien Determe8-7/+190
2021-04-23Merge "Add Camel flows to create policy-type"S�bastien Determe2-0/+68
2021-04-23ToscaFileSelectorsebdet8-7/+190
The UI code that manages the tosca file selector that will be sent to clamp be + fix Rest Camel endpoint that always want ot convert http body to JSON (due to Camel upgrade) Issue-ID: POLICY-3229 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I6148276d4c527f29db904a76655055c19d4e2023
2021-04-22Bump up clamp to 6.1.1sebdet2-2/+2
Prepare release 6.1.1 Issue-ID: POLICY-3234 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Ic0e0d79af92f0df8992e20094514d9dee1638f4d
2021-04-22Add Camel flows to create policy-typesebdet2-0/+68
Add the required camel flows to create a policy type in the clamp BE Issue-ID: POLICY-3228 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I5c89823eb5f3f0e369fae5b27a803cb509cef128
2021-04-22Release docker 6.1.0sebdet1-0/+10
Release the docker images for 6.1.0 Issue-ID: POLICY-3224 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I961916020d5878b0a4dd029cf189d031d5a3f776
2021-04-22Release jar/npm 6.1.0sebdet1-0/+5
Release the jar/npm pack for 6.1.0 Issue-ID: POLICY-3224 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I92046dc74af3119d1fae68179e55ff5b66efada8
2021-04-22Update socketTimeoutsebdet3-4/+4
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-22Remove strong copy left depsebdet1-0/+12
Remove dependency not used in clamp that are reported Strong copy left in Nexus-IQ Issue-ID: POLICY-3169 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I0193cf405236d7f390e94f9281b25cb2320c1dbd
2021-04-21Fix remaining nexus-IQ issuessebdet1-0/+22
Exclude lib not used by clamp BE that are flagged by Nexus IQ Issue-ID: POLICY-3169 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Idceb809e9cabc709bc820f792648ad1e481d22a7
2021-04-21Merge "Fix Sonar Crypto issues"S�bastien Determe17-383/+105
2021-04-21Fix Sonar bugssebdet1-1/+1
Fix bug introduced in AAF authentication due to changes done to fix Sonar issues Issue-ID: POLICY-3200 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I92aae94010cc8275bca5b1fe81bf54ab80f5f267
2021-04-21Fix Sonar bugssebdet1-4/+20
Fix sonar bugs reported in the ClampServlet Issue-ID: POLICY-3200 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I8d823d0b25d7379bb0fc8c87f31628bc63f51f5d
2021-04-21Merge "Fix UI that sends 2 list policies query"S�bastien Determe1-1/+0
2021-04-21Merge "Fix wrong PDP operations send by UI"S�bastien Determe1-2/+6
2021-04-21Merge "Update Autogenerated Swagger"S�bastien Determe4-6879/+13713
2021-04-21Fix UI that sends 2 list policies querysebdet1-1/+0
The UI code that manages the PDP deployments was not correct, it uses to do 2 List queries when it was successful Issue-ID: POLICY-3226 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Ia67d67d1e953cc3426fbe450c428d31bc72649d8
2021-04-21Fix wrong PDP operations send by UIsebdet1-2/+6
The code that was computing the operations to execute was wrong. THe command POST was missing Issue-ID: POLICY-3225 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I0de307e782bf99ed3cb4274c587c9c71955bab74
2021-04-21Fix Sonar Crypto issuessebdet17-383/+105
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-04-21Fix 401 returned by PAPsebdet1-3/+2
The direct call from Policy clamp Ui to Pap returns 401 because UI info are forwarded by Camel Issue-ID: POLICY-3203 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Id24b45afc05b2d308f6062b22d9e2b4a040f1d93
2021-04-21Merge "lifecycle state change"S�bastien Determe1-1/+1
2021-04-21Update Autogenerated Swaggersebdet4-6879/+13713
Update Swagger json/html and pdf + boot message for Istanbul Issue-ID: POLICY-3224 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Ie4beddabba73bcba345372c788ab5597edc7afd5
2021-04-21Fix issue in log + Pdp payloadsebdet4-88/+66
Fix log issue that prevent the error to be reported properly + fix the pdp payload construction Issue-ID: POLICY-3205 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Ic80ea4f679719378fc8134f7282b361306d797b0
2021-04-21lifecycle state changeosgn422w1-1/+1
change lifecycle to Mature since it is part of Policy which is a mature project and has the diversity which prevented original CLAMP project to be mature Issue-ID: POLICY-3221 Change-Id: Ib684170d4929ecb7f5161e31b5b458b8b615b750 Signed-off-by: osgn422w <gervais-martial.ngueko@intl.att.com>
2021-04-20Fix bug in pdp updat Uisebdet1-1/+1
Fix the bug in the pdp update UI, one wrong "test" was preventing the user to tick a pdp group and ask for a new deployment Issue-ID: POLICY-3204 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I4718e96767212e38496312e71072c3621a443fd3
2021-04-20Force issue in pdp dep to raise exceptionsebdet3-9/+13
Force the pdpDeployment call to raise exception in case of issues to have a better view of the problem in the prod Issue-ID: POLICY-3203 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I21ff763f9810bcfa68665f5105b0bff0e50b25ef
2021-04-16Fix Sonar security HotSpotsebdet4-15/+22
Fix sec issues reported by Sonar Issue-ID: POLICY-3200 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I6cdd3ff24d150333ab69e959bae39e3f0c30263f
2021-04-16Fix Sonar bugs & sec issuessebdet8-122/+141
Fix all bugs & sec issues reported by Sonar Issue-ID: POLICY-3200 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Ifb3d0d3602586b8defb0826e799ef0e24742235c
2021-04-15Update dependenciessebdet30-557/+654
Update dependencies to remove some issues reported by Nexus-IQ. Issue-ID: POLICY-3169 Issue-ID: POLICY-3120 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Ia8939f0c85ac4087c3fc2c71b66914d6c7178347
2021-04-15Merge "Add new component to support Tree view"Gervais-Martial Ngueko4-132/+264
2021-04-14Add new component to support Tree viewsebdet4-132/+264
Add treeview component to show subset of policies by prefix (using .) Issue-ID: POLICY-3165 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I1365695f03086beda36a6bafddd9ad0f52944b6d
2021-04-09Use alternate repo for npmJim Hahn1-0/+1
Issue-ID: POLICY-3182 Change-Id: Ic5025fe29cb059f90405e0c7d96401a10b669588 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-04-07Modify the PolicyDeploymentEditor to support checkboxessebdet7-84/+164
Add code to the PolicyDeploymentEditor so that checkboxes are rendered. Issue-ID: POLICY-2931 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I3c933272419770595b706f6950f821220a76f789
2021-04-07Rework the backend to support PDP updatessebdet11-97/+434
Rework Pdp payloads builder so that we can integrate different actions in the same batch + Add a new endpoint to support pdp payload&query to PEF from UI Issue-ID: POLICY-2930 Issue-ID: POLICY-2931 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I3c933272419770595b706f6950f821220a76f778
2021-04-02Merge "Rework the backend to support PDP updates"S�bastien Determe16-265/+801