Code Review
/
portal
/
nonrtric-controlpanel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Updated Control Panel for changed ECS NBI
[portal/nonrtric-controlpanel.git]
/
webapp-frontend
/
src
/
app
/
interfaces
/
policy.types.ts
diff --git
a/webapp-frontend/src/app/interfaces/policy.types.ts
b/webapp-frontend/src/app/interfaces/policy.types.ts
index
b6ecce6
..
0c46ec4
100644
(file)
--- 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
// Models of data used by the Policy Control
-export interface PolicyType {
+export interface PolicyTypeSchema {
+ id: string;
name: string;
name: string;
- schema: string;
schemaObject: any;
}
schemaObject: any;
}
+export interface PolicyType {
+ policy_schema: any;
+}
+
+export interface PolicyTypes {
+ policytype_ids: any[];
+}
+
+export interface PolicyInstances {
+ policy_ids: any[];
+}
+
export interface PolicyInstance {
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;
}
lastModified: string;
}
+export interface PolicyStatus {
+ last_modified: string;
+}
export interface PolicyInstanceAck {
status: string;
message: 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
+}