You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by of...@apache.org on 2020/06/11 13:32:55 UTC
[incubator-dlab] branch DLAB-54 updated: Added mock file for dev
mode for creating image
This is an automated email from the ASF dual-hosted git repository.
ofuks pushed a commit to branch DLAB-54
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
The following commit(s) were added to refs/heads/DLAB-54 by this push:
new 4867970 Added mock file for dev mode for creating image
4867970 is described below
commit 486797030b267761b63443ff1bfe65a4d94fcc7b
Author: Oleh Fuks <ol...@gmail.com>
AuthorDate: Thu Jun 11 16:32:37 2020 +0300
Added mock file for dev mode for creating image
---
.../mock_response/gcp/notebook_create_image.json | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/services/provisioning-service/src/main/resources/mock_response/gcp/notebook_create_image.json b/services/provisioning-service/src/main/resources/mock_response/gcp/notebook_create_image.json
new file mode 100644
index 0000000..344bb51
--- /dev/null
+++ b/services/provisioning-service/src/main/resources/mock_response/gcp/notebook_create_image.json
@@ -0,0 +1,17 @@
+{
+ "status": "ok",
+ "response": {
+ "result": {
+ "notebook_image_name": "${CONF_SERVICE_BASE_NAME}-${IMAGE_NAME}",
+ "full_image_name": "${IMAGE_NAME}-${CONF_SERVICE_BASE_NAME}-${EDGE_USER_NAME}-${APPLICATION}-${IMAGE_NAME}-${REQUEST_ID}",
+ "user_name": "${EDGE_USER_NAME}",
+ "application": "${APPLICATION}",
+ "image_id": "${IMAGE_NAME}-${REQUEST_ID}",
+ "status": "created",
+ "ip": "102.011.10.3",
+ "Action": "Create image from notebook"
+ },
+ "log": "/var/log/dlab/notebook/notebook_${EDGE_USER_NAME}_${REQUEST_ID}.log"
+ },
+ "request_id": "${REQUEST_ID}"
+}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org