aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2021-07-16Use lombok annotations in guiJim Hahn18-593/+67
Issue-ID: POLICY-3395 Change-Id: I7820877522875a3caf47e3b7409eb4f7fb15ba2b Signed-off-by: Jim Hahn <jrh3@att.com>
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-25Merge "Fix merge jobs failing"Jim Hahn1-10/+12
2021-06-25Merge "Update gui for checkstyle 8.43"Ram Krishna Verma2-11/+11
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-24Update gui for checkstyle 8.43liamfallon2-11/+11
Issue-ID: POLICY-3206 Change-Id: I5b80398352d03a0fe2853690b6b0d3019d204a7e Signed-off-by: liamfallon <liam.fallon@est.tech>
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-23Merge "Added Tosca File Upload Functionality"Liam Fallon9-3/+293
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-16Increase code coverage on guiarkadiusz.adamski4-27/+451
- increase code coverage on gui js Issue-ID: POLICY-3351 Signed-off-by: arkadiusz.adamski <aadamski@est.tech> Change-Id: I4c633b0a46f75ceb3f6a4721e8311d938168982e
2021-06-16Merge "Increase code coverage on gui"Liam Fallon4-56/+295
2021-06-15Merge "Fix sonar in policy/gui"Pamela Dragosh7-16/+20
2021-06-15Increase code coverage on guiarkadiusz.adamski4-56/+295
- increase code coverage on gui js Issue-ID: POLICY-3351 Signed-off-by: arkadiusz.adamski <aadamski@est.tech> Change-Id: I5c24e6f02c401fd1eaee819105673cfcf1c81e13
2021-06-14Fix sonar in policy/guiRam Krishna Verma7-16/+20
use "var" for local variables Issue-ID: POLICY-3077 Change-Id: I6e31317bfda3d2b9bdde038cec709a3398f2f655 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
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-04Merge "Increase code coverage on gui.editors.apex.rest"Liam Fallon9-1/+613
2021-06-03Increase code coverage on gui.editors.apex.restarkadiusz.adamski9-1/+613
- increase code coverage on gui.editors.apex.rest Issue-ID: POLICY-3351 Signed-off-by: arkadiusz.adamski <aadamski@est.tech> Change-Id: I481ecea3b77ec4e7b7fbdd0475becec0ccea11dc
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-28Merge "React Front-End UI"Jim Hahn83-73/+12849
2021-05-27React Front-End UIbrunomilitzer83-73/+12849
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-20gui-editor-apex doesn't contain webapp correctlyarkadiusz.adamski1-1/+6
- change location of css, js and html files in jar. Issue-ID: POLICY-3322 Signed-off-by: arkadiusz.adamski <aadamski@est.tech> Change-Id: I712e84cc3a923bdfd6f7857afec914a37f47a54d
2021-05-12Merge "Create module to hold CLAMP client code"Ram Krishna Verma2-1/+35
2021-05-12Create module to hold CLAMP client codebrunomilitzer2-1/+35
Issue-ID: POLICY-3218 Change-Id: Icc74332c71b69a059178985b5b63b3bfff7ff956 Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2021-05-10Fix sonars in policy-guiJim Hahn21-83/+84
Fixed: - use "var" Only fixed the ones I saw visually, as SonarLint wouldn't run - something about missing node.js. Issue-ID: POLICY-3094 Change-Id: I594d424b42ce446d86724d75b1dd9ec868c14f2b Signed-off-by: Jim Hahn <jrh3@att.com>
2021-04-23Fix gui-editor-apex fails to startarkadiusz.adamski1-22/+26
- fix NullPointerException when gui-editor is started with command line - clean up code Issue-ID: POLICY-3235 Signed-off-by: arkadiusz.adamski <aadamski@est.tech> Change-Id: Ia05a4a808c3fa266e702f627959a382b0344f5db
2021-04-15Address plugin-not-found issuesJim Hahn1-31/+0
Removed references to archetype-packaging and lifecycle-mapping, where unnecessary due to pom inheritance. Issue-ID: POLICY-3136 Change-Id: Iae3278accea933a18224f10b63a01658948b39db Signed-off-by: Jim Hahn <jrh3@att.com>
2021-04-13Update version of maven resources pluginJim Hahn1-26/+12
Policy parent specifies a newer version of the maven resources plugin. Modified the pom to work with it. According to the docs, copy-resources is only needed when copying from directories outside of src/main/resources. Issue-ID: POLICY-3182 Change-Id: Icb125914dd0fc15a9b2da4290b7e06338a0fae4a Signed-off-by: Jim Hahn <jrh3@att.com>
2021-04-12Use alternate repo for npmJim Hahn2-2/+6
Also updated version of npm, as 6.14.4 does not appear within the repo. Issue-ID: POLICY-3182 Change-Id: I61ec07ad525d165828bb7c97af00bb740d939cc3 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-04-08Upgrade dependencies in guiJim Hahn1-4/+4
The gui builds are failing, because the policy dependencies cannot be found. Upgraded the dependency versions to the latest policy snapshots. Issue-ID: POLICY-3180 Change-Id: Id90addb5a15bbdaa4842c1751ac0022f38417e49 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-03-29Fix sonarqube code Bugmkidd3-10/+8
ApexEditorParameters has a URI that sonar does not like, hard coding the leading forward slash removes the complaint ApexEditorMain was receiving args and a print stream in the form of System.err and then System.out, both of these were null values, while Sonar sees System.out or err as a bug as it should be a logger, simply passing null in its place is not an issue to sonar BeanBase.java Removed an if statement that always asserted to be true, as it is inside an if statement that confirmed that condition. removed an accessibility change as sonar sees this as a violation Issue-ID: POLICY-3095 Signed-off-by: mkidd <michael.kidd@est.tech> Change-Id: I1bbdfe9cc6db085195e95da3dbfbc8b29d9a5ff5 Signed-off-by: mkidd <michael.kidd@est.tech>
2021-03-25Fix sonarqube code smellsmkidd18-135/+108
Making changed regarding code smells. Some variables being declared twice while in scope. renaming some modelFileName in ApexFiles.js that is being declared while there is a constant with the same name. renamed some of the for loop control variables so that sonarqube doesnt see it as an issue Made changes based on reviews Issue-ID: POLICY-3095 Change-Id: If38934247a4e4ff9c48043feb3adde5505c46993 Signed-off-by: mkidd <michael.kidd@est.tech>
2021-03-12Fix tests code smells - less assertions per testmkidd1-16/+204
ApexEditorRestResourceTest.java - separate test methods into smaller methods so that less assertions are made per method Issue-ID: POLICY-3095 Change-Id: Ic7f54916a130dbb403102dec51e6e2fec708f0cf Signed-off-by: mkidd <michael.kidd@est.tech>
2021-03-11Merge "fix code smells and vulnerabilities monitoring"Liam Fallon3-8/+8
2021-03-10fix code smells and vulnerabilities monitoringmkidd4-11/+11
removed / from start of Rest path, hard coded it - resolves code smell issue small code smell changes regarding passing variables to functions that have access to the variable from its current scope reintroduced data parameter being passed in MonitoringUtils.js, can look into this more later fixed pom for parent version, commons step up Issue-ID: POLICY-3095 Signed-off-by: mkidd <michael.kidd@est.tech> Change-Id: Id8b6a8b41e9b3c2f362821750d3fa728b93336a0 Signed-off-by: mkidd <michael.kidd@est.tech>
2021-03-10pom file changes for snapshotmkidd1-3/+3
pointed parent to 3.3.1-SNAPSHOT pointed policy.common to 1.8.1-SNAPSHOT pointed policy.models to 2.4.2-SNAPSHOT Issue-ID: POLICY-3095 Signed-off-by: mkidd <michael.kidd@est.tech> Change-Id: Ic5ebe398abb289c7fba6e8de14bf5d11a5c0e449 Signed-off-by: mkidd <michael.kidd@est.tech>
2021-03-03fix code smells and vulnerabilitiesmkidd2-15/+11
used await method inside an if statement that now runs the same code as the accompanying finally block. removed unused variables from ApexContextAlbumEditForm.js refactored vars that were redelared - this was not needed as there were variables of this name within scope added ! operator Issue-ID: POLICY-3095 Signed-off-by: mkidd <michael.kidd@est.tech> Change-Id: Idadf4dd6938be5410fef62140de8b265bbaca138
2021-03-03fix bugs in MonitoringChart.jsmkidd1-46/+33
removed redundant variables that re declared themselves refactored coded that repeated as a function Issue-ID: POLICY-3095 Signed-off-by: mkidd <michael.kidd@est.tech> Change-Id: I14be896ecb8d2f50ee5dc0c61009c6c2cab3e442
2021-02-24Update info.yaml in guiRam Krishna Verma1-2/+2
Issue-ID: POLICY-3028 Change-Id: I1e2fcc49f28a8fe620f39326dbe820bfc993e4da Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-02-22Merge "Refactor Policy-Gui to use Instant from Date"Jim Hahn1-3/+3