Due to a scheduled upgrade to version 14.10, GitLab will be unavailabe on Monday 30.05., from 19:00 until 20:00.

Commit 0bf052cd authored by Lionel Walter's avatar Lionel Walter
Browse files

Hide helm start/stop

parent 3ad40104
......@@ -12,8 +12,8 @@ from import_api_app.resources.KafkaTopics import KafkaTopics
import import_api_app.configuration
from import_api_app.resources.WriteJobResultsToDrupal import WriteJobResultToDrupal
from import_api_app.resources.ReadJobOptionsFromDrupal import ReadJobOptionsFromDrupal
from import_api_app.resources.HelmStart import HelmStart
from import_api_app.resources.HelmStop import HelmStop
# from import_api_app.resources.HelmStart import HelmStart
# from import_api_app.resources.HelmStop import HelmStop
import os
......@@ -66,11 +66,11 @@ def create_app(test_config=None):
)
api.add_resource(JobStop, '/v1/job/<process_id>/<job_name>/stop')
api.add_resource(
HelmStart,
'/v1/helm/<institution_id>/<record_set_id>/<process_id>/<job_name>/start'
)
api.add_resource(HelmStop, '/v1/helm/<process_id>/<job_name>/stop')
# api.add_resource(
# HelmStart,
# '/v1/helm/<institution_id>/<record_set_id>/<process_id>/<job_name>/start'
# )
# api.add_resource(HelmStop, '/v1/helm/<process_id>/<job_name>/stop')
api.add_resource(Job, '/v1/job/<process_id>/<job_name>')
api.add_resource(WriteJobResultToDrupal, '/v1/drupal/<job_log_drupal_uuid>/<report>')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment