[ 
https://issues.apache.org/jira/browse/DLAB-105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bohdan Hliva updated DLAB-105:
------------------------------
    Description: 
New docker action needs to be created: *check_inactivity* for 
*docker.dlab-edge* container. It will be used for checking last instance 
activity

Action specific parameters:
{code:java}
{
  "resources": [
    {
      "id": "$INSTANCE_ID",
      "name": "$NAME",
      "resourceType": "$RESOURCE_TYPE"
    }
  ],
  "id": "$REQUEST_ID"
}
{code}
 
After container execution response file should be created with the following 
structure:
{code:java}
{
  "status": "ok",
  "request_id": "$REQUEST_ID",
  "resources": [
    {
      "id": "INSTANCE_ID",
      "status": "$STATUS",
      "name": "$NAME",
      "resourceType": "$RESOURCE_TYPE",
      "lastActivity": $LAST_ACTIVITY
    }
  ]
}
{code}
Parameters description:

 
||PARAM||DESCRIPTION||
|INSTANCE_ID|id of instance
 
|
|NAME|instance name|
|RESOURCE_TYPE|Type of resource. Can be EXPLORATORY, COMPUTATIONAL, EDGE|
|REQUEST_ID|Id of request. Should be used in response file name|
|STATUS|Actual instance status|
|LAST_ACTIVITY|timestamp of instance last activity|

 

 

 

 

> DevOps
> ------
>
>                 Key: DLAB-105
>                 URL: https://issues.apache.org/jira/browse/DLAB-105
>             Project: Apache DLab
>          Issue Type: Sub-task
>            Reporter: Vira Vitanska
>            Assignee: Oleh Moskovych
>            Priority: Major
>              Labels: DevOps
>
> New docker action needs to be created: *check_inactivity* for 
> *docker.dlab-edge* container. It will be used for checking last instance 
> activity
> Action specific parameters:
> {code:java}
> {
>   "resources": [
>     {
>       "id": "$INSTANCE_ID",
>       "name": "$NAME",
>       "resourceType": "$RESOURCE_TYPE"
>     }
>   ],
>   "id": "$REQUEST_ID"
> }
> {code}
>  
> After container execution response file should be created with the following 
> structure:
> {code:java}
> {
>   "status": "ok",
>   "request_id": "$REQUEST_ID",
>   "resources": [
>     {
>       "id": "INSTANCE_ID",
>       "status": "$STATUS",
>       "name": "$NAME",
>       "resourceType": "$RESOURCE_TYPE",
>       "lastActivity": $LAST_ACTIVITY
>     }
>   ]
> }
> {code}
> Parameters description:
>  
> ||PARAM||DESCRIPTION||
> |INSTANCE_ID|id of instance
>  
> |
> |NAME|instance name|
> |RESOURCE_TYPE|Type of resource. Can be EXPLORATORY, COMPUTATIONAL, EDGE|
> |REQUEST_ID|Id of request. Should be used in response file name|
> |STATUS|Actual instance status|
> |LAST_ACTIVITY|timestamp of instance last activity|
>  
>  
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to