clamp.git
4 years agoFix bug in operational policy 29/102529/2
sebdet [Thu, 27 Feb 2020 22:43:57 +0000 (14:43 -0800)]
Fix bug in operational policy

Fix bugs in camel routes and operational policy due to changes done for op policy insertion/removal

Issue-ID: CLAMP-647

Change-Id: I68524bd3d5bfbf5dd7a4bcf6d59853df07fd4dd9
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
4 years agoStandardize loop controller 21/102521/1
sebdet [Thu, 27 Feb 2020 19:43:51 +0000 (11:43 -0800)]
Standardize loop controller

Make all calls from camel to loop controller instead of the service to make things consistent.

Issue-ID: CLAMP-647

Change-Id: I68524bd3d5bfbf5dd7a4acf6c59823df06fd4cd9
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
4 years agoChange emulator policy response 20/102520/1
sebdet [Thu, 27 Feb 2020 19:41:51 +0000 (11:41 -0800)]
Change emulator policy response

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>
4 years agoFix the loopCache 19/102519/1
sebdet [Thu, 27 Feb 2020 19:39:50 +0000 (11:39 -0800)]
Fix the loopCache

Fix the loop cache so that the micro service configuration are well read.

Issue-ID: CLAMP-653

Change-Id: I68524bd3d5bfbf5ca5a3acf5c59823df06fd4cd9
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
4 years agoAdd Create loop dialog 50/102450/6
sebdet [Wed, 26 Feb 2020 23:47:30 +0000 (15:47 -0800)]
Add Create loop dialog

