X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=webapp-frontend%2Fsrc%2Fapp%2Finterfaces%2Fpolicy.types.ts;h=0c46ec4e08c4c77b7f9b64576bcf9ec37131d551;hb=refs%2Fchanges%2F71%2F6071%2F2;hp=b6ecce62018678ff8291be4153293c3ac74366c5;hpb=f507d92d55ee77fad16cc024ea95c869e0d5dc32;p=portal%2Fnonrtric-controlpanel.git diff --git a/webapp-frontend/src/app/interfaces/policy.types.ts b/webapp-frontend/src/app/interfaces/policy.types.ts index b6ecce6..0c46ec4 100644 --- a/webapp-frontend/src/app/interfaces/policy.types.ts +++ b/webapp-frontend/src/app/interfaces/policy.types.ts @@ -20,21 +20,44 @@ // Models of data used by the Policy Control -export interface PolicyType { +export interface PolicyTypeSchema { + id: string; name: string; - schema: string; schemaObject: any; } +export interface PolicyType { + policy_schema: any; +} + +export interface PolicyTypes { + policytype_ids: any[]; +} + +export interface PolicyInstances { + policy_ids: any[]; +} + export interface PolicyInstance { - id: string; - json: string; - ric: string; - service: string; + policy_id: string; + policy_data: string; + ric_id: string; + service_id: string; lastModified: string; } +export interface PolicyStatus { + last_modified: string; +} export interface PolicyInstanceAck { status: string; message: string; } + +export interface CreatePolicyInstance { + policy_data: any, + policy_id: string, + policytype_id: string, + ric_id: string, + service_id: string +}