You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@dlab.apache.org by "Bohdan Hliva (JIRA)" <ji...@apache.org> on 2018/11/28 11:02:00 UTC
[jira] [Updated] (DLAB-105) DevOps
[ 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: dev-unsubscribe@dlab.apache.org
For additional commands, e-mail: dev-help@dlab.apache.org