summaryrefslogtreecommitdiffstats
path: root/gui-clamp/ui-react/src/components
AgeCommit message (Collapse)AuthorFilesLines
2022-05-05Added Edit Button Functionalitybrunomilitzer5-25/+102
Issue-ID: POLICY-4094 Change-Id: I7e83e1c194272f274f351bc1ee34761fcc7353a4 Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2022-04-06Gray-out links from older UI functionalitysaul.gill2-4/+12
Links are disabled and greyed out for non-acm functionality Altered menu bar test Issue-ID: POLICY-4082 Change-Id: I5b0807cfdc687de9fdc0accd38825ed6309f79db Signed-off-by: saul.gill <saul.gill@est.tech>
2022-03-14Added more unit tests for overall coveragebrunomilitzer5-72/+63
Issue-ID: POLICY-3932 Change-Id: I481f5da35047da7a790f02368cc915d5e1a9e04d Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2022-03-10Added Jest Tests for Overall Coveragebrunomilitzer2-12/+59
Issue-ID: POLICY-3873 Change-Id: Ie3516ad0178b7960e3ecc380eb0ad3a48a78ce1f Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2022-03-07Fixed Instance Properties Namebrunomilitzer4-17/+72
Added a input text box so the user can customize the instance name properties Issue-ID: POLICY-3978 Change-Id: I505eff37699dbe50a285ce2f153c70be246e1d8c Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2022-03-02Code Coverage in gui ui reactlapentafd2-0/+76
Issue-ID: POLICY-3351 Signed-off-by: lapentafd <francesco.lapenta@est.tech> Change-Id: I0a2ada8e19619eaf95012300c7a3c2c6013f2495
2022-02-28Renamed Control Loop to ACMbrunomilitzer65-281/+99
Issue-ID: POLICY-3940 Change-Id: I37d768ac339e4e354a369fcb659bf36da861d7aa Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2022-02-15Added Jest Test on SVG Generatorbrunomilitzer2-0/+38
Issue-ID: POLICY-3873 Change-Id: I5ad1ba66a6ac8c3b48c8468dbcd4fc2132060ceb Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2022-02-11Added Jest Tests on ViewAllPolicies and PolicyDeploymentEditorbrunomilitzer6-3/+284
Issue-ID: POLICY-3916 Change-Id: I81e34903bf1e8d2d059b755d58eea7738b600829 Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2022-02-04Added Policy Jest Testsbrunomilitzer12-77/+1222
Added more tests to increase overall coverage Issue-ID: POLICY-3899 Change-Id: I97e7954d42199145948f2ac2738a0ceaa7e6a44f Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2022-01-28Added Menu and Loop Jest Testsbrunomilitzer8-18/+415
Issue-ID: POLICY-3876 Change-Id: I5f4d80aefdff8b837a40742b66727b888e985b86 Signed-off-by: brunomilitzer <bruno.militzer@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 Testsbrunomilitzer14-265/+1979
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-11-04Merge "UPDATED Jest Unit Tests for Monitoring Functionality"Liam Fallon7-23/+358
2021-11-03Merge "Added tests to improve coverage"Liam Fallon20-195/+4896
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-10-29Added tests to improve coveragesaul.gill20-195/+4896
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-09-10Make gui-clamp work in Docker imagedanielhanrahan8-44/+19
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.brunomilitzer8-236/+366
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 Instantiationbrunomilitzer6-1/+533
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.gill8-28/+153
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 Formbrunomilitzer12-462/+387
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.gill5-37/+177
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.gill13-13/+514
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 Instantiationbrunomilitzer15-21/+707
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 dependenciesbrunomilitzer2-59/+59
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.gill15-218/+480
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 Guibrunomilitzer6-0/+436
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.gill6-2/+374
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.gill3-0/+216
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.gill3-7/+161
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 Repobrunomilitzer27-469/+2205
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 UIbrunomilitzer42-0/+7543
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