aboutsummaryrefslogtreecommitdiffstats
path: root/ui-react/src/__snapshots__
AgeCommit message (Collapse)AuthorFilesLines
2021-05-13Modular structure of clamp including controlloopSirisha_Manchikanti3-430/+0
This commit is the first commit that puts in multi module structure while changing the existing CLAMP code as little as possible. It adds a structure where common, models, participant and runtime are direct children under clamp, and current clamp code is moved under runtime. This runtime directory will host controlloop runtime code in later commits. Issue-ID: POLICY-3215 Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech> Change-Id: I15bc8be92ed020343bff4024c4718fec462c40d7 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-03-15Add refresh & update libssebdet2-8/+4
Add refresh features to the policy list when changing it + update materials-Ui + update Json-editor libs to solve big lag in UI + Remove useless link in the menu + fix issue with build due to mariadb not started yet Issue-ID: POLICY-3131 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I9bcb9558f213731a4ea8e20e186fb91c9db1b6f3
2021-03-11Remove useless codesebdet2-16/+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-1/+3
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 listsebdet2-4/+12
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>
2020-07-08add framework for blocking user interactionTed Humphrey2-2/+6
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-06-04Remove logoutxuegao2-18/+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 codesebdet2-16/+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 UIsebdet2-2/+6
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-04-16Add template name to UIsebdet2-0/+6
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-06Update suc alert colorxuegao2-40/+86
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-03-04Adding manage dictionary UI featuredrveerendra2-0/+8
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>
2020-02-27Add Create loop dialogsebdet2-0/+8
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>
2020-02-26Add new dialog for policysebdet2-2/+10
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>
2020-02-25Modify the Uisebdet2-0/+8
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>
2020-02-17Fix the loop template viewsebdet2-2/+2
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>
2020-02-14Changes include Metadata support, Upload tosca policy model and Loop Templateash742682-0/+8
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>
2019-11-18Adding View BP template Menudrveerendra2-2/+12
Adding View Blue Print templates option under Template menu. Adding few more test cases for ViewTosca Modals to cover the api calls. Issue-ID: CLAMP-544 Change-Id: Ibf881f46fd03e9149a88ccc211a996d99fd74748 Signed-off-by: drveerendra <vrajasekharaiah@att.com>
2019-11-06Upgrade the libssebdet2-2/+2
Upgrade the version of some libraries for NPM so for React UI Issue-ID: CLAMP-544 Change-Id: Ie5238c699a2b441892e6e12f3a6f17640d26b10c Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-11-04Adding viewToscamodels menudrveerendra2-0/+8
Updated package.json file to include material table and material UI react libraries. Added ViewToscalModals folder which contains js file, corresponding test file and its snapshots Issue-ID: CLAMP-544 Change-Id: I6b9328d6270fc32b41a152c91a9fd872f3524beb Signed-off-by: drveerendra <vrajasekharaiah@att.com>
2019-10-17Add unit testsxuegao3-0/+356
Add unit tests for backend and frontend. Issue-ID: CLAMP-512 Change-Id: I713ba2dce3bd132e7e3e713f4e91e3662df7aafd Signed-off-by: xuegao <xg353y@intl.att.com>