clamp.git
4 years agoRelease clamp 5.0.1
jenkins-releng [Mon, 30 Mar 2020 10:41:29 +0000 (10:41 +0000)]
Release clamp

4 years agoFix the AAF issue 67/104667/1
sebdet [Mon, 30 Mar 2020 09:31:19 +0000 (02:31 -0700)]
Fix the AAF issue

Fix the AAF due to wrong urls specified in the cadi filter. Permissions were therefore not added

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

4 years agoMerge "Release Frankfurt 5.0.0"
Sébastien Determe [Fri, 27 Mar 2020 18:10:46 +0000 (18:10 +0000)]
Merge "Release Frankfurt 5.0.0"

4 years agoRelease Frankfurt 5.0.0 01/104601/1
sebdet [Fri, 27 Mar 2020 17:40:14 +0000 (10:40 -0700)]
Release Frankfurt 5.0.0

Release Frankfurt 5.0.0 images and jar

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

4 years agoMerge "Fix frontend docker"
Xue Gao [Fri, 27 Mar 2020 12:07:39 +0000 (12:07 +0000)]
Merge "Fix frontend docker"

4 years agoFix frontend docker 39/104539/5
sebdet [Fri, 27 Mar 2020 00:03:33 +0000 (17:03 -0700)]
Fix frontend docker

Rework the frontend image so that it does not crash when it starts

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

4 years agologback can't be configured with both scan and springProperty 80/104480/1
JulienBe [Thu, 26 Mar 2020 11:27:36 +0000 (12:27 +0100)]
logback can't be configured with both scan and springProperty

No proper fix available yet

source: https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#boot-features-logback-extensions

Issue-ID: CLAMP-794
Signed-off-by: JulienBe <jb379x@att.com>
Change-Id: If2145e18583ccecf96e126e8f73ddfd251eff656

4 years agoMerge "Release Frankfurt 5.0.0"
Sébastien Determe [Wed, 25 Mar 2020 18:03:29 +0000 (18:03 +0000)]
Merge "Release Frankfurt 5.0.0"

4 years agoMerge "Release Frankfurt 5.0.0"
Sébastien Determe [Wed, 25 Mar 2020 17:43:38 +0000 (17:43 +0000)]
Merge "Release Frankfurt 5.0.0"

4 years agoRelease Frankfurt 5.0.0 00/104400/1
sebdet [Wed, 25 Mar 2020 17:41:40 +0000 (10:41 -0700)]
Release Frankfurt 5.0.0

Release Frankfurt 5.0.0 images and jar

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

4 years agoRelease Frankfurt 5.0.0 96/104396/2
sebdet [Wed, 25 Mar 2020 17:08:14 +0000 (10:08 -0700)]
Release Frankfurt 5.0.0

Release Frankfurt 5.0.0 images and jar

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

4 years agoMerge "Fix the stage builds" 5.0.0
Sébastien Determe [Wed, 25 Mar 2020 16:24:27 +0000 (16:24 +0000)]
Merge "Fix the stage builds"

4 years agoFix the stage builds 86/104386/1
sebdet [Wed, 25 Mar 2020 16:11:54 +0000 (09:11 -0700)]
Fix the stage builds

Fix the stage build docker due to a bad groovy execution

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

4 years agoMerge "Fix the stage builds"
Christophe Closset [Wed, 25 Mar 2020 14:57:00 +0000 (14:57 +0000)]
Merge "Fix the stage builds"

4 years agoFix the stage builds 78/104378/1
sebdet [Wed, 25 Mar 2020 14:55:28 +0000 (07:55 -0700)]
Fix the stage builds

Fix the stage build docker due to a removed class in javascript

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

4 years agoMerge "Fix the stage builds"
Christophe Closset [Wed, 25 Mar 2020 14:09:12 +0000 (14:09 +0000)]
Merge "Fix the stage builds"

4 years agoFix the stage builds 74/104374/1
sebdet [Wed, 25 Mar 2020 14:07:43 +0000 (07:07 -0700)]
Fix the stage builds

Fix the stage build docker due to a removed class in javascript

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

