Closed katia-e closed 6 years ago
What would be the schema and actions of this IYO service ?
@zaibon ,
struct Schema {
# jwt token
token @0 :Text;
}
actions: ['get_jwt']
get_jwt
: returns jwt token if given in blueprint. If jwt
is not given - looks for main
instance of itsyouonline
and generates new jwt
tokenNo IYO template is currently needed.
iyo
service. The service checks whether instancemain
ofitsyou.online
exists. Ifmain
exists it createsjwt
token, if doesn't exists - throws an error.openvcloud
service:token
optional in blueprinttoken
is not given, startiyo
service to createjwt
token.login
field fromopenvcloud
template (still left in readme andupdate
method)