Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
Add new mem structure so that we do not need to parse the same Json for each policy/type + rework the camel flows so that we use the same code for loop and policies related calls
Issue-ID: POLICY-2930
Issue-ID: POLICY-2931
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I3c30c4f87cf669b40511472d518fe5ccc89f56f0
|
|
Add this a new react component so that the json editor can be called within the policies table
+ Add the tosca tab
+ Fix for Submit operation in clamp-api-v2.xml
Issue-ID: POLICY-3106
Issue-ID: POLICY-3124
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I18ab3a6034cac719525774f11b2c17f0a14bc2aa
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
|
|
Refactor the camel code so that the policy delete can be called "by loop" related flows and "by policy only" related flows.
A new endpoint for policy deletion has been added as well. This one will be called by the UI
Issue-ID: POLICY-2927
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I3c4bd2e22200788360575aa61a0122b7ed4e608d
|
|
Due to the changes done on the PAP Url (+return code), the camel flows must be adapted. There is no change required for the return code PAP change as Camel already catches all non 2XX code.
Issue-ID: POLICY-3068
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I77549f944d28acd5e39e4d9e7e47688146db3681
|
|
Add code to call the policy create backend endpoint + alert box to show status of the creation + Fix backend +
Issue-ID: POLICY-2928
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: Ia8f2506ecc692ad68111ebe7a55a92579b951908
|
|
One first part of the update is to create a policy version from an existing one (this is similar as the create new policy).
The policy-flow.xml has been refactored so that the same policy query is done for policies and loop related flows. A code has been added to remove fields from the UI that could be present (the PDP group info json enrichment)
Issue-ID: POLICY-2926
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: Ia60c656a9b5100296042d3346d5c97c8dad5d041
|
|
Improve Ui components to list policies + changes an existing camel route to expose the policy json schema properly. New files added to emulator for testing + comments added.
Now the Ui can show the policy config
Issue-ID: POLICY-3061
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: Iacf9577a4ab2cc927d05ff267e7356d8410eb77a
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
|
|
Add new Ui components to list policies + the small refactoring of React Routes
Issue-ID: POLICY-2925
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I784d7c144a3a3af98a9d62b5d40b5172dbdaed47
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
|
|
Add the new rest endpoint in camel + add new permission type + add robot test for that route + small refactoring of trst files
Issue-ID: POLICY-2924
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I623cc8ec1724513cdb92eeea000adca5c2433bae
|
|
Fix the broken build by removing the need of the useless certificate, a new one is now generate during the build for the tests.
Issue-ID: POLICY-3036
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I11c2ff5aac8a99c7a2b7e676d6c11bbc861a1de4
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
|
|
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>
|
|
Replacement of the PdpGroups clamp code by the one from policy model dependency.
Issue-ID: POLICY-2924
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I12c77704bba1c769dc2f307d91b759a3b645013f
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
|
|
Fix sonar report by re-enabling the jacoco in integration test phase (this is set in the policy integration parent)
Issue-ID: POLICY-2922
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I283aca6bc0e8b2518b72854fad0289bbc082b78d
|
|
Remove clamp releases from that new policy project and fix also additional clamp leftovers
Issue-ID: POLICY-2922
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I25cc246c4ec6b44dd105b03800c915c9c05c5f0b
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
|
|
Rename java package name to org.onap.policy.clamp instead of org.onap.clamp
Issue-ID: POLICY-2922
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: Ic3255b90fd52a7b2689ae7a55f55ee7841abebac
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
|
|
Fix the permissions not returned by AAF due to wrong code the clamp servlet.
Issue-ID: CLAMP-956
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I06fac82fb04421f154b67b625e910853ade8583f
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
|
|
The DCAE deployment URL can contain URI parameters that crashes the URL used by HTTP4 Camel.
Also the parameter connectionTimeToLive is removed as it is transmitted in each call.
The SDC client is also updated to 1.4.1
Issue-ID: CLAMP-954
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: Ieebdfe009f4339188c75c7a3365546779a087561
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
|
|
Method has been removed, this must be removed from the policy camel code
Issue-ID: CLAMP-948
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: Ic37db72c2499c2d56c08bd71ed900c0d939aa64b
|
|
As it has been removed from policy engine, legacy operational policy code must be removed as well
Issue-ID: CLAMP-948
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I0767d3da6d227d788e957a0fd50c4548b7c6290c
|
|
Fix SSL config so that clamp can access external files from the application.properties spring definition
Issue-ID: CLAMP-884
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: Ic4483d56c86f52249b09b386cdbe505f2f2f2a66
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
|
|
Update vulnerable dependencies tomcat
Issue-ID: CLAMP-850
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: Idf72aa9155fda422bd58013b6eaf888d67557e68
|
|
Update vulnerable dependencies, camel + Spring boot + Mariadb
Issue-ID: CLAMP-850
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I9850a07037d7bab0f303c69d5682b1f9de282425
|
|
Issue-ID: CLAMP-900
Signed-off-by: Ashwin Sharma <ashwin.shyam.sharma@att.com>
Change-Id: Ia911e16ecd4a5a03f44c45d32ebc874ff8882895
|
|
Fix the bug in delete flow, when the loop is already undeployed.
Issue-ID: CLAMP-864
Change-Id: I6ca52b260bf2229b8ed28d8ebac93eef65d12d96
Signed-off-by: xuegao <xg353y@intl.att.com>
|
|
Update sql files and swagger due to svg removal
Issue-ID: CLAMP-854
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I90b9ea58c63733d6b7a8ed7354469a68e9f914cf
|
|
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
|
|
Add two additional fields in the SVG for the UI so that components can easily get the data without the need to access the models
Issue-ID: CLAMP-852
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I872d3c8b0336d813e1a1cf590f6c8a06cccbe230
|
|
|
|
|
|
A user defined entry has been added to the entity id by default, so that json editor falls back to that value when re-editing the policies
Issue-ID: CLAMP-829
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I593163f87df9f97a19964428bf2016154dc9576d
|
|
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
|
|
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>
|
|
|
|
This makes it easier to have a clean password policy on oom
Issue-ID: CLAMP-796
Change-Id: Ib02e65e32daeeaeaa8faa10631dc62604734ab8c
Signed-off-by: JulienBe <jb379x@att.com>
|
|
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
|
|
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
|
|
Fix the delete policy that now fails due to isLegacy test
Issue-ID: CLAMP-820
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: Ib21ffd419953b329feeb7c2199b7d661120178e2
|
|
|
|
|
|
Operational legacy policy does not support semantic versionin for get status and delete policies, it has to be changed to integer
Issue-ID: CLAMP-820
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I78ff69b7502900d96fcc605fe997dd564dfa3e98
|
|
Handled for legacy and operational policy
Change-Id: I504c4aa2531b19b09965ad1dbc03c9944931f77b
Issue-ID: CLAMP-809
Signed-off-by: Vidyashree-Huawei <vidyashree.rama@huawei.com>
|
|
Updating the delete loop flow.
Issue-ID: CLAMP-816
Change-Id: I9ad5001b00f5f92a8ecc1f84379ee0e8ae2d196b
Signed-off-by: xuegao <xg353y@intl.att.com>
|
|
Rework a bit the CDS Json schema, so that the payload info is good now
Issue-ID: CLAMP-805
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I807e00536befe53d266b2dee279bde29b0f7d0cb
|
|
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
|