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>
|
|
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
|
|
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>
|
|
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
|
|
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>
|
|
CLAMP should not display all CDS workflow properties
Issue-ID: CLAMP-856
Signed-off-by: root1 <vidyashree.rama@huawei.com>
Change-Id: I98fc46c9c9ba574a3606740921d74743cb6f38ea
|
|
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
|
|
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 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
|
|
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>
|
|
|
|
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
|
|
|
|
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>
|
|
CLAMP-CDS integration to display all CDS actions for blueprint in CL
Change-Id: I18b972b8952e5de9ac8e39d6c9cc4ecba0ec9b02
Issue-ID: CLAMP-491
Signed-off-by: Vidyashree-Huawei <vidyashree.rama@huawei.com>
|
|
Return the right policy response for each policy model requested by Clamp
Issue-ID: CLAMP-653
Change-Id: I68524bd3d5bfbf5ca6a4acf6c59823df06fd4cd9
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
|
|
Create a camel flow to get the list of Pdp Groups info from Policy.
Create a scheduler to trigger the camel flow regularly and store
the Pdp Groups info into DB.
Issue-ID: CLAMP-644, CLAMP-649
Change-Id: I6427202cc0186cd85428d5d25b28a8622e4d7ca4
Signed-off-by: xuegao <xg353y@intl.att.com>
|
|
Add tests for download all and improve efficiency with stream
Issue-ID: CLAMP-518
Change-Id: Ia78ed8da7e54eaeaaed4fb87f483e0aff3a4a8c4
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
|
|
|
|
Add policy downloader to sync all policy types in the database
Issue-ID: CLAMP-518
Change-Id: I5ab82970cd3403e46fe7cc8447766977b11b68e7
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
|
|
Removal of useless file in the emulator and exception not used anymore
Issue-ID: CLAMP-518
Change-Id: Ie9235c1f9daaf926f9955a678266a771c9280d89
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
|
|
Retreive all the DCAE blueprints and update DcaeInventoryCache
Change-Id: Ia03a89c1871119a208094c014e5cb8aa8b4f71d3
Issue-ID: CLAMP-573
Signed-off-by: Vidyashree-Huawei <vidyashree.rama@huawei.com>
|
|
Update the policy api url, triggering the pap api to get the status of
the deployed policy.
Issue-ID: CLAMP-577
Change-Id: I34222c1158d6f724c8ae740fec81f2085ef91bd0
Signed-off-by: xuegao <xg353y@intl.att.com>
|
|
Fix the frontend docker in Nginx with https for backend in https as well
Issue-ID: CLAMP-486
Change-Id: I33fd89289618affa5e734c80991aaefece31309e
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Add tests to Tosca code to increase coverage
Issue-ID: CLAMP-252
Change-Id: Ie18cb94444e7e47b6dfb3e8271a0db238cfeeb1b
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
|
|
Add test to policyClient + guard policyAttributes
Issue-ID: CLAMP-252
Change-Id: I344a631cc1dfd38e87f61b34dcb1bb3dbb00625a
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
|
|
Tosca code for policy dynamic configuration
Issue-ID: CLAMP-252,CLAMP-251
Change-Id: Icd96f833567050c1dd4730a61765507ad24ebd2e
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
|
|
Remove bad names in examples for unit tests
Issue-ID: CLAMP-252
Change-Id: I035f82ce2333d246ac90ca70d506703ced131ce6
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
|
|
Replace dumb values by test values in sampel files
Issue-ID: CLAMP-198
Change-Id: I3ac4012b0369e2576459f5536a6c93e33917afe5
Signed-off-by: sebdet <sd378r@intl.att.com>
|
|
Remove ECOMP in headers of the source files
Issue-ID: CLAMP-156
Change-Id: Ifdc5a4d9d8fb25d1b66d8a5699fde3cba17af7a4
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
|
|
Remove ECOMP in headers of the source files
Issue-ID: CLAMP-156
Change-Id: If10e2dff86852840ad289b03c6a30dd83f674d76
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
|
|
Fix startup of the python script in the pom that was not properly set
Issue-ID: CLAMP-147
Change-Id: Ia462be79dd053a9b39761e5bdf3248d0e28e65ee
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
|
|
Fix the startup script for python simulator
Issue-ID: CLAMP-148
Change-Id: Ia1906aa12f2354a45324553609a9e5e713d8a551
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
|
|
Fix the script call from Pom so that it can be configured
Issue-ID: CLAMP-148
Change-Id: Id1120150c4fb993d70ffe2914c73a8fa24051e85
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
|
|
Change-Id: I0a3b8f1e812f6199c5a7fbbabd88c6c5ec4217cc
Signed-off-by: ehautot <eh552t@intl.att.com>
Issue-ID: CLAMP-111
|
|
Change-Id: I86dad99c141ef78b23e28cbb3eab6516d04000a8
Signed-off-by: ehautot <eh552t@intl.att.com>
Issue-ID: CLAMP-100
|
|
Revert back policyClient client and port used by sdc cache
Issue-ID: CLAMP-85
Change-Id: Ifd59e8530dea6032449d4c868286533cbcac8739
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
|
|
Code refactoring, mainly Classes/Methods name renaming
Issue-ID: CLAMP-85
Change-Id: I12bd190576e324ed33f057dc1a4ad32c16fcb6c2
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
|