This is an automated email from the ASF dual-hosted git repository.

lfrolov pushed a commit to branch DLAB-54-dev
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git

commit db5483c9fe59f4774c5e043f62ded45feed1d99e
Author: Oleh Fuks <olegfuk...@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-unsubscr...@dlab.apache.org
For additional commands, e-mail: commits-h...@dlab.apache.org

Reply via email to