aboutsummaryrefslogtreecommitdiffstats
path: root/ui-react
AgeCommit message (Collapse)AuthorFilesLines
2019-10-23Merge "Update React libraries"Sébastien Determe1-2/+5
2019-10-23Update React librariessebdet1-2/+5
Update the libraries so that we can verify in nexus iq that it's ok + skip the npm buil for now Issue-ID: CLAMP-450 Change-Id: Id4f0cde100ed8e1d44763d7b70791a736c52a1d6 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-10-21Fix issuesxuegao1-4/+1
Fix issues from the previous commit. Issue-ID: CLAMP-512 Change-Id: I84b97e9c457f34771b4c8e723dbeeb7fdfc3a18f Signed-off-by: xuegao <xg353y@intl.att.com>
2019-10-21Add ui testsxuegao3-7/+136
Add more tests for react UI. Issue-ID: CLAMP-512 Change-Id: Iab51ff107688164dfa85341a3758b8799fe60ecd Signed-off-by: xuegao <xg353y@intl.att.com>
2019-10-17Add unit testsxuegao6-0/+599
Add unit tests for backend and frontend. Issue-ID: CLAMP-512 Change-Id: I713ba2dce3bd132e7e3e713f4e91e3662df7aafd Signed-off-by: xuegao <xg353y@intl.att.com>
2019-10-09Fix policy status issuexuegao1-1/+9
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>
2019-10-07Fix Sonar vulnerabilitiesxuegao9-45/+56
Fix the vulnerabilities reported by Sonar. Issue-ID: CLAMP-530 Change-Id: I9f6a7fe9ce042045085c371ef3777188b11ffb36 Signed-off-by: xuegao <xg353y@intl.att.com>
2019-10-07Fix loopUI issuexuegao1-1/+2
Fix the issue that loopName doesn't show correctly. Issue-ID: CLAMP-529 Change-Id: I2f7916eb300cecc311b0752df92926c747b8eb71 Signed-off-by: xuegao <xg353y@intl.att.com>
2019-10-04Add react ui testxuegao8-27/+299
Add react ui test to improve code coverage. Issue-ID: CLAMP-509 Change-Id: Ic9c974a78ee453dddb8f985f3e9c9067f66e95d9 Signed-off-by: xuegao <xg353y@intl.att.com>
2019-10-01Add react ui testsxuegao6-7/+253
Add more tests for react UI. Issue-ID: CLAMP-509 Change-Id: I58f6408bcd8667fa8b16b0b2f31f8287bdfac8c9 Signed-off-by: xuegao <xg353y@intl.att.com>
2019-09-25Fix the ooperational policy ui issuexuegao1-2/+16
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>
2019-09-24Add unit tests for UIxuegao16-3/+1373
Adding unit tests for React UI Issue-ID: CLAMP-509 Change-Id: If31bbea7972736aa190fd0fed19336a1aa382af8 Signed-off-by: xuegao <xg353y@intl.att.com>
2019-09-10Remove Dead codesebdet1-1/+1
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>
2019-09-06Fix sonar issuessebdet9-26/+25
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>
2019-09-06Draft of React testsebdet8-13970/+210
Reworking the react test with Jest & Enzyme + coverage Issue-ID: CLAMP-425 Change-Id: If287e357f4afaf712587e21ef5e0cb26f8a46d4c Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-08-28Fix frontend dockersebdet3-24/+6
Fix the frontend docker in Nginx with https for backend in https as well Issue-ID: CLAMP-486 Change-Id: I33fd89289618affa5e734c80991aaefece31309e Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-08-26Fix the userInfosebdet5-21/+47
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>
2019-08-26Fix the CSSsebdet7-152/+101
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>
2019-08-24Update reactsebdet5-1024/+1299
Update react compo to latest ones Issue-ID: CLAMP-477 Change-Id: I108b31c7e25595d96bc598f394590f23436335a1 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-08-21Merge "Changes to support npm publish of reactjs components"Sébastien Determe3-10/+13657
2019-08-21Changes to support npm publish of reactjs componentsTedHumphrey3-10/+13657
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>
2019-08-19Draft of op policysebdet8-481/+106
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>
2019-08-19Rework deploy action and close modelxuegao8-26/+175
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>
2019-08-08Rework action itmesxuegao6-58/+240
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>
2019-08-02Add saving + reworksebdet4-32/+37
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>
2019-08-01Fix loop prop windowsebdet8-108/+113
Fix the loop Properties windows Issue-ID: CLAMP-447 Change-Id: I0d4002267feab57457067df345f6b56542926e35 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-07-29Merge "Rework user info window"Sébastien Determe3-2/+192
2019-07-29Merge "Rework Loop properties window"Sébastien Determe4-5/+140
2019-07-29Rework user info windowxuegao3-2/+192
Rework the user info window with react. Issue-ID: CLAMP-449 Change-Id: I260bcb3c15cae73af0c180706928415ddc81dfbf Signed-off-by: xuegao <xg353y@intl.att.com>
2019-07-23Rework Loop properties windowxuegao4-5/+140
Rework the loop properties window with React libraries. Issue-ID: CLAMP-447 Change-Id: I5eba63aab39aeefe23d5fdc4732ce0d3d4a1682a Signed-off-by: xuegao <xg353y@intl.att.com>
2019-07-19Rework the statussebdet6-56/+114
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>
2019-07-19Rework the logssebdet2-1/+96
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>
2019-07-19Merge "Add data saving"Xue Gao3-33/+74
2019-07-19Merge "Add generic svg selection"Xue Gao5-25/+46
2019-07-18Integrate testing frameworkxuegao5-1/+378
Integrate Jest and Enzyme testing framework. Issue-ID: CLAMP-425 Change-Id: I50427a5171c77c2d064fe5e913a46f95c4eb43bc Signed-off-by: xuegao <xg353y@intl.att.com>
2019-07-18Add data savingsebdet3-33/+74
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>
2019-07-18Add generic svg selectionsebdet5-25/+46
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>
2019-07-17Fix warningssebdet3-8/+9
Fix reported javascript warnings by NodeJS when compiling Issue-ID: CLAMP-426 Change-Id: Iebf369c0d3094fcbe83e9e5b1d6138b808105e46 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-07-17Draft of Config policysebdet7-22/+47
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>
2019-07-16SVG Renderingsebdet16-710/+372
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>
2019-07-15Rework the Open CL windowxuegao8-13/+199
Rework the Open CL window of the Clamp UI. Issue-ID: CLAMP-420 Change-Id: Ic7e1e6add4067bc2ee94bd758d76e15397d941df Signed-off-by: xuegao <xg353y@intl.att.com>
2019-07-12Rework the structuresebdet9-16/+27
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>
2019-07-12Introduce modalsebdet16-933/+1649
Test Modal for Operational policy and use react-router to show it Issue-ID: CLAMP-415 Change-Id: Ie0df5f1085925224076062c7d331dc2f4c72d032 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-07-10Create login page and add wiki/contact itemxuegao11-9/+428
Create the login page for Clamp Ui; Add wiki/contact page which chould be selected from the menu bar. Issue-ID: CLAMP-416, CLAMP-417 Change-Id: Idddafd9c59a1e4d2897e962c831060e55083025c Signed-off-by: xuegao <xg353y@intl.att.com>
2019-07-05More modular approachsebdet24-502/+1036
Modular approach for React components and CSS + theming Issue-ID: CLAMP-418 Change-Id: I359f31e92492ae75ac26ef297abde822c6cd56ea Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-06-28Create the sub components for new Clamp UIxuegao17-147/+579
Create the sub components for the new React Clamp UI Issue-ID: CLAMP-414 Change-Id: I3e9e6bf05559829d22936e06556fef60635a33d0 Signed-off-by: xuegao <xg353y@intl.att.com>
2019-06-25Fix frontend dep issuesebdet2-23/+28
Fix the frontend dependency issues Issue-ID: CLAMP-413 Change-Id: If7c8fd1a3afff349bf044cf2271883888b3c2d9a Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-06-25Restructure the clamp ui headerxg353y6-40/+221
Restructure the clamp ui header Issue-ID: CLAMP-414 Change-Id: I96553a60665553d4de8a8a60cb0e5d53ff949c62 Signed-off-by: xg353y <xg353y@intl.att.com>
2019-06-25Frontend initial draftsebdet8-0/+173
New frontend initial draft in React with docker image in nginx Issue-ID: CLAMP-413 Change-Id: Ie5826d79aa3db23f863e8fd217189ba41534abe9 Signed-off-by: sebdet <sebastien.determe@intl.att.com>