Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Remove the logout option from UI.
Issue-ID: CLAMP-860
Change-Id: I711b8a7eaf523195f0534044efd3dd74c3f1e0be
Signed-off-by: xuegao <xg353y@intl.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 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
|
|
Update the back groud color for succesful alert messages.
Issue-ID: CLAMP-815
Change-Id: I97a621e31f2eb850eae30da3754afd3cd4ddb34a
Signed-off-by: xuegao <xg353y@intl.att.com>
|
|
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>
|
|
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>
|
|
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>
|
|
Add the button on Operational Policy UI to refresh the json
representation.
Issue-ID: CLAMP-584
Change-Id: I3ae6ca0207bf9ca84f1e1dc6b3aed42b90298d8e
Signed-off-by: xuegao <xg353y@intl.att.com>
|
|
|
|
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>
|
|
Fourth stage, fix naming convention in UI-react so that it's clearer
Issue-ID: CLAMP-552
Change-Id: I5d082aec575bf0d71dd08065b9d2bf1bb869d7ca
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
|
|
Third stage, fix naming convention in UI-react so that it's clearer
Issue-ID: CLAMP-552
Change-Id: I16bed5be640d87e3458cdbd7a83fdfe1e37a7b98
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
|
|
Second stage, fix naming convention in UI-react so that it's clearer
Issue-ID: CLAMP-552
Change-Id: I1bfd48b55d9e1edf66c0369539718e086a778429
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
|
|
Fix naming convention in UI-react so that it's clearer
Issue-ID: CLAMP-552
Change-Id: I758e0695f5b299514758c35aa699454b0c010974
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
|
|
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>
|
|
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>
|
|
Change the initial status of policy from SENT_AND_DEPLOYED to NOT_SENT.
Issue-ID: CLAMP-533
Change-Id: If4fa22fc2e3fb33500502bab41e49de9000dd7e7
Signed-off-by: xuegao <xg353y@intl.att.com>
|
|
Fix the vulnerabilities reported by Sonar.
Issue-ID: CLAMP-530
Change-Id: I9f6a7fe9ce042045085c371ef3777188b11ffb36
Signed-off-by: xuegao <xg353y@intl.att.com>
|
|
Fix the issue that loopName doesn't show correctly.
Issue-ID: CLAMP-529
Change-Id: I2f7916eb300cecc311b0752df92926c747b8eb71
Signed-off-by: xuegao <xg353y@intl.att.com>
|
|
Fix user Info window, now clicking on the user name make it appears +
attempt to add a logout
Issue-ID: CLAMP-393
Change-Id: I82686a848f7ccae95c1eab22f1923a8821ba76b1
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
|
|
Remove colors settings in global css and add the theme property to the
menubar correctly (not via global prop anymore)
Issue-ID: CLAMP-477
Change-Id: Ie0ba1ea350e393d452108b1dadb10e7dbe1dab23
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
|
|
First draft of the Operational policy based on JsonEditor, it's a wip
code
Issue-ID: CLAMP-430
Change-Id: I2c7970e94488f4020377fd9d4d00691a3590b13e
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
|
|
Rework the deploy action and the close model feature.
Issue-ID: CLAMP-445, CLAMP-451
Change-Id: Ic122a584b676d50b9bddcac6e5553266b2281a01
Signed-off-by: xuegao <xg353y@intl.att.com>
|
|
Rework the submit, stop, restart, delete, undeploy and refresh status
actions.
Issue-ID: CLAMP-441,CLAMP-442,CLAMP-443,CLAMP-444,CLAMP-446,CLAMP-448
Change-Id: I38aed3a06fdcdf0f53fc9b8f8d2d9072f0932d55
Signed-off-by: xuegao <xg353y@intl.att.com>
|
|
Rework of the async calls to the backend + add saving of the properties
to backend + rework of the loop loading
Issue-ID: CLAMP-447
Change-Id: I126c88b3532613e6d4702e63c39a2735b98d132c
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
|
|
Fix the loop Properties windows
Issue-ID: CLAMP-447
Change-Id: I0d4002267feab57457067df345f6b56542926e35
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
|
|
|
|
Rework the user info window with react.
Issue-ID: CLAMP-449
Change-Id: I260bcb3c15cae73af0c180706928415ddc81dfbf
Signed-off-by: xuegao <xg353y@intl.att.com>
|
|
Add status data when we load a loop + rework the look and feel of status
DIV
Issue-ID: CLAMP-429
Change-Id: Ibeb58e2653d603f29a0b71023d8afd49cf89aba1
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
|
|
Provide data to logs viewer and rework the look and feel
Issue-ID: CLAMP-428
Change-Id: I7445c491faa7a061da4a959b4ca7646c7c14a88d
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
|
|
Add a converter that maps each component to a dialog type, so that each
component in the SVG can be mapped to a dialog if needed
Issue-ID: CLAMP-423
Change-Id: I2dc2517048ffd911f70c64b07216aa988bcb4fe0
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
|
|
Initial code of the config policy window using the Json Editor version
from NPM
Issue-ID: CLAMP-426
Change-Id: I4ff3e63c463320706031c703afa22417b321faa3
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
|
|
SVG rendering draft for Config and operational policies management +
call to back-end
Issue-ID: CLAMP-422
Change-Id: Ia3ca4223e283d0cd56d98fb1871fd3b2880940ec
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
|
|
Rework of the project structure and static loop cache added for the
entire site
Issue-ID: CLAMP-418
Change-Id: Ia2cf62431cd9139c91bf74bb639b502a368ce761
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
|