v1 server and lifecycle manager working. execution contract added
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
from . import login, checkavailable, setavailable
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,11 @@
|
||||
from plugins.rmass.actions import login, getcsrf, refresh_tokens, checkavailable
|
||||
|
||||
name = "Availability check"
|
||||
|
||||
kind = "operation"
|
||||
|
||||
actions = [
|
||||
refresh_tokens,
|
||||
checkavailable,
|
||||
]
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
from plugins.rmass.actions import getcsrf, login
|
||||
|
||||
name = "Login"
|
||||
|
||||
kind = "operation"
|
||||
|
||||
actions = [
|
||||
getcsrf,
|
||||
login,
|
||||
]
|
||||
@@ -0,0 +1,7 @@
|
||||
from . import getcsrf, login, checkavailability
|
||||
|
||||
actions = [
|
||||
getcsrf,
|
||||
login,
|
||||
checkavailability,
|
||||
]
|
||||
@@ -0,0 +1,23 @@
|
||||
from plugins.rmass.actions import login, getcsrf, setavailable, checkavailable, refresh_tokens
|
||||
|
||||
name = "Set Available"
|
||||
|
||||
kind = "operation"
|
||||
|
||||
actions = [
|
||||
refresh_tokens,
|
||||
checkavailable,
|
||||
setavailable,
|
||||
]
|
||||
|
||||
sleeptime = 180
|
||||
|
||||
skipstep = {
|
||||
setavailable: {
|
||||
"output": "validTo",
|
||||
"operator": ">=",
|
||||
"value": 3600,
|
||||
}
|
||||
}
|
||||
|
||||
role = "activate"
|
||||
Reference in New Issue
Block a user