4 years agoMerge "Fix the stage builds"
Christophe Closset [Wed, 25 Mar 2020 13:50:38 +0000 (13:50 +0000)]
Merge "Fix the stage builds"

4 years agoFix the stage builds 64/104364/1
sebdet [Wed, 25 Mar 2020 13:12:23 +0000 (06:12 -0700)]
Fix the stage builds

Fix the stage build docker due to a removed class in javascript

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

4 years agoFix the loop deploy issue 66/104266/5
xuegao [Tue, 24 Mar 2020 15:38:01 +0000 (16:38 +0100)]
Fix the loop deploy issue

Fix deploy UI issue and update the deployment payload.

Issue-ID: CLAMP-791
Change-Id: I2e652bc321e27be7c21ae12c66e98880e2eed4b5
Signed-off-by: xuegao <xg353y@intl.att.com>
4 years agoMerge "Improve the policy name"
Xue Gao [Wed, 25 Mar 2020 12:12:22 +0000 (12:12 +0000)]
Merge "Improve the policy name"

4 years agoMerge "Improve the policy model download"
Xue Gao [Wed, 25 Mar 2020 12:12:08 +0000 (12:12 +0000)]
Merge "Improve the policy model download"

4 years agoMerge "Improve metadata support"
Xue Gao [Wed, 25 Mar 2020 12:11:57 +0000 (12:11 +0000)]
Merge "Improve metadata support"

4 years agoImprove the policy name 29/104329/5
sebdet [Wed, 25 Mar 2020 00:42:04 +0000 (17:42 -0700)]
Improve the policy name

Give a better name to the policies so that it's easier to know which modle has been used

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

4 years agoImprove the policy model download 20/104320/3
sebdet [Tue, 24 Mar 2020 22:49:19 +0000 (15:49 -0700)]
Improve the policy model download

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

4 years agoImprove metadata support 67/104267/1
sebdet [Tue, 24 Mar 2020 15:51:20 +0000 (08:51 -0700)]
Improve metadata support

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

4 years agoMerge "Fix the CDS calls"
Xue Gao [Tue, 24 Mar 2020 10:07:45 +0000 (10:07 +0000)]
Merge "Fix the CDS calls"

4 years agoMerge "log4j security issue"
Sébastien Determe [Tue, 24 Mar 2020 01:03:42 +0000 (01:03 +0000)]
Merge "log4j security issue"

4 years agoMerge "tomcat-embed-core security issue"
Sébastien Determe [Tue, 24 Mar 2020 01:03:08 +0000 (01:03 +0000)]
Merge "tomcat-embed-core security issue"

4 years agoFix the CDS calls 88/103988/9
sebdet [Thu, 19 Mar 2020 17:29:30 +0000 (10:29 -0700)]
Fix the CDS calls

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

4 years agotomcat-embed-core security issue 71/104171/1
JulienBe [Mon, 23 Mar 2020 14:59:11 +0000 (15:59 +0100)]
tomcat-embed-core security issue

tomcat-embed-core:9.0.27 is flagged by nexusiq as a security issue

Issue-ID: CLAMP-790
Change-Id: I07a99c75285daea5aac093cd644474bcc2db0fdb
Signed-off-by: JulienBe <jb379x@att.com>
4 years agolog4j security issue 65/104165/1
JulienBe [Mon, 23 Mar 2020 16:37:33 +0000 (17:37 +0100)]
log4j security issue

aaf-cadi-aaf comes with a 1.2.17 log4j flagged by nexusiq as a security issue

Issue-ID: CLAMP-789

Signed-off-by: JulienBe <jb379x@att.com>
Change-Id: I99cd29941c12c6d868db90c4f46395216afc57b3

4 years agoPopulate deployment parameters 53/104153/2
xuegao [Mon, 23 Mar 2020 13:30:56 +0000 (14:30 +0100)]
Populate deployment parameters

Create deployment parameters while creating loops.

