|
24 | 24 | "dependencyConditions": [ |
25 | 25 | "Succeeded" |
26 | 26 | ] |
| 27 | + }, |
| 28 | + { |
| 29 | + "activity": "SetVariableMinimumPlays", |
| 30 | + "dependencyConditions": [ |
| 31 | + "Succeeded" |
| 32 | + ] |
| 33 | + }, |
| 34 | + { |
| 35 | + "activity": "SetVariableMinimumLift", |
| 36 | + "dependencyConditions": [ |
| 37 | + "Succeeded" |
| 38 | + ] |
| 39 | + }, |
| 40 | + { |
| 41 | + "activity": "SetVariableMinimumUsersRatio", |
| 42 | + "dependencyConditions": [ |
| 43 | + "Succeeded" |
| 44 | + ] |
27 | 45 | } |
28 | 46 | ], |
29 | 47 | "policy": { |
|
181 | 199 | } |
182 | 200 | } |
183 | 201 | } |
| 202 | + }, |
| 203 | + { |
| 204 | + "name": "SetVariableMinimumPlays", |
| 205 | + "description": "Set Variable \"minimumPlays\"", |
| 206 | + "type": "SetVariable", |
| 207 | + "dependsOn": [], |
| 208 | + "policy": { |
| 209 | + "secureOutput": false, |
| 210 | + "secureInput": false |
| 211 | + }, |
| 212 | + "userProperties": [], |
| 213 | + "typeProperties": { |
| 214 | + "variableName": "minimumPlays", |
| 215 | + "value": { |
| 216 | + "value": "@string(pipeline().globalParameters.minimumPlays)", |
| 217 | + "type": "Expression" |
| 218 | + } |
| 219 | + } |
| 220 | + }, |
| 221 | + { |
| 222 | + "name": "SetVariableMinimumLift", |
| 223 | + "description": "Set Variable \"minimumLift\"", |
| 224 | + "type": "SetVariable", |
| 225 | + "dependsOn": [], |
| 226 | + "policy": { |
| 227 | + "secureOutput": false, |
| 228 | + "secureInput": false |
| 229 | + }, |
| 230 | + "userProperties": [], |
| 231 | + "typeProperties": { |
| 232 | + "variableName": "minimumLift", |
| 233 | + "value": { |
| 234 | + "value": "@string(pipeline().globalParameters.minimumLift)", |
| 235 | + "type": "Expression" |
| 236 | + } |
| 237 | + } |
| 238 | + }, |
| 239 | + { |
| 240 | + "name": "SetVariableMinimumUsersRatio", |
| 241 | + "description": "Set Variable \"minimumUsersRatio\"", |
| 242 | + "type": "SetVariable", |
| 243 | + "dependsOn": [], |
| 244 | + "policy": { |
| 245 | + "secureOutput": false, |
| 246 | + "secureInput": false |
| 247 | + }, |
| 248 | + "userProperties": [], |
| 249 | + "typeProperties": { |
| 250 | + "variableName": "minimumUsersRatio", |
| 251 | + "value": { |
| 252 | + "value": "@string(pipeline().globalParameters.minimumUsersRatio)", |
| 253 | + "type": "Expression" |
| 254 | + } |
| 255 | + } |
| 256 | + }, |
| 257 | + { |
| 258 | + "name": "MinimumPlaysToKusto", |
| 259 | + "description": "Insert Reference data into Kusto", |
| 260 | + "type": "AzureDataExplorerCommand", |
| 261 | + "dependsOn": [ |
| 262 | + { |
| 263 | + "activity": "MinimumNumberOfUsersPerWindowToKusto_copy1", |
| 264 | + "dependencyConditions": [ |
| 265 | + "Succeeded" |
| 266 | + ] |
| 267 | + } |
| 268 | + ], |
| 269 | + "policy": { |
| 270 | + "timeout": "0.12:00:00", |
| 271 | + "retry": 0, |
| 272 | + "retryIntervalInSeconds": 30, |
| 273 | + "secureOutput": false, |
| 274 | + "secureInput": false |
| 275 | + }, |
| 276 | + "userProperties": [], |
| 277 | + "typeProperties": { |
| 278 | + "command": { |
| 279 | + "value": "@concat('.set-or-append ', pipeline().parameters.sinkTable, ' <| print name = \"minimumPlays\", value = real(', variables('minimumPlays'), '), timestamp = now()')", |
| 280 | + "type": "Expression" |
| 281 | + }, |
| 282 | + "commandTimeout": "00:10:00" |
| 283 | + }, |
| 284 | + "linkedServiceName": { |
| 285 | + "referenceName": "AzureDataExplorer", |
| 286 | + "type": "LinkedServiceReference", |
| 287 | + "parameters": { |
| 288 | + "databaseName": { |
| 289 | + "value": "@pipeline().parameters.sinkDatabase", |
| 290 | + "type": "Expression" |
| 291 | + } |
| 292 | + } |
| 293 | + } |
| 294 | + }, |
| 295 | + { |
| 296 | + "name": "MinimumLiftToKusto", |
| 297 | + "description": "Insert Reference data into Kusto", |
| 298 | + "type": "AzureDataExplorerCommand", |
| 299 | + "dependsOn": [ |
| 300 | + { |
| 301 | + "activity": "MinimumPlaysToKusto", |
| 302 | + "dependencyConditions": [ |
| 303 | + "Succeeded" |
| 304 | + ] |
| 305 | + } |
| 306 | + ], |
| 307 | + "policy": { |
| 308 | + "timeout": "0.12:00:00", |
| 309 | + "retry": 0, |
| 310 | + "retryIntervalInSeconds": 30, |
| 311 | + "secureOutput": false, |
| 312 | + "secureInput": false |
| 313 | + }, |
| 314 | + "userProperties": [], |
| 315 | + "typeProperties": { |
| 316 | + "command": { |
| 317 | + "value": "@concat('.set-or-append ', pipeline().parameters.sinkTable, ' <| print name = \"minimumLift\", value = real(', variables('minimumLift'), '), timestamp = now()')", |
| 318 | + "type": "Expression" |
| 319 | + }, |
| 320 | + "commandTimeout": "00:10:00" |
| 321 | + }, |
| 322 | + "linkedServiceName": { |
| 323 | + "referenceName": "AzureDataExplorer", |
| 324 | + "type": "LinkedServiceReference", |
| 325 | + "parameters": { |
| 326 | + "databaseName": { |
| 327 | + "value": "@pipeline().parameters.sinkDatabase", |
| 328 | + "type": "Expression" |
| 329 | + } |
| 330 | + } |
| 331 | + } |
| 332 | + }, |
| 333 | + { |
| 334 | + "name": "MinimumUsersRatioToKusto", |
| 335 | + "description": "Insert Reference data into Kusto", |
| 336 | + "type": "AzureDataExplorerCommand", |
| 337 | + "dependsOn": [ |
| 338 | + { |
| 339 | + "activity": "MinimumLiftToKusto", |
| 340 | + "dependencyConditions": [ |
| 341 | + "Succeeded" |
| 342 | + ] |
| 343 | + } |
| 344 | + ], |
| 345 | + "policy": { |
| 346 | + "timeout": "0.12:00:00", |
| 347 | + "retry": 0, |
| 348 | + "retryIntervalInSeconds": 30, |
| 349 | + "secureOutput": false, |
| 350 | + "secureInput": false |
| 351 | + }, |
| 352 | + "userProperties": [], |
| 353 | + "typeProperties": { |
| 354 | + "command": { |
| 355 | + "value": "@concat('.set-or-append ', pipeline().parameters.sinkTable, ' <| print name = \"minimumUsersRatio\", value = real(', variables('minimumUsersRatio'), '), timestamp = now()')", |
| 356 | + "type": "Expression" |
| 357 | + }, |
| 358 | + "commandTimeout": "00:10:00" |
| 359 | + }, |
| 360 | + "linkedServiceName": { |
| 361 | + "referenceName": "AzureDataExplorer", |
| 362 | + "type": "LinkedServiceReference", |
| 363 | + "parameters": { |
| 364 | + "databaseName": { |
| 365 | + "value": "@pipeline().parameters.sinkDatabase", |
| 366 | + "type": "Expression" |
| 367 | + } |
| 368 | + } |
| 369 | + } |
184 | 370 | } |
185 | 371 | ], |
186 | 372 | "parameters": { |
|
200 | 386 | }, |
201 | 387 | "minimumNumberOfUsersPerWindow": { |
202 | 388 | "type": "String" |
| 389 | + }, |
| 390 | + "minimumPlays": { |
| 391 | + "type": "String" |
| 392 | + }, |
| 393 | + "minimumLift": { |
| 394 | + "type": "String" |
| 395 | + }, |
| 396 | + "minimumUsersRatio": { |
| 397 | + "type": "String" |
203 | 398 | } |
204 | 399 | }, |
205 | 400 | "folder": { |
|
0 commit comments