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