aboutsummaryrefslogtreecommitdiffstats
path: root/gui-clamp
AgeCommit message (Collapse)AuthorFilesLines
2022-01-17Merge "Improved Test coverage for Service Component"Liam Fallon7-0/+1304
2022-01-14Improved Test coverage for Service ComponentLathish7-0/+1304
Issue-ID: POLICY-3351 Change-Id: I7d710a3fbd91d3c62fe29c4748244b480e7798e6 Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
2022-01-11Added Test Code Coveragebrunomilitzer8-102/+198
Issue-ID: POLICY-3563 Change-Id: I65cd2bfc72b973baa8f2b28a14e5d364ca4562a2 Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2022-01-04Added Jest Unit Testsbrunomilitzer16-267/+1985
Jest Tests for creation of instance properties Jest Tests for deletion of instance properties Included Issue-Id: 3566 Issue-ID: POLICY-3563 Signed-off-by: brunomilitzer <bruno.militzer@est.tech> Change-Id: I227ae8f306df10ee3cc341791471dda9ca79d9d1
2021-12-01Add package-lock.json to gui-clampdanielhanrahan2-4/+40930
Prevent maven from cleaning package-lock.json Restore package-lock.json which was mistakenly removed in commit 1789e7f Issue-ID: POLICY-3806 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Id90c6befa34495cddb018af540a93d9c0af3f856
2021-11-29Update snapshot of policy/gui to 2.2.1-SNAPSHOTliamfallon2-40931/+1
*** This commit is generated by a PF release script *** policy/gui is update from 2.2.0-SNAPSHOT to 2.2.1-SNAPSHOT Issue-ID: POLICY-3827 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I5629154c1c381e34c9221dc07286a0219893b360
2021-11-05Merge "Added package-lock.json to the gui-clamp"Liam Fallon3-1/+40967
2021-11-04Merge "UPDATED Jest Unit Tests for Monitoring Functionality"Liam Fallon7-23/+358
2021-11-03Added package-lock.json to the gui-clampLathish3-1/+40967
This will resolve dependency tree conflict Issue-ID: POLICY-3806 Change-Id: I8c47e400a582762ac8b1ed74a2f7ff1ca31610f2 Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
2021-11-03Merge "Added tests to improve coverage"Liam Fallon22-228/+4902
2021-11-03UPDATED Jest Unit Tests for Monitoring Functionalitybrunomilitzer7-23/+358
Updated Unit Tests to cover monitoring functionality Issue-ID: POLICY-3561 Change-Id: I8434cf5d60463d60175ef6e48f0e75e8c4f656da Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2021-11-02Adding gui-clamp coverage to sonarsaul.gill2-2/+14
Added sonar properties to pom.xml Added jest sonar properties to package.json Issue-ID: POLICY-3804 Change-Id: I1b5bc67bc5457661ed56fdfe4d7fd260282f664b Signed-off-by: saul.gill <saul.gill@est.tech>
2021-10-29Added tests to improve coveragesaul.gill22-228/+4902
Added new tests and snapshots Altered existing tests to bring up coverage Altered package.json in response to warning messages Removed unused functions from ControlLoopService Added json testFiles Added utils directory for out-of-component functions Issue-ID: POLICY-3643 Change-Id: I3405a4421637e63235ff5176c913a5a5f9a4a44c Signed-off-by: saul.gill <saul.gill@est.tech>
2021-10-28Added JEST Unit Tests for Monitoring Functionalitybrunomilitzer13-98/+324
Created Unit Tests to cover monitoring functionality Issue-ID: POLICY-3561 Change-Id: I48035f3960447c66d29005d5eba2e8332c55b591 Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2021-10-14Bump policy/gui to Jakarta 2.2.0-SNAPSHOTliamfallon1-1/+1
Issue-ID: POLICY-3696 Change-Id: I7b0b53fdbe081d23b3ecbe588127628711f8cb39 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-10-14Bump policy/gui to 2.1.2-SNAPSHOTliamfallon1-1/+1
Issue-ID: POLICY-3696 Change-Id: I4421be435ef9ad0d08266a289a2eafcb8d749bac Signed-off-by: liamfallon <liam.fallon@est.tech>
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-22Clean package-lock.json filesdanielhanrahan1-0/+4
Clean package-lock.json files with maven clean Remove incorrect entry from .gitignore Issue-ID: POLICY-3646 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Iab744932f7def2495afa4600c9e26dbe71a1414a
2021-09-15Bump policy-gui snapshot version to 2.1.1-SNAPSHOTliamfallon1-1/+1
Issue-ID: POLICY-3587 Change-Id: Ic3e575578ae0e2302925864a43ec81fc91cf55a3 Signed-off-by: liamfallon <liam.fallon@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.brunomilitzer13-245/+407
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-09-01Add docker image generation to maven for policy-guidanielhanrahan2-0/+65
Add maven uber-jar artifact for gui-editor-apex Add maven tarball artifact for gui-clamp Create docker image containing nginx and policy GUIs Issue-ID: POLICY-3574 Change-Id: I06e5ed6fb610e0746f376114f628bb9b1a530cab Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
2021-08-20ADD State Change CL Instantiationbrunomilitzer11-1/+566
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 Formbrunomilitzer17-504/+419
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 Instantiationbrunomilitzer21-32/+746
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 dependenciesbrunomilitzer4-216/+216
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.gill20-379/+407
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-28Merge "Fix merge jobs failing"Jim Hahn1-0/+1
2021-06-28Fix merge jobs failingarkadiusz.adamski1-0/+1
- add npm publish url Issue-ID: POLICY-3388 Signed-off-by: arkadiusz.adamski <aadamski@est.tech> Change-Id: Ie14bda34d30b452501d61b9a3acd384ac06c8a6c
2021-06-28Merge "Add Tosca Monitoring App to Policy Gui"Ajith Sreekumar11-2/+498
2021-06-25Fix merge jobs failingarkadiusz.adamski1-10/+12
- fix library version Issue-ID: POLICY-3388 Signed-off-by: arkadiusz.adamski <aadamski@est.tech> Change-Id: Id338b7f4e3d95bad8c78134c6a8e14ddb954b2f5
2021-06-25Fix merge jobs failingarkadiusz.adamski2-3/+5
- fix library version Issue-ID: POLICY-3388 Signed-off-by: arkadiusz.adamski <aadamski@est.tech> Change-Id: I2b5267c17d439b06c4eb91e174be705c7adfa5a6
2021-06-24Add Tosca Monitoring App to Policy Guibrunomilitzer11-2/+498
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-24Fix merge jobs failingarkadiusz.adamski1-1/+1
- fix library version Issue-ID: POLICY-3388 Signed-off-by: arkadiusz.adamski <aadamski@est.tech> Change-Id: Ia50a9ada9c9d1eab17954c82005e368cd9bea8ec
2021-06-24Merge "Fix merge jobs failing"Jim Hahn1-37/+38
2021-06-24Fix merge jobs failingarkadiusz.adamski1-37/+38
- fix import addresses Issue-ID: POLICY-3388 Signed-off-by: arkadiusz.adamski <aadamski@est.tech> Change-Id: I6d4813f017b6fc2e656bb4d514601b3be1380be5
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.gill9-3/+293
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 Repobrunomilitzer33-571/+2275
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-06-03Refactor .gitignore file to remove irrelevant infobrunomilitzer1-1045/+18
Issue-ID: POLICY-3325 Change-Id: Ie3d1ee46c9ac351ba9438b4b0a2bcaa47486d7ac Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2021-05-27React Front-End UIbrunomilitzer80-3/+12779
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
2021-05-12Create module to hold CLAMP client codebrunomilitzer1-0/+33
Issue-ID: POLICY-3218 Change-Id: Icc74332c71b69a059178985b5b63b3bfff7ff956 Signed-off-by: brunomilitzer <bruno.militzer@est.tech>