mirror of
https://github.com/Hopiu/webapi-eca.git
synced 2026-03-17 06:20:23 +00:00
59 lines
No EOL
1.1 KiB
JSON
59 lines
No EOL
1.1 KiB
JSON
{
|
|
"events": {
|
|
"eventOne":{
|
|
"event": "test_1",
|
|
"payload": {
|
|
"property": "test_1",
|
|
"nestedProperty": "really nested"
|
|
}
|
|
},
|
|
"eventTwo":{
|
|
"event": "test_2"
|
|
}
|
|
},
|
|
"eps": {
|
|
"ep1": {
|
|
"code": "unit-test event poller 1 content",
|
|
"reqparams": "[param11,param12]"
|
|
},
|
|
"ep2": {
|
|
"code": "unit-test event poller 2 content",
|
|
"reqparams": "[param21,param22]"
|
|
}
|
|
},
|
|
"rules": {
|
|
"ruleOne": {
|
|
"id": "ruleOne_id",
|
|
"event": "custom-test-1",
|
|
"conditions": {
|
|
"property": "yourValue"
|
|
},
|
|
"actions": []
|
|
},
|
|
"ruleTwo": {
|
|
"id": "ruleTwo_id",
|
|
"event": "custom-test-2",
|
|
"conditions": {
|
|
"property": "yourValue2"
|
|
},
|
|
"actions": []
|
|
}
|
|
},
|
|
"users": {
|
|
"userOne": {
|
|
"username": "tester-1",
|
|
"password": "password-1"
|
|
},
|
|
"userTwo": {
|
|
"username": "tester-2",
|
|
"password": "password-2"
|
|
},
|
|
"userAdmin": {
|
|
"username": "tester-admin",
|
|
"password": "password-admin",
|
|
"roles": [ "admin" ],
|
|
"isAdmin": true
|
|
}
|
|
}
|
|
|
|
} |