summaryrefslogtreecommitdiffstats
path: root/ui-react-lib
AgeCommit message (Collapse)AuthorFilesLines
2021-04-23ToscaFileSelectorsebdet1-0/+1
The UI code that manages the tosca file selector that will be sent to clamp be + fix Rest Camel endpoint that always want ot convert http body to JSON (due to Camel upgrade) Issue-ID: POLICY-3229 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I6148276d4c527f29db904a76655055c19d4e2023
2021-04-14Add new component to support Tree viewsebdet1-0/+1
Add treeview component to show subset of policies by prefix (using .) Issue-ID: POLICY-3165 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I1365695f03086beda36a6bafddd9ad0f52944b6d
2021-04-07Modify the PolicyDeploymentEditor to support checkboxessebdet1-1/+0
Add code to the PolicyDeploymentEditor so that checkboxes are rendered. Issue-ID: POLICY-2931 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I3c933272419770595b706f6950f821220a76f789
2021-04-01Rework the backend to support PDP updatessebdet1-0/+1
Add new mem structure so that we do not need to parse the same Json for each policy/type + rework the camel flows so that we use the same code for loop and policies related calls Issue-ID: POLICY-2930 Issue-ID: POLICY-2931 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I3c30c4f87cf669b40511472d518fe5ccc89f56f0
2021-03-11Remove useless codesebdet1-2/+0
Remove useless code due to the changes done for the policy create feature. The tosca list can now be seen directly in the policy framework dialog Issue-ID: POLICY-3106 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I5fd61f28ed7071ceaf5729045983fc2d792bc9a4 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2021-03-11Introduce a new json editor componentsebdet1-0/+2
Add this a new react component so that the json editor can be called within the policies table + Add the tosca tab + Fix for Submit operation in clamp-api-v2.xml Issue-ID: POLICY-3106 Issue-ID: POLICY-3124 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I18ab3a6034cac719525774f11b2c17f0a14bc2aa Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2021-02-15Add New UI component for policies listsebdet1-0/+3
Add new Ui components to list policies + the small refactoring of React Routes Issue-ID: POLICY-2925 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I784d7c144a3a3af98a9d62b5d40b5172dbdaed47 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2021-01-13Align Ui code for the policy movesebdet1-3/+3
Change package.json to update the clamp to policy-clamp Issue-ID: POLICY-2922 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I3cdc63c39a77cf4f8b2f285a68a3d2ac58e3f8b9 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2020-07-07Add a customValidation method to PolicyModalTed Humphrey1-0/+1
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>
2020-06-12Address Manage Dictionary issuesTed Humphrey1-0/+1
A variety of bugs are addressed. See JIRA. Issue-ID: CLAMP-849 Change-Id: I620c1ec774fdcec484f40fc638551960a98973c8 Signed-off-by: Ted Humphrey <Thomas.Humphrey@att.com>
2020-06-03Fix js libsebdet1-3/+0
Fix js lib dur eto modal removals and re-enable the lib publish Issue-ID: CLAMP-854 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I131d026f03b522954e2231141b1120cf7a66ba2a
2020-06-03Add check to maven pom.xml for verifying integrity of ui-react-libTed Humphrey2-5/+10
A new shell script is introduced for verifying that ui-react-lib/libIndex.js is faithfully synchronized with components maintained in ui-react/src, in order to provide an NPM onap-clamp-ui-lib Issue-ID: CLAMP-669 Change-Id: I48eb979e3fbe110b718b96c0fcee08a2ced7a36b Signed-off-by: Ted Humphrey <Thomas.Humphrey@att.com>
2020-04-16Minor UI fixes for dialogues and Tosca upload featureTed Humphrey1-0/+6
Issue-ID: CLAMP-587 Change-Id: I683b62fbd0b15ab5db18c7e1e941ff8cb58cb0f3 Signed-off-by: Ted Humphrey <Thomas.Humphrey@att.com>
2020-03-25Fix the stage buildssebdet1-1/+0
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
2020-03-25Fix the stage buildssebdet1-1/+0
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
2020-02-27Upload Tosca Model changes to remove policy model type parsing from UI.Ashwin Sharma1-0/+2
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>
2020-02-10Fix npm repo missingsebdet1-0/+3
Fix the Npm repo missing in the configuration Issue-ID: CLAMP-586 Change-Id: I6e0c25beb91655e735ef2a0170e9a4404cdf8818 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2020-02-04Changes for populating ReactJS component libraryTed Humphrey3-0/+144
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>