aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2021-11-03Merge "Added tests to improve coverage"Liam Fallon22-228/+4902
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-11-01Fix upload url arg name.andre.schmid1-1/+1
The current argument name for the upload-url is USERID, changing to UPLOAD_URL. Issue-ID: POLICY-3797 Signed-off-by: andre.schmid <andre.schmid@est.tech> Change-Id: I59ae27f6a3908c98d897b586668ae7b921366544
2021-11-01Merge "Added JEST Unit Tests for Monitoring Functionality"Liam Fallon13-98/+324
2021-10-29Merge "Add user id only when it was provided"Liam Fallon1-3/+6
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-29Merge "Fix APEX policy creation issue"Liam Fallon1-6/+7
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-28Add user id only when it was providedandre.schmid1-3/+6
During the policy upload call, the user id is being added as a query parameter even if it was not provided, causing to provide the value "null" as the userId parameter. This change just add the userId to the call when it is available. Issue-ID: POLICY-3796 Signed-off-by: andre.schmid <andre.schmid@est.tech> Change-Id: I7bcc928f1ca144ee1ad05e7d1028ea08a15ebd42
2021-10-27Fix APEX policy creation issueandre.schmid1-6/+7
Because of a not initialized javascript variable, the system calls a malformed url to create a APEX policy. This change correctly initializes the window.restRootURL when no apex_session is present in the localStorage. Issue-ID: POLICY-3794 Signed-off-by: andre.schmid <andre.schmid@est.tech> Change-Id: I068bd86a747e7eafc3f17aa0faf5fdc778195711
2021-10-27Merge "Improved Test Coverage in gui-editor-apex"Ajith Sreekumar7-5/+235
2021-10-26Improved Test Coverage in gui-editor-apexLathish7-5/+235
Issue-ID: POLICY-3351 Change-Id: Iad12ef6340978a2b183d129e65c9a94d6e71d27a Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
2021-10-25Point to snapshot dependencyRam Krishna Verma1-3/+3
Issue-ID: POLICY-3788 Change-Id: I49797138371b4cc4316746b75fd9d8a3da2f9e59 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-10-14Bump policy/gui to Jakarta 2.2.0-SNAPSHOTliamfallon9-10/+10
Issue-ID: POLICY-3696 Change-Id: I7b0b53fdbe081d23b3ecbe588127628711f8cb39 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-10-14Bump policy/gui to 2.1.2-SNAPSHOTliamfallon9-9/+9
Issue-ID: POLICY-3696 Change-Id: I4421be435ef9ad0d08266a289a2eafcb8d749bac Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-10-14Release policy/gui 2.1.1 docker imagesliamfallon1-0/+8
Issue-ID: POLICY-3696 Change-Id: I0f7b0fca103ca7688b348fb0e236ec5a31828c9a Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-10-13Release policy/gui 2.1.1liamfallon1-0/+5
Issue-ID: POLICY-3696 Change-Id: I1dc5758b3908a0354e2b0637215631b33ceb5fbe Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-10-13Update parent/common/models/docker referencesliamfallon2-4/+4
Issue-ID: POLICY-3696 Change-Id: Iae8f307acf1dfaf9a3b05b7e5d51e1d91a1189dc 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-10-01Suppress useless nginx error messages in guidanielhanrahan1-1/+1
Log only warnings and higher in nginx error log Issue-ID: POLICY-3683 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Id283f34e46633105db7ddf12791c9eb895ee35af
2021-09-28Fix JSON parse error in PDP Monitoring GUIdanielhanrahan1-1/+7
Add Gson type adapter to parse Instant Issue-ID: POLICY-3680 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Ibcd7878f5c7ab9e2d4d7ffc337b9cc440caf19c3
2021-09-27Disable apex-editor and pdp-monitoringdanielhanrahan5-65/+2
Have only nginx process (clamp) running in policy-gui Issue-ID: POLICY-3650 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: If15d54f83444b845dc23b090cf966afaf1664490
2021-09-22Clean package-lock.json filesdanielhanrahan4-6/+15
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-SNAPSHOTliamfallon9-9/+9
Issue-ID: POLICY-3587 Change-Id: Ic3e575578ae0e2302925864a43ec81fc91cf55a3 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-09-15Release gui 2.1.0 docker imageliamfallon1-0/+8
Issue-ID: POLICY-3587 Change-Id: I4e964de10ca2778c06721919d7b29ec262177278 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-09-15Release gui 2.1.0 maven artifactsliamfallon1-0/+5
Issue-ID: POLICY-3587 Change-Id: Id59cf2a8c435c5eceeb76c2c13a23e52cdd073b3 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-09-14Merge "Use released common and models"Pamela Dragosh1-2/+2
2021-09-13Use released common and modelsliamfallon1-2/+2
Issue-ID: POLICY-3587 Change-Id: I65a92003eba685831129f6c74f4b742418508538 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-09-10Merge "Remove CLAMP_REST_URL variable from Docker image"Liam Fallon6-39/+20
2021-09-10Remove CLAMP_REST_URL variable from Docker imagedanielhanrahan6-39/+20
Remove redundant CLAMP_REST_URL environment variable Update README to remove references to CLAMP_REST_URL Group Dockerfile COPY commands to reduce image layers Issue-ID: POLICY-3639 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Ia6947a6681875167dfc63b0ffd19f7dc6faad6d4
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-10Merge "Add Delete Instantiation Functionality."Liam Fallon13-245/+407
2021-09-10Ensure that login in policy-gui works with AAFdanielhanrahan5-7/+87
Add CLAMP SSL cert and key to Docker image Change nginx port from 8080 to 2443 and enable SSL Update README to include instructions on certificate login Issue-ID: POLICY-3615 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I5211d30c420d75a94621399f33763b8156c50b5b
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-09Remove blank line from INFO.yamlliamfallon1-1/+0
Issue-ID: POLICY-3587 Change-Id: Iebe527c5533633face5ba859a51123f9fe6fdf08 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-09-09Point at released policy-parentliamfallon1-1/+1
Issue-ID: POLICY-3587 Change-Id: I33000b3a514af99208b380973485f0c6048b39fb Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-09-09Merge "Fix sonar issue in policy/gui"Pamela Dragosh1-2/+1
2021-09-09Merge "Update INFO.yaml"Pamela Dragosh1-11/+20
2021-09-08Fix sonar issue in policy/guiRam Krishna Verma1-2/+1
Issue-ID: POLICY-3077 Change-Id: Ia4a1a12ab286d40205ec5a81d130c4845cd93cea Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-09-08Update INFO.yamlliamfallon1-11/+20
Update the INFO.yaml file with latest information. Issue-ID: POLICY-3552 Change-Id: I454ebb9bd0589dd43563fe6df8a97e0c741d13f3 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-09-07Make gui-pdp-monitoring work in Docker imagedanielhanrahan12-72/+50
Serve PDP Monitoring HTML using nginx in Docker image Don't serve HTML content from PdpMonitoringServer Remove unused dependencies in gui-pdp-monitoring Add proxy setting for local dev testing with npm start Issue-ID: POLICY-3603 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I9a4c2b250a1f0460892a367a3b5bbb59e0e92411
2021-09-02Merge "Fix static web resource paths in gui-editor-apex"Jim Hahn2-304/+304
2021-09-02Merge "Add docker image generation to maven for policy-gui"Jorge Hernandez12-1/+514
2021-09-02Merge "Add missing JS import in gui-editor-apex"Jorge Hernandez1-1/+1
2021-09-02Fix static web resource paths in gui-editor-apexdanielhanrahan2-304/+304
Some relative paths in the HTML/CSS are incorrect in the build Issue-ID: POLICY-3601 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Ifb9f4b428f3732cd601a3128df27d720a55f88fa
2021-09-01Fix sonar issues in policy/guiRam Krishna Verma4-16/+18
Issue-ID: POLICY-3095 Change-Id: Ida760b380acbc5784f685e0a4c95c09f017ebf57 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-09-01Add missing JS import in gui-editor-apexdanielhanrahan1-1/+1
There is a missing import for apexUtils_escapeHtml (used on line 53), preventing the context schema table from loading Issue-ID: POLICY-3602 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Id08864c93201007ee353f054f0580024af1d878a
2021-09-01Add docker image generation to maven for policy-guidanielhanrahan12-1/+514
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-27Fix sonar issues in policy/guiRam Krishna Verma6-57/+52
Issue-ID: POLICY-3077 Change-Id: Idcd08427cbff2cfdd8ba99db7cf32a0f5c978415 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-08-26Fix sonar issuesRam Krishna Verma12-70/+71
Issue-ID: POLICY-3077 Change-Id: Iae7bad7bc69bc4c5cd974e8439f8f433a43123d0 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>