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
Move Enrichment Job Logic from backend
[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
8bc5eb1
..
9688a23
100644
(file)
--- a/
webapp-frontend/src/app/interfaces/policy.types.ts
+++ b/
webapp-frontend/src/app/interfaces/policy.types.ts
@@
-21,6
+21,7
@@
// Models of data used by the Policy Control
export interface PolicyTypeSchema {
// Models of data used by the Policy Control
export interface PolicyTypeSchema {
+ id: string;
name: string;
schemaObject: any;
}
name: string;
schemaObject: any;
}
@@
-33,13
+34,20
@@
export interface PolicyTypes {
policytype_ids: any[];
}
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;
export interface PolicyInstanceAck {
status: string;