Age | Commit message (Collapse) | Author | Files | Lines |
|
In order for derivations of PolicyModal to apply their own custom error
checking, a new customValidation method is introduced into
PolicyModal.js
Issue-ID: CLAMP-863
Change-Id: If2ed515357741cab6f5b675b4b99423f9f3defed
Signed-off-by: Ted Humphrey <Thomas.Humphrey@att.com>
|
|
A variety of bugs are addressed. See JIRA.
Issue-ID: CLAMP-849
Change-Id: I620c1ec774fdcec484f40fc638551960a98973c8
Signed-off-by: Ted Humphrey <Thomas.Humphrey@att.com>
|
|
Removal of previous modal not used anymore
Issue-ID: CLAMP-854
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: Ica6a316369433714323bf0fddff60722281d0f5f
|
|
Remove the SVG generation from the backend and put it in the UI
Issue-ID: CLAMP-854
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: Icfa9e107d83bb244ac3d87300d013555bfa0b037
|
|
Add unit tests to improve code coverage.
Issue-ID: CLAMP-844
Change-Id: I7792212d476103086e063cf8fe4a9abed1294fd6
Signed-off-by: xuegao <xg353y@intl.att.com>
|
|
* changes:
Fix bugs reported by sonar
Fix bugs reported by sonar
|
|
Fix bugs reported by sonar as critical, major, ...
Issue-ID: CLAMP-841
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: Id525d532d4f405216da44f95503e06e172458e70
|
|
Remove bugs and vulnerabilities based on the sonar report
Issue-ID: CLAMP-841
Change-Id: I49d0eeeedf69a0cbe3adf49cf115ab25aec7adfd
Signed-off-by: xuegao <xg353y@intl.att.com>
|
|
Remove guard policy related code, so that it will not be shown or
created in the legacy policy UI.
Issue-ID: CLAMP-825
Change-Id: I6c654fef9fd9df810fd48600c91ffef96db371cd
Signed-off-by: xuegao <xg353y@intl.att.com>
|
|
|
|
Add the logic to prevent user adding the same type of Operational Policy
Issue-ID: CLAMP-828
Change-Id: Iec6774ec7a9494740f7aed0873165ba073d73e45
Signed-off-by: xuegao <xg353y@intl.att.com>
|
|
Issue-ID: CLAMP-587
Change-Id: I683b62fbd0b15ab5db18c7e1e941ff8cb58cb0f3
Signed-off-by: Ted Humphrey <Thomas.Humphrey@att.com>
|
|
The operational policy must be removed from the PEF when the user remove an operational policy (at least attempt to purge the PEF)
Issue-ID: CLAMP-824
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I793212adcfb36675c3aae9edbc077f29b14b262e
|
|
The operational policy must be removed from the PEF when the user remove an operational policy (at least attempt to purge the PEF)
Issue-ID: CLAMP-824
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I442c0890c391d43e8fcbdb89189d6ad2581db3af
|
|
Add template name to the UI loop viewer + change color of logs panel
Issue-ID: CLAMP-826
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I6776729cefc0597067ae8ef722f7d6e488a12cad
|
|
Add the spinning symbol while loop is deploying.
Issue-ID: CLAMP-814
Change-Id: Id041622c300e18643e6fb725b3b5bd4ad8e9911e
Signed-off-by: xuegao <xg353y@intl.att.com>
|
|
Update the back groud color for succesful alert messages.
Issue-ID: CLAMP-815
Change-Id: I97a621e31f2eb850eae30da3754afd3cd4ddb34a
Signed-off-by: xuegao <xg353y@intl.att.com>
|
|
to please Sonar
Issue-ID: CLAMP-806
Signed-off-by: JulienBe <jb379x@att.com>
Change-Id: Ia09874acfa7237f0a920f0327e6e2d76eb61fb2a
|
|
|
|
Fix the missing SVG representing the loop template in the Create loop dialog
Issue-ID: CLAMP-811
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: Id74855e2935130337bc852df79b3a9fed0d444ac
|
|
reported by Sonar
Issue-ID: CLAMP-806
Signed-off-by: JulienBe <jb379x@att.com>
Change-Id: Ia3d6939e1f946280551583a777032efe63e12e01
|
|
Modify View Templates Menu to adopt changes from get template CL API
Issue-ID: CLAMP-589
Change-Id: I54d059620e91d0da70e85c62dbb932ee58dd99ab
Signed-off-by: xuegao <xg353y@intl.att.com>
|
|
Fix deploy UI issue and update the deployment payload.
Issue-ID: CLAMP-791
Change-Id: I2e652bc321e27be7c21ae12c66e98880e2eed4b5
Signed-off-by: xuegao <xg353y@intl.att.com>
|
|
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>
|
|
|
|
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
|
|
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>
|
|
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
|
|
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>
|
|
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
|
|
|
|
|
|
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>
|
|
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
|
|
|
|
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
|
|
|
|
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>
|
|
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>
|
|
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>
|
|
UI. Dictionary API fix to allow bulk create or update of dictionary elements."
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|