diff options
author | Scott Dodson <sdodson@redhat.com> | 2015-12-17 11:08:25 -0500 |
---|---|---|
committer | Scott Dodson <sdodson@redhat.com> | 2015-12-17 11:08:25 -0500 |
commit | be978f250674d67a7109a3b45f050ffea5db8970 (patch) | |
tree | 7e7bdb0c6f2ae1943132dc26dc906ca78d93f14d /roles/openshift_examples/files/examples/v1.1/xpaas-templates/amq62-persistent-ssl.json | |
parent | ac38b1487d0eeb9cdf5a92a5f552c6bcc2567499 (diff) | |
download | openshift-be978f250674d67a7109a3b45f050ffea5db8970.tar.gz openshift-be978f250674d67a7109a3b45f050ffea5db8970.tar.bz2 openshift-be978f250674d67a7109a3b45f050ffea5db8970.tar.xz openshift-be978f250674d67a7109a3b45f050ffea5db8970.zip |
Update from jboss-openshift/application-templates ose-v1.2.0-1
Diffstat (limited to 'roles/openshift_examples/files/examples/v1.1/xpaas-templates/amq62-persistent-ssl.json')
-rw-r--r-- | roles/openshift_examples/files/examples/v1.1/xpaas-templates/amq62-persistent-ssl.json | 35 |
1 files changed, 9 insertions, 26 deletions
diff --git a/roles/openshift_examples/files/examples/v1.1/xpaas-templates/amq62-persistent-ssl.json b/roles/openshift_examples/files/examples/v1.1/xpaas-templates/amq62-persistent-ssl.json index aa9e716cf..0755fef45 100644 --- a/roles/openshift_examples/files/examples/v1.1/xpaas-templates/amq62-persistent-ssl.json +++ b/roles/openshift_examples/files/examples/v1.1/xpaas-templates/amq62-persistent-ssl.json @@ -6,13 +6,13 @@ "description": "Application template for JBoss A-MQ brokers. These are deployed as standalone and use persistent storage for saving messages. This template supports SSL and requires usage of OpenShift secrets.", "iconClass": "icon-jboss", "tags": "messaging,amq,jboss,xpaas", - "version": "1.1.0" + "version": "1.2.0" }, "name": "amq62-persistent-ssl" }, "labels": { "template": "amq62-persistent-ssl", - "xpaas": "1.1.0" + "xpaas": "1.2.0" }, "parameters": [ { @@ -60,20 +60,6 @@ "required": false }, { - "description": "User name for admin user. If left empty, it will be generated.", - "name": "AMQ_ADMIN_USERNAME", - "from": "user[a-zA-Z0-9]{3}", - "generate": "expression", - "required": true - }, - { - "description": "Password for admin user. If left empty, it will be generated.", - "name": "AMQ_ADMIN_PASSWORD", - "from": "[a-zA-Z0-9]{8}", - "generate": "expression", - "required": true - }, - { "description": "Name of a secret containing SSL related files", "name": "AMQ_SECRET", "value": "amq-app-secret", @@ -333,7 +319,7 @@ "from": { "kind": "ImageStreamTag", "namespace": "${IMAGE_STREAM_NAMESPACE}", - "name": "jboss-amq-62:1.1" + "name": "jboss-amq-62:1.2" } } }, @@ -377,12 +363,17 @@ "command": [ "/bin/bash", "-c", - "curl -s -L -u ${AMQ_ADMIN_USERNAME}:${AMQ_ADMIN_PASSWORD} 'http://localhost:8161/hawtio/jolokia/read/org.apache.activemq:type=Broker,brokerName=*,service=Health/CurrentStatus' | grep -q '\"CurrentStatus\" *: *\"Good\"'" + "/opt/amq/bin/readinessProbe.sh" ] } }, "ports": [ { + "name": "jolokia", + "containerPort": 8778, + "protocol": "TCP" + }, + { "name": "amqp", "containerPort": 5672, "protocol": "TCP" @@ -445,14 +436,6 @@ "value": "${MQ_TOPICS}" }, { - "name": "AMQ_ADMIN_USERNAME", - "value": "${AMQ_ADMIN_USERNAME}" - }, - { - "name": "AMQ_ADMIN_PASSWORD", - "value": "${AMQ_ADMIN_PASSWORD}" - }, - { "name": "AMQ_KEYSTORE_TRUSTSTORE_DIR", "value": "/etc/amq-secret-volume" }, |