Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
Initialize the state attribute in the constructor.
Issue-ID: CLAMP-569
Change-Id: Iabd739ce2c828d6e50720bfb2f29c365b8736bfa
Signed-off-by: xuegao <xg353y@intl.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>
|
|
Change the React UI accordingly so that we read OperationalPolicy Object
Issue-ID: CLAMP-583
Change-Id: Ifd14a7eb115dc75acb35f1e7591ee383066a45f1
Signed-off-by: xuegao <xg353y@intl.att.com>
|
|
Update deploymentParameters to allow a map of <msName, deploymentParams>
instead of a single deploymentParam
Issue-ID: CLAMP-569, CLAMP-570
Change-Id: I6abc4fe193157644bd6abe1c893a1416cadec988
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>
|
|
|
|
User Service object to store loop service and resource realted info.
Issue-ID: CLAMP-545
Change-Id: I0df6f5d43d7e0575346e02a27bca5c0b5ecdb0a0
Signed-off-by: xuegao <xg353y@intl.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>
|
|
Fix issues from the previous commit.
Issue-ID: CLAMP-512
Change-Id: I84b97e9c457f34771b4c8e723dbeeb7fdfc3a18f
Signed-off-by: xuegao <xg353y@intl.att.com>
|
|
Add more tests for react UI.
Issue-ID: CLAMP-512
Change-Id: Iab51ff107688164dfa85341a3758b8799fe60ecd
Signed-off-by: xuegao <xg353y@intl.att.com>
|
|
Add unit tests for backend and frontend.
Issue-ID: CLAMP-512
Change-Id: I713ba2dce3bd132e7e3e713f4e91e3662df7aafd
Signed-off-by: xuegao <xg353y@intl.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>
|
|
Add react ui test to improve code coverage.
Issue-ID: CLAMP-509
Change-Id: Ic9c974a78ee453dddb8f985f3e9c9067f66e95d9
Signed-off-by: xuegao <xg353y@intl.att.com>
|
|
Add more tests for react UI.
Issue-ID: CLAMP-509
Change-Id: I58f6408bcd8667fa8b16b0b2f31f8287bdfac8c9
Signed-off-by: xuegao <xg353y@intl.att.com>
|
|
Update the css of the Jsoneditor tab component so that the operational
policy UI will not have names overlapped.
Issue-ID: CLAMP-511
Change-Id: I05806a398cd7f642290d7dbef1e58533a8bdac1c
Signed-off-by: xuegao <xg353y@intl.att.com>
|
|
Adding unit tests for React UI
Issue-ID: CLAMP-509
Change-Id: If31bbea7972736aa190fd0fed19336a1aa382af8
Signed-off-by: xuegao <xg353y@intl.att.com>
|
|
Removal of useless code not used anymore in clamp because model are
received from CSAR
Issue-ID: CLAMP-487
Change-Id: Ifeb0411e7f7cd599cb5cf5d8f5b0e33d34bbf396
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
|
|
FIx some issues reported incorrectly by sonar for the new javascript
code
Issue-ID: CLAMP-425
Change-Id: I485b727c3a6007c0f0f9301fcda526b028d6251f
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
|
|
Reworking the react test with Jest & Enzyme + coverage
Issue-ID: CLAMP-425
Change-Id: If287e357f4afaf712587e21ef5e0cb26f8a46d4c
Signed-off-by: sebdet <sebastien.determe@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>
|
|
Update react compo to latest ones
Issue-ID: CLAMP-477
Change-Id: I108b31c7e25595d96bc598f394590f23436335a1
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
|
|
|
|
Modify the pom.xml to copy ui-react sources to target, add
maven-exec-plugin to run the "npm publish" step, update the package.json
to include where to publish
Issue-ID: CLAMP-450
Change-Id: Id0d15e71924867d1d4329a377661d125b21fee6c
Signed-off-by: TedHumphrey <Thomas.Humphrey@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>
|
|
Rework the loop properties window with React libraries.
Issue-ID: CLAMP-447
Change-Id: I5eba63aab39aeefe23d5fdc4732ce0d3d4a1682a
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>
|
|
|
|
|
|
Integrate Jest and Enzyme testing framework.
Issue-ID: CLAMP-425
Change-Id: I50427a5171c77c2d064fe5e913a46f95c4eb43bc
Signed-off-by: xuegao <xg353y@intl.att.com>
|
|
Add data saving operation to the configurationPolicyModal and rework of
the loopCache class
Issue-ID: CLAMP-426
Change-Id: I6ba5880254b15809313f3b809a65ab9e441cab30
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>
|
|
Fix reported javascript warnings by NodeJS when compiling
Issue-ID: CLAMP-426
Change-Id: Iebf369c0d3094fcbe83e9e5b1d6138b808105e46
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
|