Commit 3c9b0bc4 authored by Stefane Fermigier's avatar Stefane Fermigier

feat: add promise to check mynij.

parent 98a75c19
......@@ -14,4 +14,4 @@
# not need these here).
[instance-profile]
filename = instance.cfg.in
md5sum = 4db0d997f3e669d4d4d5a27652fec9e8
md5sum = abf98a4dea9277476cd921714d3f509b
......@@ -2,7 +2,7 @@
parts =
publish-connection-parameter
mynij-proxy-promise
#+ monitor-base
mynij-http-promise
# Define egg directories to be the one from Software Release
# (/opt/slapgrid/...)
......@@ -59,6 +59,15 @@ config-hostname= ${mynij-proxy-service:host}
config-port = ${mynij-proxy-service:port}
[mynij-http-promise]
<= monitor-promise-base
module = check_url_available
name = mynij-http-working.py
url = ${publish-connection-parameter:url}
config-url = ${:url}
config-check-secure = 1
# Publish all the parameters needed for the user to connect to the instance.
# It can be anything: URL(s), password(s), or arbitrary parameters.
# Here we'll just echo back the entered name as instance parameter
......
......@@ -16,7 +16,6 @@ extends =
# In this example we extend from helloweb component.
# ../../component/component1/buildout.cfg
# ../../component/component2/buildout.cfg
; ../../component/helloweb/buildout.cfg
parts =
# Call installation of slapos.cookbook egg defined in stack/slapos.cfg (needed
......
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