Age | Commit message (Collapse) | Author | Files | Lines |
|
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
(cherry picked from commit 9d04a9cc8c6f4b12ae60cc0d4d42f71085f72328)
|
|
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>
(cherry picked from commit 76a0b386bcf5f30533c85f6d26c559bea19ce0fb)
|
|
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>
(cherry picked from commit d2178bc9f7d6c06f60a3a8afecd83e428d84cd78)
|
|
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>
(cherry picked from commit 078c34d0c2e439d8a148a2cd4d7545c6b7f56acb)
|
|
- 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
(cherry picked from commit dabd6db614abf78508add7cdbef2120120ce3d9b)
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: Ia8e7a80a3adb205de2bdb4a1a9051a734b424980
|
|
The module structure is:
./tosca-controlloop (maven module)
./tosca-controlloop/common (maven module, could be moved to policy-common)
./tosca-controlloop/design (maven module, control loop design time component)
./tosca-controlloop/models (maven module, should be moved to policy-models)
./tosca-controlloop/participants (maven modue for control loop participants)
./tosca-controlloop/runtime (maven module, control loop run time component)
This patch also updates the repo to the current status of the master
branch
Issue-ID: POLICY-2971
Change-Id: I98c7e25f592cc7d9783d5daff3e9e3ad2e7b5214
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
This change mreges changes in clamp master into the tosca-poc branch
because the two banches have diverged.
Issue-ID: POLICY-2971
Change-Id: Iea4efe90204c98eeaae0b112ad5c964f722afdb0
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
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>
(cherry picked from commit f01d3e8377fa4e5a9c1b129fe446575d132f91c2)
Change-Id: I4a7f6741417abd55f2568bd8e39ce7c9d753dd37
|
|
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>
(cherry picked from commit 536db7b811eba341aef48a745b495da068d170eb)
Change-Id: I3e0edee985f68499549866d43768c949f7af6107
|
|
CLAMP should not display all CDS workflow properties
Issue-ID: CLAMP-856
Signed-off-by: root1 <vidyashree.rama@huawei.com>
(cherry picked from commit 2d9f989e0d37002c758bdf66a3f25fcfdac35b62)
Change-Id: Icc07decf95a4e8977cd9559373bde9053ef6b8bb
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
|
|
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
|
|
Add tabs-top format for array in the policy json schema generated + add a default case for payload
Issue-ID: CLAMP-810
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I5cca893cda57838c0244fc82974dd5519e787506
|
|
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: I84d543987f421e3185c2783fc6cd779302658a1f
|
|
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
|
|
Fix the policy_id not set by default when it's a unique blueprint, and when it contains only one microservice
Issue-ID: CLAMP-802
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: Iffe35e461395940567588228ec68ea4b7ff9a409
|
|
Fix the crash that occurs when a blank space is found in the metadata section
Issue-ID: CLAMP-801
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I3d66991378bd44fbb7d19a5048091e307589677a
|
|
Improve the policy model download so that the yaml is now in pretty printing and the policy engine is not triggered if the model is already in the database
Issue-ID: CLAMP-784
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: Ibd1e6bd617cf052ad4c475e4dd9c63eb2b046acd
|
|
Improve the metadata support for CDS and default values
Issue-ID: CLAMP-786
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I8a24e31a93ff1e288ec8f0f6d522b1b15d39a8d2
|
|
Fix the CDS calls for generic tosca policies, the new tosca parser must be interrupted so that clamp can do json schema enrichment
Issue-ID: CLAMP-786
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: Ib7e85a6cc3849f614a3025779d29e8024f7a2ef2
|
|
Create deployment parameters while creating loops.
Issue-ID: CLAMP-788
Change-Id: Icb4ebc786b87468846692744f27b697734015401
Signed-off-by: xuegao <xg353y@intl.att.com>
|
|
Update the payload for policy creation and pdp group activation and
update the policy url accordingly.
Issue-ID: CLAMP-787
Change-Id: If39eeaccf780f1222b99ffc4dd5d7ef1460c4962
Signed-off-by: xuegao <xg353y@intl.att.com>
|
|
Fix the periodic policy synchro issue due to wrong format expected.
Issue-ID: CLAMP-784
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: Iaa815e92bb5c7d93f9db9c75f98e144b8d0f6b44
|
|
Fix the periodic policy synchro issue due to wrong format expected.
Issue-ID: CLAMP-781
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I97d1ac28b5427378b6c4a0fa67415cc728f46b87
|
|
Fix the legacy policies not displayed in the UI properly due to the new PolicyModal dialog.
Issue-ID: CLAMP-779
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I8070d8c57e43c9a386e09475f0d377f91104aef1
|
|
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>
|
|
Fix the tosca converter template to support json instead of properties file.
Issue-ID: CLAMP-253
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: Id4f839d0b5bfece519b0b1e615e8d6e14e464f16
|
|
|
|
New code to convert the Policy Tosca Yaml to Json Schema for the Clamp
UI
Issue-ID: CLAMP-647
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: Id15ddedc1910f6a40bf6e407b34e343e00135571
|