blob: 61aa1eb9e6710fa442d4ffa7b6f5d020c5fee27f [file] [log] [blame]
ITSERVICES\rb7147e0addf52017-04-25 11:46:00 -04001#
2# Default PIP Configuration from Policy.
3#
4xacml.pip.engines=AAF,sql1
5
6### AAF PIP Configuration.
7AAF.description=AAFEngine to communicate with AAF to take decisions
8AAF.classname=org.openecomp.policy.xacml.std.pip.engines.aaf.AAFEngine
9AAF.name=AAFEngine
10
11### sql1 PIP Configuration.
12# Class from XACML resource.
13sql1.classname=com.att.research.xacml.std.pip.engines.jdbc.JDBCEngine
14sql1.name=OperationsHistory
15sql1.description=Database of operations performed via closed loop.
16sql1.issuer=org:openecomp:xacml:sql123
17sql1.type=jdbc
18sql1.jdbc.driver=com.mysql.jdbc.Driver
19sql1.jdbc.url=jdbc:mysql://localhost:3306/policy
20sql1.jdbc.conn.user=root
21sql1.jdbc.conn.password=password
22
23#Each of the following resolvers corresponds to a specific time window. The only difference between them is the "interval" in the "select" SQL query and the "issuer".
24sql1.resolvers=tw5min,tw10min,tw30min,tw1h,tw12h,tw1d,tw5d,tw1w,tw1mon
25
26##############################################
27sql1.resolver.tw5min.select=select count(*) as count from operationshistory10 where outcome<>'Failure_Guard' and actor=? and operation=? and target=? and endtime between date_sub(now(),interval 5 minute) and now()
28sql1.resolver.tw5min.field.count.issuer=org:openecomp:xacml:sql:tw5min
29
30sql1.resolver.tw5min.classname=com.att.research.xacml.std.pip.engines.jdbc.ConfigurableJDBCResolver
31sql1.resolver.tw5min.name=OperationsCount
32sql1.resolver.tw5min.description=This returns the number of previous operations within the given time window
33sql1.resolver.tw5min.fields=count
34sql1.resolver.tw5min.field.count.id=count
35sql1.resolver.tw5min.field.count.datatype=http://www.w3.org/2001/XMLSchema#integer
36sql1.resolver.tw5min.field.count.category=urn:oasis:names:tc:xacml:3.0:attribute-category:resource
37sql1.resolver.tw5min.parameters=actor,operation,target
38sql1.resolver.tw5min.parameter.actor.id=actor
39sql1.resolver.tw5min.parameter.actor.datatype=http://www.w3.org/2001/XMLSchema#string
40sql1.resolver.tw5min.parameter.actor.category=urn:oasis:names:tc:xacml:3.0:attribute-category:resource
41sql1.resolver.tw5min.parameter.operation.id=recipe
42sql1.resolver.tw5min.parameter.operation.datatype=http://www.w3.org/2001/XMLSchema#string
43sql1.resolver.tw5min.parameter.operation.category=urn:oasis:names:tc:xacml:3.0:attribute-category:resource
44sql1.resolver.tw5min.parameter.target.id=target
45sql1.resolver.tw5min.parameter.target.datatype=http://www.w3.org/2001/XMLSchema#string
46sql1.resolver.tw5min.parameter.target.category=urn:oasis:names:tc:xacml:3.0:attribute-category:resource
47
48##############################################
49sql1.resolver.tw10min.select=select count(*) as count from operationshistory10 where outcome<>'Failure_Guard' and actor=? and operation=? and target=? and endtime between date_sub(now(),interval 10 minute) and now()
50sql1.resolver.tw10min.field.count.issuer=org:openecomp:xacml:sql:tw10min
51
52sql1.resolver.tw10min.classname=com.att.research.xacml.std.pip.engines.jdbc.ConfigurableJDBCResolver
53sql1.resolver.tw10min.name=OperationsCount
54sql1.resolver.tw10min.description=This returns the number of previous operations within the given time window
55sql1.resolver.tw10min.fields=count
56sql1.resolver.tw10min.field.count.id=count
57sql1.resolver.tw10min.field.count.datatype=http://www.w3.org/2001/XMLSchema#integer
58sql1.resolver.tw10min.field.count.category=urn:oasis:names:tc:xacml:3.0:attribute-category:resource
59sql1.resolver.tw10min.parameters=actor,operation,target
60sql1.resolver.tw10min.parameter.actor.id=actor
61sql1.resolver.tw10min.parameter.actor.datatype=http://www.w3.org/2001/XMLSchema#string
62sql1.resolver.tw10min.parameter.actor.category=urn:oasis:names:tc:xacml:3.0:attribute-category:resource
63sql1.resolver.tw10min.parameter.operation.id=recipe
64sql1.resolver.tw10min.parameter.operation.datatype=http://www.w3.org/2001/XMLSchema#string
65sql1.resolver.tw10min.parameter.operation.category=urn:oasis:names:tc:xacml:3.0:attribute-category:resource
66sql1.resolver.tw10min.parameter.target.id=target
67sql1.resolver.tw10min.parameter.target.datatype=http://www.w3.org/2001/XMLSchema#string
68sql1.resolver.tw10min.parameter.target.category=urn:oasis:names:tc:xacml:3.0:attribute-category:resource
69
70##############################################
71sql1.resolver.tw30min.select=select count(*) as count from operationshistory10 where outcome<>'Failure_Guard' and actor=? and operation=? and target=? and endtime between date_sub(now(),interval 30 minute) and now()
72sql1.resolver.tw30min.field.count.issuer=org:openecomp:xacml:sql:tw30min
73
74sql1.resolver.tw30min.classname=com.att.research.xacml.std.pip.engines.jdbc.ConfigurableJDBCResolver
75sql1.resolver.tw30min.name=OperationsCount
76sql1.resolver.tw30min.description=This returns the number of previous operations within the given time window
77sql1.resolver.tw30min.fields=count
78sql1.resolver.tw30min.field.count.id=count
79sql1.resolver.tw30min.field.count.datatype=http://www.w3.org/2001/XMLSchema#integer
80sql1.resolver.tw30min.field.count.category=urn:oasis:names:tc:xacml:3.0:attribute-category:resource
81sql1.resolver.tw30min.parameters=actor,operation,target
82sql1.resolver.tw30min.parameter.actor.id=actor
83sql1.resolver.tw30min.parameter.actor.datatype=http://www.w3.org/2001/XMLSchema#string
84sql1.resolver.tw30min.parameter.actor.category=urn:oasis:names:tc:xacml:3.0:attribute-category:resource
85sql1.resolver.tw30min.parameter.operation.id=recipe
86sql1.resolver.tw30min.parameter.operation.datatype=http://www.w3.org/2001/XMLSchema#string
87sql1.resolver.tw30min.parameter.operation.category=urn:oasis:names:tc:xacml:3.0:attribute-category:resource
88sql1.resolver.tw30min.parameter.target.id=target
89sql1.resolver.tw30min.parameter.target.datatype=http://www.w3.org/2001/XMLSchema#string
90sql1.resolver.tw30min.parameter.target.category=urn:oasis:names:tc:xacml:3.0:attribute-category:resource
91
92##############################################
93sql1.resolver.tw1h.select=select count(*) as count from operationshistory10 where outcome<>'Failure_Guard' and actor=? and operation=? and target=? and endtime between date_sub(now(),interval 1 hour) and now()
94sql1.resolver.tw1h.field.count.issuer=org:openecomp:xacml:sql:tw1h
95
96sql1.resolver.tw1h.classname=com.att.research.xacml.std.pip.engines.jdbc.ConfigurableJDBCResolver
97sql1.resolver.tw1h.name=OperationsCount
98sql1.resolver.tw1h.description=This returns the number of previous operations within the given time window
99sql1.resolver.tw1h.fields=count
100sql1.resolver.tw1h.field.count.id=count
101sql1.resolver.tw1h.field.count.datatype=http://www.w3.org/2001/XMLSchema#integer
102sql1.resolver.tw1h.field.count.category=urn:oasis:names:tc:xacml:3.0:attribute-category:resource
103sql1.resolver.tw1h.parameters=actor,operation,target
104sql1.resolver.tw1h.parameter.actor.id=actor
105sql1.resolver.tw1h.parameter.actor.datatype=http://www.w3.org/2001/XMLSchema#string
106sql1.resolver.tw1h.parameter.actor.category=urn:oasis:names:tc:xacml:3.0:attribute-category:resource
107sql1.resolver.tw1h.parameter.operation.id=recipe
108sql1.resolver.tw1h.parameter.operation.datatype=http://www.w3.org/2001/XMLSchema#string
109sql1.resolver.tw1h.parameter.operation.category=urn:oasis:names:tc:xacml:3.0:attribute-category:resource
110sql1.resolver.tw1h.parameter.target.id=target
111sql1.resolver.tw1h.parameter.target.datatype=http://www.w3.org/2001/XMLSchema#string
112sql1.resolver.tw1h.parameter.target.category=urn:oasis:names:tc:xacml:3.0:attribute-category:resource
113
114
115##############################################
116sql1.resolver.tw12h.select=select count(*) as count from operationshistory10 where outcome<>'Failure_Guard' and actor=? and operation=? and target=? and endtime between date_sub(now(),interval 12 hour) and now()
117sql1.resolver.tw12h.field.count.issuer=org:openecomp:xacml:sql:tw12h
118
119sql1.resolver.tw12h.classname=com.att.research.xacml.std.pip.engines.jdbc.ConfigurableJDBCResolver
120sql1.resolver.tw12h.name=OperationsCount
121sql1.resolver.tw12h.description=This returns the number of previous operations within the given time window
122sql1.resolver.tw12h.fields=count
123sql1.resolver.tw12h.field.count.id=count
124sql1.resolver.tw12h.field.count.datatype=http://www.w3.org/2001/XMLSchema#integer
125sql1.resolver.tw12h.field.count.category=urn:oasis:names:tc:xacml:3.0:attribute-category:resource
126sql1.resolver.tw12h.parameters=actor,operation,target
127sql1.resolver.tw12h.parameter.actor.id=actor
128sql1.resolver.tw12h.parameter.actor.datatype=http://www.w3.org/2001/XMLSchema#string
129sql1.resolver.tw12h.parameter.actor.category=urn:oasis:names:tc:xacml:3.0:attribute-category:resource
130sql1.resolver.tw12h.parameter.operation.id=recipe
131sql1.resolver.tw12h.parameter.operation.datatype=http://www.w3.org/2001/XMLSchema#string
132sql1.resolver.tw12h.parameter.operation.category=urn:oasis:names:tc:xacml:3.0:attribute-category:resource
133sql1.resolver.tw12h.parameter.target.id=target
134sql1.resolver.tw12h.parameter.target.datatype=http://www.w3.org/2001/XMLSchema#string
135sql1.resolver.tw12h.parameter.target.category=urn:oasis:names:tc:xacml:3.0:attribute-category:resource
136
137
138#############################
139sql1.resolver.tw1d.select=select count(*) as count from operationshistory10 where outcome<>'Failure_Guard' and actor=? and operation=? and target=? and endtime between date_sub(now(),interval 1 day) and now()
140sql1.resolver.tw1d.field.count.issuer=org:openecomp:xacml:sql:tw1d
141
142sql1.resolver.tw1d.classname=com.att.research.xacml.std.pip.engines.jdbc.ConfigurableJDBCResolver
143sql1.resolver.tw1d.name=OperationsCount
144sql1.resolver.tw1d.description=This returns the number of previous operations within the given time window
145sql1.resolver.tw1d.fields=count
146sql1.resolver.tw1d.field.count.id=count
147sql1.resolver.tw1d.field.count.datatype=http://www.w3.org/2001/XMLSchema#integer
148sql1.resolver.tw1d.field.count.category=urn:oasis:names:tc:xacml:3.0:attribute-category:resource
149sql1.resolver.tw1d.parameters=actor,operation,target
150sql1.resolver.tw1d.parameter.actor.id=actor
151sql1.resolver.tw1d.parameter.actor.datatype=http://www.w3.org/2001/XMLSchema#string
152sql1.resolver.tw1d.parameter.actor.category=urn:oasis:names:tc:xacml:3.0:attribute-category:resource
153sql1.resolver.tw1d.parameter.operation.id=recipe
154sql1.resolver.tw1d.parameter.operation.datatype=http://www.w3.org/2001/XMLSchema#string
155sql1.resolver.tw1d.parameter.operation.category=urn:oasis:names:tc:xacml:3.0:attribute-category:resource
156sql1.resolver.tw1d.parameter.target.id=target
157sql1.resolver.tw1d.parameter.target.datatype=http://www.w3.org/2001/XMLSchema#string
158sql1.resolver.tw1d.parameter.target.category=urn:oasis:names:tc:xacml:3.0:attribute-category:resource
159
160
161#############################
162sql1.resolver.tw5d.select=select count(*) as count from operationshistory10 where outcome<>'Failure_Guard' and actor=? and operation=? and target=? and endtime between date_sub(now(),interval 5 day) and now()
163sql1.resolver.tw5d.field.count.issuer=org:openecomp:xacml:sql:tw5d
164
165sql1.resolver.tw5d.classname=com.att.research.xacml.std.pip.engines.jdbc.ConfigurableJDBCResolver
166sql1.resolver.tw5d.name=OperationsCount
167sql1.resolver.tw5d.description=This returns the number of previous operations within the given time window
168sql1.resolver.tw5d.fields=count
169sql1.resolver.tw5d.field.count.id=count
170sql1.resolver.tw5d.field.count.datatype=http://www.w3.org/2001/XMLSchema#integer
171sql1.resolver.tw5d.field.count.category=urn:oasis:names:tc:xacml:3.0:attribute-category:resource
172sql1.resolver.tw5d.parameters=actor,operation,target
173sql1.resolver.tw5d.parameter.actor.id=actor
174sql1.resolver.tw5d.parameter.actor.datatype=http://www.w3.org/2001/XMLSchema#string
175sql1.resolver.tw5d.parameter.actor.category=urn:oasis:names:tc:xacml:3.0:attribute-category:resource
176sql1.resolver.tw5d.parameter.operation.id=recipe
177sql1.resolver.tw5d.parameter.operation.datatype=http://www.w3.org/2001/XMLSchema#string
178sql1.resolver.tw5d.parameter.operation.category=urn:oasis:names:tc:xacml:3.0:attribute-category:resource
179sql1.resolver.tw5d.parameter.target.id=target
180sql1.resolver.tw5d.parameter.target.datatype=http://www.w3.org/2001/XMLSchema#string
181sql1.resolver.tw5d.parameter.target.category=urn:oasis:names:tc:xacml:3.0:attribute-category:resource
182
183
184#############################
185sql1.resolver.tw1w.select=select count(*) as count from operationshistory10 where outcome<>'Failure_Guard' and actor=? and operation=? and target=? and endtime between date_sub(now(),interval 1 week) and now()
186sql1.resolver.tw1w.field.count.issuer=org:openecomp:xacml:sql:tw1w
187
188sql1.resolver.tw1w.classname=com.att.research.xacml.std.pip.engines.jdbc.ConfigurableJDBCResolver
189sql1.resolver.tw1w.name=OperationsCount
190sql1.resolver.tw1w.description=This returns the number of previous operations within the given time window
191sql1.resolver.tw1w.fields=count
192sql1.resolver.tw1w.field.count.id=count
193sql1.resolver.tw1w.field.count.datatype=http://www.w3.org/2001/XMLSchema#integer
194sql1.resolver.tw1w.field.count.category=urn:oasis:names:tc:xacml:3.0:attribute-category:resource
195sql1.resolver.tw1w.parameters=actor,operation,target
196sql1.resolver.tw1w.parameter.actor.id=actor
197sql1.resolver.tw1w.parameter.actor.datatype=http://www.w3.org/2001/XMLSchema#string
198sql1.resolver.tw1w.parameter.actor.category=urn:oasis:names:tc:xacml:3.0:attribute-category:resource
199sql1.resolver.tw1w.parameter.operation.id=recipe
200sql1.resolver.tw1w.parameter.operation.datatype=http://www.w3.org/2001/XMLSchema#string
201sql1.resolver.tw1w.parameter.operation.category=urn:oasis:names:tc:xacml:3.0:attribute-category:resource
202sql1.resolver.tw1w.parameter.target.id=target
203sql1.resolver.tw1w.parameter.target.datatype=http://www.w3.org/2001/XMLSchema#string
204sql1.resolver.tw1w.parameter.target.category=urn:oasis:names:tc:xacml:3.0:attribute-category:resource
205
206#############################
207sql1.resolver.tw1mon.select=select count(*) as count from operationshistory10 where outcome<>'Failure_Guard' and actor=? and operation=? and target=? and endtime between date_sub(now(),interval 1 month) and now()
208sql1.resolver.tw1mon.field.count.issuer=org:openecomp:xacml:sql:tw1mon
209
210sql1.resolver.tw1mon.classname=com.att.research.xacml.std.pip.engines.jdbc.ConfigurableJDBCResolver
211sql1.resolver.tw1mon.name=OperationsCount
212sql1.resolver.tw1mon.description=This returns the number of previous operations within the given time window
213sql1.resolver.tw1mon.fields=count
214sql1.resolver.tw1mon.field.count.id=count
215sql1.resolver.tw1mon.field.count.datatype=http://www.w3.org/2001/XMLSchema#integer
216sql1.resolver.tw1mon.field.count.category=urn:oasis:names:tc:xacml:3.0:attribute-category:resource
217sql1.resolver.tw1mon.parameters=actor,operation,target
218sql1.resolver.tw1mon.parameter.actor.id=actor
219sql1.resolver.tw1mon.parameter.actor.datatype=http://www.w3.org/2001/XMLSchema#string
220sql1.resolver.tw1mon.parameter.actor.category=urn:oasis:names:tc:xacml:3.0:attribute-category:resource
221sql1.resolver.tw1mon.parameter.operation.id=recipe
222sql1.resolver.tw1mon.parameter.operation.datatype=http://www.w3.org/2001/XMLSchema#string
223sql1.resolver.tw1mon.parameter.operation.category=urn:oasis:names:tc:xacml:3.0:attribute-category:resource
224sql1.resolver.tw1mon.parameter.target.id=target
225sql1.resolver.tw1mon.parameter.target.datatype=http://www.w3.org/2001/XMLSchema#string
226sql1.resolver.tw1mon.parameter.target.category=urn:oasis:names:tc:xacml:3.0:attribute-category:resource