Fix PolicyInstanceComponent and add test coverage 78/5878/7
authorelinuxhenrik <henrik.b.andersson@est.tech>
Fri, 9 Apr 2021 08:36:56 +0000 (10:36 +0200)
committerelinuxhenrik <henrik.b.andersson@est.tech>
Tue, 13 Apr 2021 12:49:58 +0000 (14:49 +0200)
commitb0ff9d1cf925365ede88198824c5893c04b1c7b9
tree0d835b19997872790097d7d5f00e3662fa90bb12
parent2b5577d7b7477a8de14d7553560d864d6476fc00
Fix PolicyInstanceComponent and add test coverage

Fix so that the instance table is correctly loaded.

Change so that the table is not reloaded when the PolicyInstanceDialog
is closed without submitting the policy.

Change-Id: I883f0a0b42294b18ba0f4d1228c07d78609932ad
Issue-ID: NONRTRIC-472
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
webapp-frontend/src/app/mock/policy-instance-2.json
webapp-frontend/src/app/policy/policy-instance-dialog/policy-instance-dialog.component.spec.ts
webapp-frontend/src/app/policy/policy-instance-dialog/policy-instance-dialog.component.ts
webapp-frontend/src/app/policy/policy-instance/policy-instance.component.html
webapp-frontend/src/app/policy/policy-instance/policy-instance.component.scss
webapp-frontend/src/app/policy/policy-instance/policy-instance.component.spec.ts
webapp-frontend/src/app/policy/policy-instance/policy-instance.component.ts
webapp-frontend/src/app/policy/ric-selector/ric-selector.component.ts