Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
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>
|
|
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
|
|
|
|
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>
|
|
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
|
|
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
|
|
Freeze the robot framework docker version used to avoid unstable build + fix the second test + add logs to robot framework test so that the result is dumped to stdout. We can therefore analyze the issue directly in the clamp build log.
Issue-ID: POLICY-3135
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: Ia078a074fda7fa9bc4e6320408e86987fd8dd25d
|
|
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
|
|
The backend had to be slightly fixed so that the json generation without being in a loop is not an issue. This is required for the policies listing feature
Issue-ID: POLICY-2926
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: Ia6a9e034f888384999a8ea557ce550c87c65c4be
|
|
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>
|
|
- Add some specific answers to the emulator so that the backend list code can be tested
- add guilin tca blueprint to the integration tests so that the test.sql contains a new template.
Issue-ID: POLICY-2924
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I716cfbaa1a084df1455da25470d86b903ef7c936
|
|
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
|
|
Upgrade the robot framework docker image used by the ITs so that it uses the python3 instead of the python2.
Issue-ID: POLICY-2950
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I314feb5981a75678b4f51fa4637a0410f85b3fcc
|
|
This fix crashes the blueprint installation when it contains a link to a microservice that does not exist in the policy engine.
Issue-ID: CLAMP-977
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I659d864d202d9d77ef14560b1391397196ae1fbe
|
|
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>
|
|
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>
|
|
CLAMP should not display all CDS workflow properties
Issue-ID: CLAMP-856
Signed-off-by: root1 <vidyashree.rama@huawei.com>
Change-Id: I98fc46c9c9ba574a3606740921d74743cb6f38ea
|
|
Issue-ID: CLAMP-844
Signed-off-by: JulienBe <julien.bertozzi@intl.att.com>
Change-Id: Ie5c40477f42fcf26f5fef6c1742e34a2eee7f73d
|
|
Using "--no-cache-dir" flag in pip install ,make sure dowloaded packages
by pip don't cached on system . This is a best practise which make sure
to fetch ftom repo instead of using local cached one . Further , in case
of Docker Containers , by restricing caching , we can reduce image size.
In term of stats , it depends upon the number of python packages
multiplied by their respective size . e.g for heavy packages with a lot
of dependencies it reduce a lot by don't caching pip packages.
Further , more detail information can be found at
https://medium.com/sciforce/strategies-of-docker-images-optimization-2ca9cc5719b6
Issue-ID: CLAMP-861
Signed-off-by: Pratik Raj <rajpratik71@gmail.com>
Change-Id: I7e7a7799ae48901c289d07bc07e7c96f24f5d078
|
|
Removal of useless test files used by previous tests
Issue-ID: CLAMP-854
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I4172427046250fed52984c2b97532370727f0fa0
|
|
Removal of all useless test files not used anymore by any test
Issue-ID: CLAMP-854
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: Ic273c2f2ef0eac4ae42174b954ebd4d3d70e5e23
|
|
Removal of useless test files inherited from old tests removed.
Issue-ID: CLAMP-854
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I2f906c724b8e98ba40afbea8482a93e6b263ef29
|
|
If CDS properties are not there, it can crash a standard VF resource blueprint deployment.
Issue-ID: CLAMP-857
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I4172427046250fed52984c2b94531370727f0fa0
|
|
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
|
|
Fix the VNF entity IDs value in json schema for each policies (in UI)
Issue-ID: CLAMP-843
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I9515b01422acdfc0ec36f10cc70994145e561d7f
|
|
|
|
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
|
|
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>
|
|
|
|
1. converted json to string for legacy operational policy
2. added payload data as default string value for generic operational policy
Change-Id: If63423c24d736623b227537f0f83edeaac819215
Issue-ID: CLAMP-831
Signed-off-by: Vidyashree-Huawei <vidyashree.rama@huawei.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>
|
|
|
|
Issue-ID: CLAMP-587
Signed-off-by: Ashwin Sharma <ashwin.shyam.sharma@att.com>
Change-Id: I1533b8e7a87c3e7c5af3572fef9ccd3a8fae85ef
Signed-off-by: Ashwin Sharma <ashwin.shyam.sharma@att.com>
|
|
Handled list type in response
Change-Id: If4b5b45c5f23f377add1be84306a31e78d47c52b
Issue-ID: CLAMP-823
Signed-off-by: Vidyashree-Huawei <vidyashree.rama@huawei.com>
|
|
|
|
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>
|
|
|
|
THe pdp payload was not good in some particular cases, when the pdp group was containing different subgroups
Issue-ID: CLAMP-813
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: Ie3e53f42827ed90689ed83b4945151cb13f38c9c
|