xuegao [Tue, 17 Mar 2020 09:46:39 +0000 (10:46 +0100)]
Update policy model UI
Update the PolicyModal UI, adding refresh button to update policy josn
representation.
Issue-ID: CLAMP-578
Change-Id: I8dc85fa1908fa735352b3877a845113d4995c3ec
Signed-off-by: xuegao <xg353y@intl.att.com>
sebdet [Tue, 17 Mar 2020 00:21:59 +0000 (17:21 -0700)]
Fix the policy synchro
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
sebdet [Mon, 16 Mar 2020 18:04:34 +0000 (11:04 -0700)]
Rework the policy refresh
Rework the policy refresh for the new unique dialog policyModel
Issue-ID: CLAMP-578
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: Ie8c91223e92c1e344d7ead5784ffea33d4f6a00f
sebdet [Mon, 16 Mar 2020 14:07:18 +0000 (07:07 -0700)]
Fix the legacy Guard UI
Fix the legacy policies UI because guard content can't be set in PolicyModal component.
It was due to Jsoneditor bugged parameter
Issue-ID: CLAMP-780
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I8070d8c57e48c9a386e19475f1d377f91104aef1
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
sebdet [Fri, 13 Mar 2020 22:27:41 +0000 (15:27 -0700)]
Fix the legacy policies
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
sebdet [Thu, 12 Mar 2020 21:38:07 +0000 (14:38 -0700)]
Fix the new tosca converter
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>
Xue Gao [Fri, 13 Mar 2020 16:27:30 +0000 (16:27 +0000)]
Merge "Fix the tosca converter"
Sébastien Determe [Fri, 13 Mar 2020 15:37:30 +0000 (15:37 +0000)]
Merge "Add remove op policy option"
xuegao [Wed, 11 Mar 2020 10:22:15 +0000 (11:22 +0100)]
Add remove op policy option
Update the UI and backend code to be able to remove op policy for loop
instances.
Issue-ID: CLAMP-648
Change-Id: Ib3eab4977fe4f1b85e11f2373263197009bbc3e1
Signed-off-by: xuegao <xg353y@intl.att.com>
sebdet [Tue, 10 Mar 2020 09:44:53 +0000 (02:44 -0700)]
Fix the tosca converter
Fix the new tosca converter to support metadata section
Issue-ID: CLAMP-580
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I9068bd9dc89851c630660a7f78fae1cb70bdc178
sebdet [Mon, 9 Mar 2020 23:15:19 +0000 (16:15 -0700)]
Rework tosca converter
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
Xue Gao [Tue, 10 Mar 2020 10:18:34 +0000 (10:18 +0000)]
Merge "Rework tosca converter"
sebdet [Wed, 4 Mar 2020 23:47:39 +0000 (15:47 -0800)]
Rework tosca converter
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
Sébastien Determe [Mon, 9 Mar 2020 09:22:24 +0000 (09:22 +0000)]
Merge "CLAMP-CDS integration to display all CDS actions for blueprint in CL"
Sébastien Determe [Mon, 9 Mar 2020 09:20:33 +0000 (09:20 +0000)]
Merge "Adding manage dictionary UI feature"
drveerendra [Thu, 5 Mar 2020 01:30:44 +0000 (20:30 -0500)]
Adding manage dictionary UI feature
Adding manage dictionaries.js, its test file and respective changes in
loopui, menu js files
Issue-ID: CLAMP-589
Change-Id: Ib0440a7a966f3736682d2964e3329e08c91578d3
Signed-off-by: drveerendra <vrajasekharaiah@att.com>
sebdet [Fri, 28 Feb 2020 14:03:51 +0000 (06:03 -0800)]
Change json representation in op policy
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>
Vidyashree-Huawei [Wed, 4 Mar 2020 13:52:08 +0000 (19:22 +0530)]
CLAMP-CDS integration to display all CDS actions for blueprint in CL
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>
Sébastien Determe [Wed, 4 Mar 2020 13:20:47 +0000 (13:20 +0000)]
Merge "Update UI to define Pdp Group"
WeberLaurent [Thu, 6 Feb 2020 09:23:01 +0000 (10:23 +0100)]
Rework tosca converter
New code to convert the Policy Tosca Yaml to Json Schema for the Clamp
UI
Issue-ID: CLAMP-253
Change-Id: I10c1d3d81c5feae402773de94bd88c190ec68645
Signed-off-by: WeberLaurent <weberlaurent23@gmail.com>
Gervais-Martial Ngueko [Tue, 3 Mar 2020 16:15:22 +0000 (16:15 +0000)]
Merge "Update docker image Update docker base image so that clamp uses the official onap jdk image"
sebdet [Tue, 3 Mar 2020 13:37:40 +0000 (05:37 -0800)]
Change the user in the frontent
Use clamp user instead of root for the frontend nginx
Issue-ID: CLAMP-625
Change-Id: I9bd7e3f3d1908c7e22c5435c792910b8245780b4
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
xuegao [Mon, 2 Mar 2020 10:37:20 +0000 (11:37 +0100)]
Update UI to define Pdp Group
Update teh UI, adding the possibilities to define Pdp Group and Pdp
Subgroup info.
Issue-ID: CLAMP-654
Change-Id: I3660c491d3a4c730a7414f9c6de9e3859f3c3601
Signed-off-by: xuegao <xg353y@intl.att.com>
Sébastien Determe [Tue, 3 Mar 2020 09:57:30 +0000 (09:57 +0000)]
Merge "Rework the activate pdp group payload"
xuegao [Fri, 21 Feb 2020 14:28:30 +0000 (15:28 +0100)]
Rework the activate pdp group payload
Rework the payload which triggers the activate pdp group policy API
based on the new requirement.
Issue-ID: CLAMP-646
Change-Id: I9bd7e3f2d1907c7e22c5435c792910b8245780b2
Signed-off-by: xuegao <xg353y@intl.att.com>
sebdet [Mon, 2 Mar 2020 23:22:57 +0000 (15:22 -0800)]
Update docker image
Update docker base image so that clamp uses the official onap jdk image
Issue-ID: CLAMP-625
Change-Id: I68525be3d6bfbf5dd7c5bcf6d59863df07fd4dd9
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Sébastien Determe [Mon, 2 Mar 2020 12:31:54 +0000 (12:31 +0000)]
Merge "Upload Tosca Model changes to remove policy model type parsing from UI. Dictionary API fix to allow bulk create or update of dictionary elements."
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>
Ashwin Sharma [Thu, 27 Feb 2020 17:24:52 +0000 (17:24 +0000)]
Upload Tosca Model changes to remove policy model type parsing from UI.
Dictionary API fix to allow bulk create or update of dictionary elements.
Issue-ID: CLAMP-656
Change-Id: I6a0a36a6be40a098d917c45462872d31b7f47dd2
Signed-off-by: Ashwin Sharma <ashwin.shyam.sharma@att.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
Sébastien Determe [Fri, 14 Feb 2020 11:54:58 +0000 (11:54 +0000)]
Merge "Fix deploy flow bug"
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>
Xue Gao [Thu, 13 Feb 2020 10:31:44 +0000 (10:31 +0000)]
Merge "Add tests"
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>
Christophe Closset [Wed, 12 Feb 2020 08:19:05 +0000 (08:19 +0000)]
Merge "Migrate clamp docs"
Xue Gao [Tue, 11 Feb 2020 14:07:57 +0000 (14:07 +0000)]
Merge "Add policy downloader"
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>
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
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>
Sébastien Determe [Mon, 10 Feb 2020 17:31:22 +0000 (17:31 +0000)]
Merge "Removal of ELK"
Sébastien Determe [Mon, 10 Feb 2020 17:31:11 +0000 (17:31 +0000)]
Merge "Removal of useless files"
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>
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>
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>
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>
Sébastien Determe [Mon, 10 Feb 2020 09:52:42 +0000 (09:52 +0000)]
Merge "Update get Dcae Status flow"
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>
Sébastien Determe [Wed, 5 Feb 2020 14:09:02 +0000 (14:09 +0000)]
Merge "Changes for populating ReactJS component library"
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
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>
Xue Gao [Thu, 30 Jan 2020 15:51:58 +0000 (15:51 +0000)]
Merge "Remove blueprintId in loop"
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>
Xue Gao [Thu, 30 Jan 2020 12:51:20 +0000 (12:51 +0000)]
Merge "Change the Csar installer"
Xue Gao [Thu, 30 Jan 2020 12:50:39 +0000 (12:50 +0000)]
Merge "Add a unit test"
Xue Gao [Thu, 30 Jan 2020 12:50:32 +0000 (12:50 +0000)]
Merge "Enable multithread for failsafe"
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>
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>
Sébastien Determe [Thu, 30 Jan 2020 11:51:03 +0000 (11:51 +0000)]
Merge "Update deploy-loop route"
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>
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>
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"
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>
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>
Gervais-Martial Ngueko [Tue, 28 Jan 2020 14:58:17 +0000 (14:58 +0000)]
Merge "Fix dep problem"
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>
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
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
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
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>
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
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>
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>
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>
Sébastien Determe [Mon, 20 Jan 2020 14:14:27 +0000 (14:14 +0000)]
Merge "Add tests"
Xue Gao [Mon, 20 Jan 2020 14:00:10 +0000 (14:00 +0000)]
Merge "Sonar fixes"
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>
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>
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>
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>
Sébastien Determe [Thu, 16 Jan 2020 13:38:31 +0000 (13:38 +0000)]
Merge "Add template and tosca model entities and repositories"
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>
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>
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>
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>
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>
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>
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>
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>