summaryrefslogtreecommitdiffstats
path: root/gui-clamp/ui-react
AgeCommit message (Collapse)AuthorFilesLines
2021-10-08Fix delete instance in Design statesaul.gill2-2/+2
Original change was made in clamp repo Change must also be added to gui repo Downgraded material-table due to build-breaking dependency Issue-ID: POLICY-3707 Change-Id: I708e867f6336c8bf34edc08156a731cc9439e763 Signed-off-by: saul.gill <saul.gill@est.tech>
2021-09-10Make gui-clamp work in Docker imagedanielhanrahan10-74/+53
Change package.json to generate URLs relative to current pathname Change REST URLs to use window.location.pathname Remove broken React state variables for window.location.pathname Issue-ID: POLICY-3600 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I6951a0a6b3f3bef15d262242df13cc2d20a198c8
2021-09-10Add Delete Instantiation Functionality.brunomilitzer12-244/+405
Update UI to centralize Instantiation Management Created Delete button to delete the instantiations Fixed Change Order State Functionality Issue-ID: POLICY-3558 Change-Id: I2efb00ce041ab4fc217e06ed72385ad8ea1b10fb Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2021-08-20ADD State Change CL Instantiationbrunomilitzer10-1/+564
Will Apply Unit Tests on POLICY-3537, since focus is to get the functionalities completed. Issue-ID: POLICY-3425 Change-Id: I926bb1a213e71dee56c0fc5df4779a4f1b633383 Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2021-08-11Add error handling and refactoringsaul.gill9-73/+186
Added error for when common or instance props can't be retrieved Added error for monitoring when control loops can't be retrieved Made node templates collapsed by default when editing properties Added single service function to get common or instance properties Issue-ID: POLICY-3439 Change-Id: I74560a06aae1a820862f977d5e7ac86597a093c0 Signed-off-by: saul.gill <saul.gill@est.tech>
2021-07-30Add Instance Properties Formbrunomilitzer16-503/+418
Added save button to update paramaters Added service to retrieve paramaters; Added service to upload instance paramaters Issue-ID: POLICY-3436 Change-Id: I82e7545b12160f2e7937db2fdb3857c66ea0b858 Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2021-07-29Added Common Parameter Formsaul.gill6-37/+193
Added save button for user edits Added commission button to push up edits Added service to retrieve common parameters Issue-ID: POLICY-3439 Change-Id: Ia355f36bf263bb1385db363a267c53af86504905 Signed-off-by: saul.gill <saul.gill@est.tech>
2021-07-19Added Commissioning Template Editorsaul.gill18-17/+574
Added a new modal to allow editing of the tosca template Json schema from the backend generates a for the user Added Decommissioning capability while viewing template Added service for decommissioning Issue-ID: POLICY-3439 Change-Id: Ic5bec9ea26aa8df468d36a893faa06f88d248dd5 Signed-off-by: saul.gill <saul.gill@est.tech>
2021-07-13Add Upload Control Loop Instantiationbrunomilitzer20-31/+741
Created Functionality to Upload JSON file to Control Loop Instantiation. Issue-ID: POLICY-3436 Change-Id: Iefd538c91154b7e61615ab63b440378e2feea502 Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2021-07-07Update React NPM dependenciesbrunomilitzer3-160/+160
Updated React UI and React UI Lib dependencies to the latest version. Issue-ID: POLICY-3354 Change-Id: I12e0bb7e01d426928e3184fcd49f461f775a369a Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2021-07-02Changed components to be service-centricsaul.gill19-375/+403
Moved endpoints to ControlLoopService.js Refactored components and tests Issue-ID: POLICY-3424 Change-Id: I70d48750250eecd651b845ef0c726617983f75f5 Signed-off-by: saul.gill <saul.gill@est.tech>
2021-06-24Add Tosca Monitoring App to Policy Guibrunomilitzer10-0/+494
Implemented the prototype monitoring gui onto the policy gui Issue-ID: POLICY-3357 Change-Id: Iabf25cd6c26d4e65a7a963cdd79c25aa91c39736 Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2021-06-24Added jest/enzyme tests for new componentssaul.gill13-4/+526
Tests and snapshots added for reference Single package added to package.json Issue-ID: POLICY-3423 Change-Id: Ica0045bb80f587856f6e2392c3d846b6416cce21 Signed-off-by: saul.gill <saul.gill@est.tech>
2021-06-17Added Tosca File Upload Functionalitysaul.gill8-3/+289
Added 2 new components One deals with the file upload to commissioning Other deals with display of the ui elements Issue-ID: POLICY-3222 Change-Id: I3b20489bb9e5c499f842cc8adde8147d3e3e8de0 Signed-off-by: saul.gill <saul.gill@est.tech>
2021-06-11Added GET Tosca Service Template componentssaul.gill8-31/+252
Added in header, using existing styling Integrated with existing FE Issue-ID: POLICY-3222 Change-Id: I5b6a9f4be3296b2969baa559a7a48c87d2ab9258 Signed-off-by: saul.gill <saul.gill@est.tech>
2021-06-04MERGE Clamp UI-React repo to Policy Gui Repobrunomilitzer32-570/+2272
According to a Diff differences from one repo to the other, there was some missing changes from the original clamp repo to the policy gui repo. Issue-ID: POLICY-3267 Change-Id: I9a71841732dc5c3d9623bca9c1384866f4c826a6 Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2021-05-27React Front-End UIbrunomilitzer74-0/+11364
This commit is to move the React front end files from the Clamp Policy Repo to the Onap Gui Policy Repo. Also created the added Maven featue to compile the React project via Node and NPM, and copy the production files to the target directory. Fixed in gitignore that was ignoring the contents inside the logs/ directory. Reformated JS spacing files from 4 spaces to 2 spaces. Fixed Broken JEST test Applied Jim's Code Review as well updated Node Version from 12.18 to 14.17 accross the modules. Unfortunately cannot apply NPM version since it broke npm install. Fixed ONAP Job Builder Linting Error Applied Jim's Second Code Review Issue-ID: POLICY-3218 Signed-off-by: brunomilitzer <bruno.militzer@est.tech> Change-Id: I01f95c350d27d72f941c835592fd596472601d6e