aboutsummaryrefslogtreecommitdiffstats
path: root/ui-react
AgeCommit message (Collapse)AuthorFilesLines
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-30Clamp react ui to use url pathname dynamically instead of hardcoded prefix ↵Ashwin Sharma5-27/+27
for calling apis Issue-ID: CLAMP-914 Signed-off-by: Ashwin Sharma <ashwin.shyam.sharma@att.com> Change-Id: I266aeafe9a543e95bcb96fcab6437227c148f8c4
2020-07-29change -1 to No Limit in View All Templates for # Instances AllowedTed Humphrey1-1/+7
Issue-ID: CLAMP-912 Signed-off-by: Ted Humphrey <Thomas.Humphrey@att.com> Change-Id: I3d7732ae741bd3ab0766fc022e8920af2a08e9af
2020-07-15block re-use of existing loop name; support derivation of SvgGeneratorTed Humphrey8-31/+160
added changes to LoopUI for global style and support of "delete" CL case Issue-ID: CLAMP-896 Change-Id: I97f603f38c277011835b8e206e5e05226a296606 Signed-off-by: Ted Humphrey <Thomas.Humphrey@att.com>
2020-07-15Merge "Support disabling of Loop Instance Properties "Save" button"Christophe Closset1-1/+2
2020-07-14Merge "Add many jests tests and implement block on element type and ↵Christophe Closset2-301/+599
subdictionary fields for subdictionary elements"
2020-07-14Merge "Add a customValidation method to PolicyModal"Christophe Closset2-19/+109
2020-07-14Support disabling of Loop Instance Properties "Save" buttonTed Humphrey1-1/+2
Issue-ID: CLAMP-895 Change-Id: I0e8fd70b750a59c14bb8e73407c49cc09f1d2657 Signed-off-by: Ted Humphrey <Thomas.Humphrey@att.com>
2020-07-14Add many jests tests and implement block on element type andTed Humphrey2-301/+599
subdictionary fields for subdictionary elements Issue-ID: CLAMP-849 Change-Id: Ic6c4c06ee3b41e2e4dfe1913b7ecf57a951d9993 Signed-off-by: Ted Humphrey <Thomas.Humphrey@att.com>
2020-07-08add framework for blocking user interactionTed Humphrey6-51/+188
this adds two new methods to LoopUI.js, setBusyLoading and clearBusyLoading, and one new state variable, busyLoadingCount, for supporting the blocking of user clicking during async back end calls that might take a bit of time to return. Blocking the user from clicking on a component box is implemented as an important first case use, as well as all PerformAction calls. Issue-ID: CLAMP-894 Change-Id: I28660afe26b6cc8184b9392aee42157f44601bf6 Signed-off-by: Ted Humphrey <Thomas.Humphrey@att.com>
2020-07-07Add a customValidation method to PolicyModalTed Humphrey2-19/+109
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-17Merge "Address Manage Dictionary issues"Sébastien Determe5-383/+890
2020-06-12Address Manage Dictionary issuesTed Humphrey5-383/+890
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-12Merge "Removal of Svg api"Eddy Hautot1-20/+0
2020-06-12Removal of Svg apisebdet1-20/+0
Removal of previous api not even presetn in backend Issue-ID: CLAMP-854 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I199b8aab1e3f333d31fed68415058419bf352f21
2020-06-04Remove logoutxuegao5-63/+0
Remove the logout option from UI. Issue-ID: CLAMP-860 Change-Id: I711b8a7eaf523195f0534044efd3dd74c3f1e0be Signed-off-by: xuegao <xg353y@intl.att.com>
2020-06-02Removal of useless codesebdet8-529/+0
Removal of previous modal not used anymore Issue-ID: CLAMP-854 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Ica6a316369433714323bf0fddff60722281d0f5f
2020-05-20Create SVG in UIsebdet24-538/+460
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
2020-05-05Add unit testxuegao4-2/+380
Add unit tests to improve code coverage. Issue-ID: CLAMP-844 Change-Id: I7792212d476103086e063cf8fe4a9abed1294fd6 Signed-off-by: xuegao <xg353y@intl.att.com>
2020-04-27Merge changes Id525d532,I91723b83Xue Gao1-5/+7
* changes: Fix bugs reported by sonar Fix bugs reported by sonar
2020-04-23Fix bugs reported by sonarsebdet1-5/+7
Fix bugs reported by sonar as critical, major, ... Issue-ID: CLAMP-841 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Id525d532d4f405216da44f95503e06e172458e70
2020-04-23Merge "Fix bug when adding op policy"Christophe Closset1-2/+2
2020-04-22Fix bug when adding op policysebdet1-2/+2
The fix to prevent multiple op policy modle to be inserted introduced another bug, this pr fixes it Issue-ID: CLAMP-828 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I90432688df48cbf2b456efae5e4191e2909077cc
2020-04-22Remove bugs and vulnerabilitiesxuegao1-8/+6
Remove bugs and vulnerabilities based on the sonar report Issue-ID: CLAMP-841 Change-Id: I49d0eeeedf69a0cbe3adf49cf115ab25aec7adfd Signed-off-by: xuegao <xg353y@intl.att.com>
2020-04-22Guard policy clean upxuegao8-28/+6
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>
2020-04-21Merge "Fix table pagination issue"Sébastien Determe1-3/+3
2020-04-21Fix table pagination issuesebdet1-3/+3
The pagination issue was due to a bug in the material-ui javascript lib Issue-ID: CLAMP-803 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I9a9cf3ee373528a343f72b6c625326554ffd9965
2020-04-21Merge "Prevent adding same type of Op policy"Sébastien Determe2-12/+28
2020-04-21Prevent adding same type of Op policyxuegao2-12/+28
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>
2020-04-16Minor UI fixes for dialogues and Tosca upload featureTed Humphrey19-56/+140
Issue-ID: CLAMP-587 Change-Id: I683b62fbd0b15ab5db18c7e1e941ff8cb58cb0f3 Signed-off-by: Ted Humphrey <Thomas.Humphrey@att.com>
2020-04-16Remove policy from PEF when removing op policysebdet2-1/+5
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
2020-04-16Remove policy from PEF when removing op policysebdet2-6/+12
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
2020-04-16Add template name to UIsebdet22-13/+35
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
2020-04-08Add spinner for Deploy actionxuegao2-2/+28
Add the spinning symbol while loop is deploying. Issue-ID: CLAMP-814 Change-Id: Id041622c300e18643e6fb725b3b5bd4ad8e9911e Signed-off-by: xuegao <xg353y@intl.att.com>
2020-04-06Update suc alert colorxuegao11-77/+147
Update the back groud color for succesful alert messages. Issue-ID: CLAMP-815 Change-Id: I97a621e31f2eb850eae30da3754afd3cd4ddb34a Signed-off-by: xuegao <xg353y@intl.att.com>
2020-04-03Move to console.info in testsJulienBe3-5/+5
to please Sonar Issue-ID: CLAMP-806 Signed-off-by: JulienBe <jb379x@att.com> Change-Id: Ia09874acfa7237f0a920f0327e6e2d76eb61fb2a
2020-04-02Merge "Fix bug in Create loop UI"Christophe Closset3-6/+6
2020-04-02Fix bug in Create loop UIsebdet3-6/+6
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
2020-04-01Remove unused objectsJulienBe3-3/+0
reported by Sonar Issue-ID: CLAMP-806 Signed-off-by: JulienBe <jb379x@att.com> Change-Id: Ia3d6939e1f946280551583a777032efe63e12e01
2020-04-01Update template menu UIjingjincs8-80/+143
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>
2020-03-25Fix the loop deploy issuexuegao1-4/+4
Fix deploy UI issue and update the deployment payload. Issue-ID: CLAMP-791 Change-Id: I2e652bc321e27be7c21ae12c66e98880e2eed4b5 Signed-off-by: xuegao <xg353y@intl.att.com>
2020-03-18Fix modify model UI bugxuegao1-2/+2
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>
2020-03-17Merge "Update policy model UI"Sébastien Determe2-1/+193
2020-03-17Fix the policy synchrosebdet1-1/+1
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
2020-03-17Update policy model UIxuegao2-1/+193
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>
2020-03-16Rework the policy refreshsebdet4-18/+26
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
2020-03-16Fix the legacy Guard UIsebdet2-5/+18
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>
2020-03-16Fix the legacy policiessebdet1-2/+5
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
2020-03-13Merge "Fix the tosca converter"Xue Gao3-19/+16
2020-03-13Merge "Add remove op policy option"Sébastien Determe3-49/+225