Issue-ID: CLAMP-788
Change-Id: Icb4ebc786b87468846692744f27b697734015401
Signed-off-by: xuegao <xg353y@intl.att.com>
4 years agoFix loop submit bugs 74/103974/4
xuegao [Thu, 19 Mar 2020 15:24:10 +0000 (16:24 +0100)]
Fix loop submit bugs

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>
4 years agoFix modify model UI bug 56/103856/2
xuegao [Wed, 18 Mar 2020 11:55:22 +0000 (12:55 +0100)]
Fix modify model UI bug

Fix the modify model UI bug, update the loopCache before closing the
window.

Issue-ID: CLAMP-783
Change-Id: Ide103f66b103ca2f51e8b7bbeda883db6626d027
Signed-off-by: xuegao <xg353y@intl.att.com>
4 years agoFix pdp group bug 45/103845/1
xuegao [Wed, 18 Mar 2020 09:53:21 +0000 (10:53 +0100)]
Fix pdp group bug

Update the url used to get the pdp group info from Policy.

Issue-ID: CLAMP-782
Change-Id: I283f4296ea0efaea475e1c142979a0754feb1a19
Signed-off-by: xuegao <xg353y@intl.att.com>
4 years agoMerge "Update policy model UI"
Sébastien Determe [Tue, 17 Mar 2020 19:03:08 +0000 (19:03 +0000)]
Merge "Update policy model UI"

4 years agoFix the policy synchro 99/103799/1
sebdet [Tue, 17 Mar 2020 14:47:03 +0000 (07:47 -0700)]
Fix the policy synchro

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

4 years agoUpdate policy model UI 80/103780/2
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>
4 years agoFix the policy synchro 70/103770/1
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

4 years agoRework the policy refresh 60/103760/2
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

4 years agoFix the legacy Guard UI 36/103736/1
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>
4 years agoFix the legacy policies 96/103696/3
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

4 years agoFix the new tosca converter 40/103640/7
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>
4 years agoMerge "Fix the tosca converter"
Xue Gao [Fri, 13 Mar 2020 16:27:30 +0000 (16:27 +0000)]
Merge "Fix the tosca converter"

4 years agoMerge "Add remove op policy option"
Sébastien Determe [Fri, 13 Mar 2020 15:37:30 +0000 (15:37 +0000)]
Merge "Add remove op policy option"

4 years agoAdd remove op policy option 22/103522/5
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>
4 years agoFix the tosca converter 30/103430/5
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

4 years agoRework tosca converter 00/103400/3
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

4 years agoMerge "Rework tosca converter"
Xue Gao [Tue, 10 Mar 2020 10:18:34 +0000 (10:18 +0000)]
Merge "Rework tosca converter"

4 years agoRework tosca converter 74/103074/10
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

4 years agoMerge "CLAMP-CDS integration to display all CDS actions for blueprint in CL"
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"

4 years agoMerge "Adding manage dictionary UI feature"
Sébastien Determe [Mon, 9 Mar 2020 09:20:33 +0000 (09:20 +0000)]
Merge "Adding manage dictionary UI feature"

4 years agoAdding manage dictionary UI feature 75/103075/1
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>
4 years agoChange json representation in op policy 98/102598/9
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>
4 years agoCLAMP-CDS integration to display all CDS actions for blueprint in CL 95/102995/1
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>
4 years agoMerge "Update UI to define Pdp Group"
Sébastien Determe [Wed, 4 Mar 2020 13:20:47 +0000 (13:20 +0000)]
Merge "Update UI to define Pdp Group"

4 years agoRework tosca converter 27/101227/19
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>
4 years agoMerge "Update docker image Update docker base image so that clamp uses the official...
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"

4 years agoChange the user in the frontent 59/102859/1
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>
4 years agoUpdate UI to define Pdp Group 55/102755/6
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>
4 years agoMerge "Rework the activate pdp group payload"
Sébastien Determe [Tue, 3 Mar 2020 09:57:30 +0000 (09:57 +0000)]
Merge "Rework the activate pdp group payload"

4 years agoRework the activate pdp group payload 76/102476/10
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>
4 years agoUpdate docker image 88/102788/2
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>
4 years agoMerge "Upload Tosca Model changes to remove policy model type parsing from UI. Dictio...
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."

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 agoUpload Tosca Model changes to remove policy model type parsing from UI. 12/102512/5
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>
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>