Policy types schemas should only be parsed once 22/1722/2
authorPatrikBuhr <patrik.buhr@est.tech>
Thu, 21 Nov 2019 15:04:59 +0000 (16:04 +0100)
committerPatrikBuhr <patrik.buhr@est.tech>
Fri, 22 Nov 2019 07:50:11 +0000 (08:50 +0100)
commit268acb16ac1b127220fbfd1ecb8b34e940e19a4b
treef5255cbe6dfc0135eae7d2d27cb703bcc138f0e7
parent592589c3bcaba8f8d309bccf9068c0fce4434da8
Policy types schemas should only be parsed once

The json schema foreach type was parsed several times each time the main
window was rendered.

Change-Id: I209af068d07444a76264764ba4d9a683acae9bc3
Issue-ID: NONRTRIC-61
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
dashboard/webapp-frontend/src/app/interfaces/policy.types.ts
dashboard/webapp-frontend/src/app/policy-control/policy-control.component.html
dashboard/webapp-frontend/src/app/policy-control/policy-control.component.ts
dashboard/webapp-frontend/src/app/policy-control/policy-instance-dialog.component.ts
dashboard/webapp-frontend/src/app/policy-control/policy-type.datasource.ts