Add create loop dialog and backend part associated (this is based on this PR https://gerrit.onap.org/r/c/clamp/+/102156)

Issue-ID: CLAMP-587

Change-Id: I58524bc2d5bfbf5ca5a3acf5c59823df06fd4cd9
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
4 years agoAdd new dialog for policy 48/102348/7
sebdet [Tue, 25 Feb 2020 23:13:31 +0000 (15:13 -0800)]
Add new dialog for policy

Add a new dialog component for tosca based policy, config/op should use that dialog now.

Issue-ID: CLAMP-653

Change-Id: I57523bc2d4bfbf5ca5a3acf5c59823df06fd4cd9
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
4 years agoCreate get Pdp Groups flow 13/101913/17
xuegao [Tue, 18 Feb 2020 13:20:23 +0000 (14:20 +0100)]
Create get Pdp Groups flow

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>
4 years agoFix Bug due to user management changes 32/102332/2
sebdet [Tue, 25 Feb 2020 17:05:02 +0000 (09:05 -0800)]
Fix Bug due to user management changes

Fix the bugs, build is broken due to changes done previously

Issue-ID: CLAMP-651

Change-Id: I57523bc2c3bfbf5ca5a3acf5c59823df06fd4cd9
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
4 years agoSimplify the user management 90/102190/8
sebdet [Sun, 23 Feb 2020 17:31:04 +0000 (09:31 -0800)]
Simplify the user management

Simplify the user management and fix a bug in the server, crashing when no user are logged and an operation is requested, and also previous user still stored in the securitycontext when admin is logged (due to static variable)

Issue-ID: CLAMP-651

Change-Id: I57523bc2c3afaf5ca5a3acf5c59823df06fd4cd9
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
4 years agoModify the Ui 87/101887/12
sebdet [Tue, 18 Feb 2020 10:00:11 +0000 (02:00 -0800)]
Modify the Ui

Modify the Ui to have a modify option in the menu so that the user can tune the loop instance

Issue-ID: CLAMP-648

Change-Id: I57523bc1c3afaf5ca5a2acf5c59823df06fd4cd9
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
4 years agoOperational policy modification 58/101858/11
sebdet [Mon, 17 Feb 2020 23:31:28 +0000 (15:31 -0800)]
Operational policy modification

policyModel added to Operational policy object so that a user in the UI can add op policies, guard or whatever
Issue-ID: CLAMP-647

Change-Id: I57521bc1c3afaf5ca5a2acf5c59823df06fd4cd9
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
4 years agoFix the loop template view 33/101833/1
sebdet [Mon, 17 Feb 2020 14:03:31 +0000 (06:03 -0800)]
Fix the loop template view

Fix the loop template view modal as the rest api has been changed + the database model as well
Issue-ID: CLAMP-589

Change-Id: I57521bc1c3afaf4ca5a2acf4c59823df06fd4cd9
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
4 years agoChanges include Metadata support, Upload tosca policy model and Loop Template 86/100986/18
ash74268 [Fri, 31 Jan 2020 15:40:15 +0000 (15:40 +0000)]
Changes include Metadata support, Upload tosca policy model and Loop Template

CLAMP Metadata support to parse policy_model_type, acronym and clamp_possible_values from the Tosca Policy Model
UI and Backend changes to support Loop Template
Backend APIs for Dictionary referenced in the Tosca Policy Model.
Upload Tosca Model UI changes to allow user to upload policy models.
DB Schema changes for the Loop Element Model and updated schema for the Dictionary
Added Jest test cases and snapshots
checkstyle issues fix and Junits

Issue-ID: CLAMP-580

Signed-off-by: ash74268 <ashwin.shyam.sharma@att.com>
Change-Id: I57521bc1c3afaf4ca5a2acf4c59823df05fd4cd6
Signed-off-by: ash74268 <ashwin.shyam.sharma@att.com>
4 years agoAdd tests 79/101679/4
sebdet [Thu, 13 Feb 2020 13:49:21 +0000 (05:49 -0800)]
Add tests

Add tests for https and aaf

Issue-ID: CLAMP-624
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: Ia78ed8da7e54eaeaaed4fb87f483e0aff3a4a8c5

4 years agoMerge "Fix deploy flow bug"
Sébastien Determe [Fri, 14 Feb 2020 11:54:58 +0000 (11:54 +0000)]
Merge "Fix deploy flow bug"

4 years agoFix deploy flow bug 63/101663/1
xuegao [Thu, 13 Feb 2020 09:35:39 +0000 (10:35 +0100)]
Fix deploy flow bug

Fix the bug in the deploy flow for multi blueprint cases.

Issue-ID: CLAMP-571
Change-Id: I368cefafcba34a8ba3bd6be1eb22064995364d23
Signed-off-by: xuegao <xg353y@intl.att.com>
4 years agoMerge "Add tests"
Xue Gao [Thu, 13 Feb 2020 10:31:44 +0000 (10:31 +0000)]
Merge "Add tests"

4 years agoAdd tests 49/101549/5
sebdet [Tue, 11 Feb 2020 17:58:35 +0000 (18:58 +0100)]
Add tests

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>
4 years agoMerge "Migrate clamp docs"
Christophe Closset [Wed, 12 Feb 2020 08:19:05 +0000 (08:19 +0000)]
Merge "Migrate clamp docs"

4 years agoMerge "Add policy downloader"
Xue Gao [Tue, 11 Feb 2020 14:07:57 +0000 (14:07 +0000)]
Merge "Add policy downloader"

4 years agoAdd policy downloader 63/101463/3
sebdet [Mon, 10 Feb 2020 14:21:47 +0000 (15:21 +0100)]
Add policy downloader

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>
4 years agoMigrate clamp docs 94/101294/2
Jessica Wagantall [Thu, 6 Feb 2020 22:50:29 +0000 (14:50 -0800)]
Migrate clamp docs

Merging this will create
https://onap-clamp.readthedocs.io
This build will run in parallel
to the current docs generation method
until we are ready to cut over.

Issue-ID: CIMAN-364
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Change-Id: I44403b2ea7c21125280ee20bc2ccb28876ce6477

4 years agoFix npm repo missing 94/101494/3
sebdet [Mon, 10 Feb 2020 17:25:49 +0000 (18:25 +0100)]
Fix npm repo missing

Fix the Npm repo missing in the configuration

Issue-ID: CLAMP-586
Change-Id: I6e0c25beb91655e735ef2a0170e9a4404cdf8818
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
4 years agoMerge "Removal of ELK"
Sébastien Determe [Mon, 10 Feb 2020 17:31:22 +0000 (17:31 +0000)]
Merge "Removal of ELK"

4 years agoMerge "Removal of useless files"
Sébastien Determe [Mon, 10 Feb 2020 17:31:11 +0000 (17:31 +0000)]
Merge "Removal of useless files"

4 years agoRemoval of ELK 73/101473/2
sebdet [Mon, 10 Feb 2020 14:51:07 +0000 (15:51 +0100)]
Removal of ELK

Removal of ELK stack in this repo as now we have clamp-dashboard repo to
handle the images construction

Issue-ID: CLAMP-483
Change-Id: Icdea709015a973acc6e7884b5444caa1ee3c8cc8
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
4 years agoRemoval of useless files 70/101470/2
sebdet [Mon, 10 Feb 2020 14:44:08 +0000 (15:44 +0100)]
Removal of useless files

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>
4 years agoBump up clamp 82/101182/3
sebdet [Wed, 5 Feb 2020 15:39:34 +0000 (16:39 +0100)]
Bump up clamp

Bump the version to 5.0.0

Issue-ID: CLAMP-642
Change-Id: Ia9bbb51a2149f68148b6eaf63e9bb10452ae38a5
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
4 years agoGet policy in CsarInstaller 68/101068/16
sebdet [Mon, 3 Feb 2020 19:27:59 +0000 (20:27 +0100)]
Get policy in CsarInstaller

Get the policies on the PEF engine when installing the CSAR (if needed)

Issue-ID: CLAMP-518
Change-Id: I2cca157821c22ef63dc748984140287667cc4663
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
4 years agoMerge "Update get Dcae Status flow"
Sébastien Determe [Mon, 10 Feb 2020 09:52:42 +0000 (09:52 +0000)]
Merge "Update get Dcae Status flow"

4 years agoUpdate get Dcae Status flow 24/101124/5
xuegao [Tue, 4 Feb 2020 14:22:00 +0000 (15:22 +0100)]
Update get Dcae Status flow

Update the flow to get Dcae Status, supporting multiple blue print.

Issue-ID: CLAMP-590
Change-Id: I6a05a40d4879082413d3ed83159467ea616c5d37
Signed-off-by: xuegao <xg353y@intl.att.com>
4 years agoMerge "Changes for populating ReactJS component library"
Sébastien Determe [Wed, 5 Feb 2020 14:09:02 +0000 (14:09 +0000)]
Merge "Changes for populating ReactJS component library"

4 years agoUpdate SSL Certs and doc 70/101170/2
ChrisC [Wed, 5 Feb 2020 12:07:40 +0000 (13:07 +0100)]
Update SSL Certs and doc

Update SSL certs for Frankfurt (expiry date Feb 2021) + fix clamp env
for compose.
Documentation updated to reflect what to do for cert renewal (readme).

Issue-ID: CLAMP-641
Signed-off-by: ChrisC <christophe.closset@intl.att.com>
Change-Id: I24e24ee88674c3d5b399bc0f1722c61f4c54a937

4 years agoChanges for populating ReactJS component library 37/100837/4
Ted Humphrey [Mon, 27 Jan 2020 23:57:39 +0000 (18:57 -0500)]
Changes for populating ReactJS component library

Modification of Maven pom.xml to segregate creation of component library
away from the basic CLAMP UI. New directory ui-react-lib is introduced
and populated with just a few files to support the library creation.
Introduction of OnapConstants.js provides single focus for defining
constants shared across multiple components, resolving circular
dependency between LoopUI.js and MenuBar.js around defaultLoopName.
Modified LoopSvg.js to import withRoute from react-router-dom instead
of react-router, which was causing problems in usage of completed
component library.

Issue-ID: CLAMP-586
Change-Id: I3054d5388b8aa7417fe7566c34279390d24fb80a
Signed-off-by: Ted Humphrey <Thomas.Humphrey@att.com>
4 years agoMerge "Remove blueprintId in loop"
Xue Gao [Thu, 30 Jan 2020 15:51:58 +0000 (15:51 +0000)]
Merge "Remove blueprintId in loop"

4 years agoRemove blueprintId in loop 45/100945/1
sebdet [Thu, 30 Jan 2020 15:37:27 +0000 (16:37 +0100)]
Remove blueprintId in loop

Remove the blueprint Id for DCAE in loop object as now the one in loop
template will be used.

Issue-ID: CLAMP-592
Change-Id: Ie86f362451d58de07f7a715ae0bfc92566893e13
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
4 years agoMerge "Change the Csar installer"
Xue Gao [Thu, 30 Jan 2020 12:51:20 +0000 (12:51 +0000)]
Merge "Change the Csar installer"

4 years agoMerge "Add a unit test"
Xue Gao [Thu, 30 Jan 2020 12:50:39 +0000 (12:50 +0000)]
Merge "Add a unit test"

4 years agoMerge "Enable multithread for failsafe"
Xue Gao [Thu, 30 Jan 2020 12:50:32 +0000 (12:50 +0000)]
Merge "Enable multithread for failsafe"

4 years agoChange the Csar installer 62/100862/4
sebdet [Tue, 28 Jan 2020 15:28:21 +0000 (16:28 +0100)]
Change the Csar installer

Change the csar installer so that it installs a loop template instead of
a loop object

Issue-ID: CLAMP-592
Change-Id: I757f6411ce959573fcb3a82e48359a1a44f87410
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
4 years agoUpdate undeploy-loop flow 54/100854/2
xuegao [Mon, 27 Jan 2020 14:21:59 +0000 (15:21 +0100)]
Update undeploy-loop flow

Update the undploy-loop flow to support the multiple blueprint
deployment

Issue-ID: CLAMP-627
Change-Id: Ic4187179e2ef2f574f8cc836eebc3608b8aee899
Signed-off-by: xuegao <xg353y@intl.att.com>
4 years agoMerge "Update deploy-loop route"
Sébastien Determe [Thu, 30 Jan 2020 11:51:03 +0000 (11:51 +0000)]
Merge "Update deploy-loop route"

4 years agoUpdate deploy-loop route 08/100808/3
xuegao [Mon, 27 Jan 2020 11:10:32 +0000 (12:10 +0100)]
Update deploy-loop route

Update deploy-loop to support multiple blueprint deployments

Issue-ID: CLAMP-571
Change-Id: If98e9305c36a01f86a522db002174f92f6ff5996
Signed-off-by: xuegao <xg353y@intl.att.com>
4 years agoAdd a unit test 27/100927/1
sebdet [Thu, 30 Jan 2020 09:15:03 +0000 (10:15 +0100)]
Add a unit test

Add a test on Blueprint parser to validate a specific case

Issue-ID: CLAMP-567
Change-Id: I2f0ed17bd8fd203b055fcb26614e747afcf85d9a
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
4 years agoMerge "Create a camel route that would retrieve all the DCAE blueprints"
Xue Gao [Wed, 29 Jan 2020 13:58:14 +0000 (13:58 +0000)]
Merge "Create a camel route that would retrieve all the DCAE blueprints"

4 years agoEnable multithread for failsafe 01/100901/1
sebdet [Wed, 29 Jan 2020 13:05:24 +0000 (14:05 +0100)]
Enable multithread for failsafe

Change failsafe configuration to enable the multithreading

Issue-ID: CLAMP-626
Change-Id: Id53d221873d5820a6f8e4b90b8f0ed3a157c11bf
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
4 years agoCreate a camel route that would retrieve all the DCAE blueprints 90/100590/6
Vidyashree-Huawei [Wed, 22 Jan 2020 11:55:46 +0000 (17:25 +0530)]
Create a camel route that would retrieve all the DCAE blueprints

Retreive all the DCAE blueprints and update DcaeInventoryCache

Change-Id: Ia03a89c1871119a208094c014e5cb8aa8b4f71d3
Issue-ID: CLAMP-573
Signed-off-by: Vidyashree-Huawei <vidyashree.rama@huawei.com>
4 years agoMerge "Fix dep problem"
Gervais-Martial Ngueko [Tue, 28 Jan 2020 14:58:17 +0000 (14:58 +0000)]
Merge "Fix dep problem"

4 years agoFix dep problem 57/100857/1
sebdet [Tue, 28 Jan 2020 14:30:44 +0000 (15:30 +0100)]
Fix dep problem

Fix dependency problem in eclipe & remove useless files in resources

Issue-ID: CLAMP-628
Change-Id: Ibe8ed1283b12e6379ff529e24c5ccbb85d3b3227
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
4 years agoFix JS coverage 50/100850/1
ChrisC [Tue, 28 Jan 2020 13:14:53 +0000 (14:14 +0100)]
Fix JS coverage

reverting to sonar.sources to control source origin

Issue-ID: CLAMP-626
Signed-off-by: ChrisC <christophe.closset@intl.att.com>
Change-Id: I39f33a3486b3534b8a815e5823e281ca1eff29a8

4 years agoFix Sonar JS 44/100844/1
ChrisC [Tue, 28 Jan 2020 10:00:02 +0000 (11:00 +0100)]
Fix Sonar JS

Trying to apply other properties for JS scan

Issue-ID: CLAMP-626
Signed-off-by: ChrisC <christophe.closset@intl.att.com>
Change-Id: Iae2cd8014f54260fa90d8f489f1316ac422e99de

4 years agoAdding more logs and try relative path 41/100841/1
ChrisC [Tue, 28 Jan 2020 08:26:47 +0000 (09:26 +0100)]
Adding more logs and try relative path

Adding More logs to the scanner to understand why some sources are not taken into account + trying relative path for inclusion based on SonarCloud doc recommendation

Issue-ID: CLAMP-626
Signed-off-by: ChrisC <christophe.closset@intl.att.com>
Change-Id: Iccede3dc4c1e9a8f2c80ef3e763cbbcbdde489ab

4 years agoFix Sonar 22/100822/2
ChrisC [Mon, 27 Jan 2020 16:26:24 +0000 (17:26 +0100)]
Fix Sonar

try disabling sonar.scm.exclusions.disabled to avoid .gitignore file being taken into account by Sonar

Issue-ID: CLAMP-626
Signed-off-by: ChrisC <christophe.closset@intl.att.com>
Change-Id: Ic5ea1d9f2168e983a54132e1acf8ae0d31f081d7
Signed-off-by: ChrisC <christophe.closset@intl.att.com>
4 years agoFix Sonar Java Coverage 16/100816/1
ChrisC [Mon, 27 Jan 2020 13:54:56 +0000 (14:54 +0100)]
Fix Sonar Java Coverage

SonarCloud takes only XML Jacoco report as input, fixed plugin configuration and sonar properties.

Issue-ID: CLAMP-626
Signed-off-by: ChrisC <christophe.closset@intl.att.com>
Change-Id: I5d47e3868e3b805d9d45421ba2aa1d71c9626454

4 years agoFix sonar 48/100748/1
sebdet [Fri, 24 Jan 2020 12:49:49 +0000 (13:49 +0100)]
Fix sonar

Fix sonar due to sonarcloud migration

Issue-ID: CLAMP-626
Change-Id: I8fb9eb3857c1b9649cc6231d3789b39887687152
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
4 years agoFix sonar 76/100676/1
sebdet [Thu, 23 Jan 2020 12:35:34 +0000 (13:35 +0100)]
Fix sonar

Fix sonar due to sonarcloud migration

Issue-ID: CLAMP-626
Change-Id: I9e16331804e97aa1bdf6d771fda3f5c352590452
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
4 years agoModify the template model 39/100539/6
sebdet [Tue, 21 Jan 2020 11:40:59 +0000 (12:40 +0100)]
Modify the template model

Add loopElement to loopTemplate so that operational policy can be added
into the template as well

Issue-ID: CLAMP-555
Change-Id: I298c05f7f92536e4dab840983c41b0f7ee22daac
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
4 years agoMerge "Add tests"
Sébastien Determe [Mon, 20 Jan 2020 14:14:27 +0000 (14:14 +0000)]
Merge "Add tests"

4 years agoMerge "Sonar fixes"
Xue Gao [Mon, 20 Jan 2020 14:00:10 +0000 (14:00 +0000)]
Merge "Sonar fixes"

4 years agoAdd tests 69/100469/2
xuegao [Mon, 20 Jan 2020 09:35:16 +0000 (10:35 +0100)]
Add tests

Add tests for Dictonary and DictionaryElements

Issue-ID: CLAMP-591
Change-Id: I1a810e0211685aa7d0831399e727c01b36416bab
Signed-off-by: xuegao <xg353y@intl.att.com>
4 years agoSonar fixes 13/100413/2
sebdet [Fri, 17 Jan 2020 14:14:27 +0000 (15:14 +0100)]
Sonar fixes

Sonar fixes on Csar service installation

Issue-ID: CLAMP-566
Change-Id: I55f8d358efe9dc53471b78c31be363e0af6d0e80
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
4 years agoAdd fields on microservice 12/100412/2
sebdet [Fri, 17 Jan 2020 14:08:39 +0000 (15:08 +0100)]
Add fields on microservice

Add fields for DCAE on microservice instance

Issue-ID: CLAMP-572
Change-Id: Ia68b45921ba6f6f3a3efd574887475aff22bc3a8
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
4 years agoFix checkstyle issue 71/100371/2
sebdet [Thu, 16 Jan 2020 13:35:57 +0000 (14:35 +0100)]
Fix checkstyle issue

Fix checkstyle issues and remove useless files

Issue-ID: CLAMP-555
Change-Id: I02382ed48d7321b0a6b8650efbf7663f943f17ba
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
4 years agoMerge "Add template and tosca model entities and repositories"
Sébastien Determe [Thu, 16 Jan 2020 13:38:31 +0000 (13:38 +0000)]
Merge "Add template and tosca model entities and repositories"

4 years agoAdd template and tosca model entities and repositories 31/98731/33
nrpandya [Thu, 21 Nov 2019 17:51:18 +0000 (11:51 -0600)]
Add template and tosca model entities and repositories

Add Control loop template, tosca model and model policy properties
hibernate entity classes and crud repositories

Issue-ID: CLAMP-555
Change-Id: Ib7f07aca5ad2ddf5caff7c98ea9341bdc147e817
Signed-off-by: nrpandya <neenendra.pandya@att.com>
4 years agoUpdate based on comment 38/100238/1
xuegao [Mon, 13 Jan 2020 09:27:54 +0000 (10:27 +0100)]
Update based on comment

Initialize the state attribute in the constructor.

Issue-ID: CLAMP-569
Change-Id: Iabd739ce2c828d6e50720bfb2f29c365b8736bfa
Signed-off-by: xuegao <xg353y@intl.att.com>
4 years agoUpdate policy api url 16/100116/1
xuegao [Thu, 9 Jan 2020 08:46:53 +0000 (09:46 +0100)]
Update policy api url

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>
4 years agoUpdate based on comments 46/100046/3
xuegao [Tue, 7 Jan 2020 10:45:09 +0000 (11:45 +0100)]
Update based on comments

Update based on review comments and fix some format issues.

Issue-ID: CLAMP-569
Change-Id: I8b94be41d7576d4c701e0d7f49883f4255463e62
Signed-off-by: xuegao <xg353y@intl.att.com>
4 years agoAdd button to refresh op policy UI 22/100022/2
xuegao [Mon, 6 Jan 2020 15:13:46 +0000 (16:13 +0100)]
Add button to refresh op policy UI

Add the button on Operational Policy UI to refresh the json
representation.

Issue-ID: CLAMP-584
Change-Id: I3ae6ca0207bf9ca84f1e1dc6b3aed42b90298d8e
Signed-off-by: xuegao <xg353y@intl.att.com>
4 years agoAdd refresh op policy json api 19/100019/2
xuegao [Mon, 6 Jan 2020 12:15:05 +0000 (13:15 +0100)]
Add refresh op policy json api

Add the new api to refresh the operational policy json representation
values.

Issue-ID: CLAMP-585
Change-Id: I8c494f8d5f7ee8672f054444c368fdb396fb208f
Signed-off-by: xuegao <xg353y@intl.att.com>
4 years agoUpdate op policy UI 22/99822/1
xuegao [Thu, 19 Dec 2019 10:58:45 +0000 (11:58 +0100)]
Update op policy UI

Change the React UI accordingly so that we read OperationalPolicy Object

Issue-ID: CLAMP-583
Change-Id: Ifd14a7eb115dc75acb35f1e7591ee383066a45f1
Signed-off-by: xuegao <xg353y@intl.att.com>
4 years agoMove jsonRepresentation 21/99821/1
xuegao [Wed, 18 Dec 2019 10:17:53 +0000 (11:17 +0100)]
Move jsonRepresentation

Move the storage of jsonRepresentation to OperationalPolicy level

Issue-ID: CLAMP-582
Change-Id: Id555ebc1f2f04468f7bf0ffd813de7732bcee97f
Signed-off-by: xuegao <xg353y@intl.att.com>
4 years agoUpdate deploymentParameters 01/99601/7
xuegao [Fri, 13 Dec 2019 10:50:24 +0000 (11:50 +0100)]
Update deploymentParameters

Update deploymentParameters to allow a map of <msName, deploymentParams>
instead of a single deploymentParam

Issue-ID: CLAMP-569, CLAMP-570
Change-Id: I6abc4fe193157644bd6abe1c893a1416cadec988
Signed-off-by: xuegao <xg353y@intl.att.com>
4 years agoMerge "Update service object"
Sébastien Determe [Mon, 9 Dec 2019 13:43:34 +0000 (13:43 +0000)]
Merge "Update service object"

4 years agoUpdate service object 48/99248/3
xuegao [Fri, 6 Dec 2019 09:40:49 +0000 (10:40 +0100)]
Update service object

Seperate the procedure to install service and loops.

Issue-ID: CLAMP-566
Change-Id: Ied7143ce8849baffda7678e82f4d6c4d9f1443d9
Signed-off-by: xuegao <xg353y@intl.att.com>
4 years agoAdd dcae structure 31/99331/2
sebdet [Mon, 9 Dec 2019 11:58:20 +0000 (12:58 +0100)]
Add dcae structure

Add the DCAE structure to handle the sorting of the loops defined in the
DCAE inventory.

Issue-ID: CLAMP-575
Change-Id: I52cffd1d1812f5d3e5802e46d6c5147dafb4a7f5
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
4 years agoMerge ssl password 39/98939/8
xuegao [Thu, 28 Nov 2019 14:13:18 +0000 (15:13 +0100)]
Merge ssl password

Use the aaf encrypted ssl password fot server.ssl parameters

Issue-ID: CLAMP-339
Change-Id: I8869bb527f2851c1d298cd03e45327791a8acfab
Signed-off-by: xuegao <xg353y@intl.att.com>
4 years agoMerge "Adding View BP template Menu"
Sébastien Determe [Wed, 20 Nov 2019 14:51:08 +0000 (14:51 +0000)]
Merge "Adding View BP template Menu"

4 years agoMerge "Update the alpine version"
Sébastien Determe [Wed, 20 Nov 2019 09:06:42 +0000 (09:06 +0000)]
Merge "Update the alpine version"

4 years agoMerge "Rollback to JDK 11"
Sébastien Determe [Tue, 19 Nov 2019 13:32:39 +0000 (13:32 +0000)]
Merge "Rollback to JDK 11"

4 years agoUpdate the alpine version 99/98599/1
sebdet [Tue, 19 Nov 2019 13:30:23 +0000 (14:30 +0100)]
Update the alpine version

So Alpine 3.10.3 and jdk 11.0.5

Issue-ID: CLAMP-553
Change-Id: I51527d0903aef406b996e7b83975f1a167ad4937
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
4 years agoAdding View BP template Menu 68/98268/6
drveerendra [Tue, 12 Nov 2019 00:37:39 +0000 (19:37 -0500)]
Adding View BP template Menu

Adding View Blue Print templates option under Template menu. Adding few
more test cases for ViewTosca Modals to cover the api calls.

Issue-ID: CLAMP-544
Change-Id: Ibf881f46fd03e9149a88ccc211a996d99fd74748
Signed-off-by: drveerendra <vrajasekharaiah@att.com>
4 years agoRollback to JDK 11 24/98524/1
sebdet [Mon, 18 Nov 2019 16:57:32 +0000 (17:57 +0100)]
Rollback to JDK 11

Reverting JDK to 11 as deciced by the SECCOM

Issue-ID: CLAMP-553
Change-Id: I69bbf2b961616ae566e43cab944bd0daf5295a34
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
4 years agoMerge "Create Service object"
Sébastien Determe [Mon, 18 Nov 2019 10:56:42 +0000 (10:56 +0000)]
Merge "Create Service object"

4 years agoCreate Service object 78/98178/3
xuegao [Fri, 8 Nov 2019 12:10:36 +0000 (13:10 +0100)]
Create Service object

User Service object to store loop service and resource realted info.

Issue-ID: CLAMP-545
Change-Id: I0df6f5d43d7e0575346e02a27bca5c0b5ecdb0a0
Signed-off-by: xuegao <xg353y@intl.att.com>
4 years agoFix naming convention 58/98458/1
sebdet [Fri, 15 Nov 2019 16:49:42 +0000 (17:49 +0100)]
Fix naming convention

Fourth stage, fix naming convention in UI-react so that it's clearer

Issue-ID: CLAMP-552
Change-Id: I5d082aec575bf0d71dd08065b9d2bf1bb869d7ca
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
4 years agoFix naming convention 57/98457/1
sebdet [Fri, 15 Nov 2019 16:33:44 +0000 (17:33 +0100)]
Fix naming convention

Third stage, fix naming convention in UI-react so that it's clearer

Issue-ID: CLAMP-552
Change-Id: I16bed5be640d87e3458cdbd7a83fdfe1e37a7b98
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
4 years agoFix naming convention 56/98456/1
sebdet [Fri, 15 Nov 2019 16:26:45 +0000 (17:26 +0100)]
Fix naming convention

Second stage, fix naming convention in UI-react so that it's clearer

Issue-ID: CLAMP-552
Change-Id: I1bfd48b55d9e1edf66c0369539718e086a778429
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
4 years agoFix naming convention 53/98453/1
sebdet [Fri, 15 Nov 2019 15:28:55 +0000 (16:28 +0100)]
Fix naming convention

Fix naming convention in UI-react so that it's clearer

Issue-ID: CLAMP-552
Change-Id: I758e0695f5b299514758c35aa699454b0c010974
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
4 years agoFix NPM loop issue 54/98354/1
sebdet [Wed, 13 Nov 2019 12:13:07 +0000 (13:13 +0100)]
Fix NPM loop issue

Fix the NPM loop issue that appears during the deploy maven phase

Issue-ID: CLAMP-450
Change-Id: I4b1bb691f56d39792217f297dd0fb3e3c9397363
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
4 years agoPut npm snapshot 81/98181/1
sebdet [Fri, 8 Nov 2019 14:15:39 +0000 (15:15 +0100)]
Put npm snapshot

Put npm snapshot for all for now, until there is a better solution to
release

Issue-ID: CLAMP-450
Change-Id: I62f936c01a133462d3bff5ae0aeea5aa211c5c91
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
4 years agoUpdate sonar plugin 79/98179/1
sebdet [Fri, 8 Nov 2019 12:49:44 +0000 (13:49 +0100)]
Update sonar plugin

Update sonar plugin to latest for Jdk 13

Issue-ID: CLAMP-327
Change-Id: I780e9d13820c3b0fe351a651aec782bf4ac46ccb
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
4 years agoChange Oparent 42/98142/1
sebdet [Thu, 7 Nov 2019 14:03:18 +0000 (15:03 +0100)]
Change Oparent

Update oparent to 2.1.0

Issue-ID: CLAMP-531
Change-Id: I2b4d71c58fdd96ceae1551258e198d16c8bb21a8
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
4 years agoMerge "Move to JDK 13"
Sébastien Determe [Thu, 7 Nov 2019 10:03:38 +0000 (10:03 +0000)]
Merge "Move to JDK 13"

4 years agoMerge "Upgrade the libs"
Gervais-Martial Ngueko [Wed, 6 Nov 2019 16:20:19 +0000 (16:20 +0000)]
Merge "Upgrade the libs"

4 years agoMerge "Add Npm repo script"
Gervais-Martial Ngueko [Wed, 6 Nov 2019 16:19:47 +0000 (16:19 +0000)]
Merge "Add Npm repo script"

4 years agoUpgrade the libs 49/98049/6
sebdet [Wed, 6 Nov 2019 10:40:46 +0000 (11:40 +0100)]
Upgrade the libs

Upgrade the version of some libraries for NPM so for React UI

Issue-ID: CLAMP-544
Change-Id: Ie5238c699a2b441892e6e12f3a6f17640d26b10c
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
4 years agoAdd Npm repo script 73/97973/2
sebdet [Tue, 5 Nov 2019 17:28:05 +0000 (18:28 +0100)]
Add Npm repo script

Add npm repo script in the build to decide which nexus repo must be used
depending of the version

Issue-ID: CLAMP-450
Change-Id: Ic00974d1bedf9da947748dd9f5224fbc78f7f425
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
4 years agoMove to JDK 13 59/97959/2
sebdet [Tue, 5 Nov 2019 12:44:53 +0000 (13:44 +0100)]
Move to JDK 13

Do the required changes to move to JDK 13

Issue-ID: CLAMP-327
Change-Id: Ia7840851eeefc6c00e3e49eacb2e49cc27a0b2f0
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
4 years agoAdding viewToscamodels menu 73/97873/3
drveerendra [Thu, 31 Oct 2019 16:45:30 +0000 (12:45 -0400)]
Adding viewToscamodels menu

Updated package.json file to include material table and material UI
react libraries. Added ViewToscalModals folder which contains js file,
corresponding test file and its snapshots

Issue-ID: CLAMP-544
Change-Id: I6b9328d6270fc32b41a152c91a9fd872f3524beb
Signed-off-by: drveerendra <vrajasekharaiah@att.com>