)]}'
{".zuul.yaml":[{"author":{"_account_id":21922,"name":"Dobroslaw Zybort","email":"dobroslaw.zybort@ts.fujitsu.com","username":"dobrolaw.zybort"},"change_message_id":"f44940cef2ad797fc3a80ef4a4a085d3a70ed105","unresolved":false,"context_lines":[{"line_number":11,"context_line":"            voting: false"},{"line_number":12,"context_line":"        - legacy-monasca-thresh-maven-build"},{"line_number":13,"context_line":"        - docker-build-monasca-service:"},{"line_number":14,"context_line":"              voting: true"},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"    gate:"},{"line_number":17,"context_line":"      jobs:"}],"source_content_type":"text/x-yaml","patch_set":4,"id":"5fc1f717_4eaeb82e","line":14,"range":{"start_line":14,"start_character":14,"end_line":14,"end_character":26},"updated":"2019-04-09 13:15:19.000000000","message":"remove, true is by default","commit_id":"36a047cb8b128ac2277c6bec43e9d7e0abb2e13e"},{"author":{"_account_id":21922,"name":"Dobroslaw Zybort","email":"dobroslaw.zybort@ts.fujitsu.com","username":"dobrolaw.zybort"},"change_message_id":"b5fee831958caa3e30c716051bf6c5bec0fddd5d","unresolved":false,"context_lines":[{"line_number":10,"context_line":"        - monasca-tempest-java-cassandra:"},{"line_number":11,"context_line":"            voting: false"},{"line_number":12,"context_line":"        - legacy-monasca-thresh-maven-build"},{"line_number":13,"context_line":"        - docker-build-monasca-service"},{"line_number":14,"context_line":"    gate:"},{"line_number":15,"context_line":"      jobs:"},{"line_number":16,"context_line":"        - legacy-monasca-thresh-maven-build"}],"source_content_type":"text/x-yaml","patch_set":7,"id":"dfbec78f_aad38b03","line":13,"range":{"start_line":13,"start_character":10,"end_line":13,"end_character":38},"updated":"2019-05-15 09:49:02.000000000","message":"I needed to change this name to `build-monasca-docker-image`\n\nhttps://github.com/openstack/monasca-common/blob/master/.zuul.yaml#L52","commit_id":"9669d672877718c9a2370e426315de72c892e7fc"}],"docker/Dockerfile":[{"author":{"_account_id":21922,"name":"Dobroslaw Zybort","email":"dobroslaw.zybort@ts.fujitsu.com","username":"dobrolaw.zybort"},"change_message_id":"f44940cef2ad797fc3a80ef4a4a085d3a70ed105","unresolved":false,"context_lines":[{"line_number":10,"context_line":"ENV MAVEN_HOME /usr/share/maven"},{"line_number":11,"context_line":"COPY health_check.py kafka_wait_for_topics.py settings.xml.j2 start.sh /"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"ENV COMMON_REPO\u003dhttps://git.openstack.org/openstack/monasca-common.git \\"},{"line_number":14,"context_line":"  COMMON_BRANCH\u003d\"master\" \\"},{"line_number":15,"context_line":"  KAFKA_URI\u003d\"kafka:9092\" \\"},{"line_number":16,"context_line":"  KAFKA_WAIT_FOR_TOPICS\u003dalarm-state-transitions,metrics,events \\"}],"source_content_type":"text/x-dockerfile","patch_set":4,"id":"5fc1f717_ee02040c","line":13,"range":{"start_line":13,"start_character":3,"end_line":13,"end_character":4},"updated":"2019-04-09 13:15:19.000000000","message":"move COMMON_REPO to next line and end this line with ` \\` (like in monasca-base Dockerfile)","commit_id":"36a047cb8b128ac2277c6bec43e9d7e0abb2e13e"},{"author":{"_account_id":21922,"name":"Dobroslaw Zybort","email":"dobroslaw.zybort@ts.fujitsu.com","username":"dobrolaw.zybort"},"change_message_id":"f44940cef2ad797fc3a80ef4a4a085d3a70ed105","unresolved":false,"context_lines":[{"line_number":16,"context_line":"  KAFKA_WAIT_FOR_TOPICS\u003dalarm-state-transitions,metrics,events \\"},{"line_number":17,"context_line":"  LOGSTASH_FIELDS\u003d\"service\u003dmonasca-thresh\" \\"},{"line_number":18,"context_line":"  LOG_CONFIG_FILE\u003d\"/storm/log4j2/cluster.xml\" \\"},{"line_number":19,"context_line":"  MYSQL_DB_DATABASE\u003dmon \\"},{"line_number":20,"context_line":"  MYSQL_DB_HOST\u003dmysql \\"},{"line_number":21,"context_line":"  MYSQL_DB_PASSWORD\u003dpassword \\"},{"line_number":22,"context_line":"  MYSQL_DB_PORT\u003d3306 \\"},{"line_number":23,"context_line":"  MYSQL_DB_USERNAME\u003dthresh \\"},{"line_number":24,"context_line":"  NO_STORM_CLUSTER\u003dfalse \\"},{"line_number":25,"context_line":"  STORM_WAIT_DELAY\u003d5 \\"},{"line_number":26,"context_line":"  STORM_WAIT_RETRIES\u003d12 \\"}],"source_content_type":"text/x-dockerfile","patch_set":4,"id":"5fc1f717_513dfdb8","line":23,"range":{"start_line":19,"start_character":0,"end_line":23,"end_character":27},"updated":"2019-04-09 13:15:19.000000000","message":"this variables should not have `_DB` part, check in docker/mysql_check.py script in monasca-common","commit_id":"36a047cb8b128ac2277c6bec43e9d7e0abb2e13e"},{"author":{"_account_id":21922,"name":"Dobroslaw Zybort","email":"dobroslaw.zybort@ts.fujitsu.com","username":"dobrolaw.zybort"},"change_message_id":"f44940cef2ad797fc3a80ef4a4a085d3a70ed105","unresolved":false,"context_lines":[{"line_number":29,"context_line":"  THRESH_REPO\u003dhttps://git.openstack.org/openstack/monasca-thresh.git \\"},{"line_number":30,"context_line":"  WORKER_MAX_HEAP_MB\u003d256"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"ARG REBUILD\u003d1"},{"line_number":33,"context_line":"ARG SKIP_COMMON_TESTS\u003dfalse"},{"line_number":34,"context_line":"ARG SKIP_THRESH_TESTS\u003dfalse"},{"line_number":35,"context_line":""}],"source_content_type":"text/x-dockerfile","patch_set":4,"id":"5fc1f717_b175419a","line":32,"range":{"start_line":32,"start_character":0,"end_line":32,"end_character":13},"updated":"2019-04-09 13:15:19.000000000","message":"remove","commit_id":"36a047cb8b128ac2277c6bec43e9d7e0abb2e13e"},{"author":{"_account_id":21922,"name":"Dobroslaw Zybort","email":"dobroslaw.zybort@ts.fujitsu.com","username":"dobrolaw.zybort"},"change_message_id":"f44940cef2ad797fc3a80ef4a4a085d3a70ed105","unresolved":false,"context_lines":[{"line_number":33,"context_line":"ARG SKIP_COMMON_TESTS\u003dfalse"},{"line_number":34,"context_line":"ARG SKIP_THRESH_TESTS\u003dfalse"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"RUN apk add --no-cache --virtual build-dep maven git py2-pip python-dev git openjdk8 make g++ \u0026\u0026 \\"},{"line_number":37,"context_line":"  apk add --no-cache python mysql-client py-setuptools \u0026\u0026 \\"},{"line_number":38,"context_line":"  mkdir /root/.m2 \u0026\u0026 \\"},{"line_number":39,"context_line":"  pip install pykafka \u0026\u0026 \\"}],"source_content_type":"text/x-dockerfile","patch_set":4,"id":"5fc1f717_f1174945","line":36,"range":{"start_line":36,"start_character":3,"end_line":36,"end_character":7},"updated":"2019-04-09 13:15:19.000000000","message":"move apk to next line","commit_id":"36a047cb8b128ac2277c6bec43e9d7e0abb2e13e"},{"author":{"_account_id":21922,"name":"Dobroslaw Zybort","email":"dobroslaw.zybort@ts.fujitsu.com","username":"dobrolaw.zybort"},"change_message_id":"b5fee831958caa3e30c716051bf6c5bec0fddd5d","unresolved":false,"context_lines":[{"line_number":1,"context_line":"ARG DOCKER_IMAGE\u003dmonasca/thresh"},{"line_number":2,"context_line":"ARG APP_REPO\u003dhttps://git.openstack.org/openstack/monasca-thresh"},{"line_number":3,"context_line":""},{"line_number":4,"context_line":"# Branch, tag or git hash to build from."},{"line_number":5,"context_line":"ARG REPO_VERSION\u003dmaster"}],"source_content_type":"text/x-dockerfile","patch_set":7,"id":"dfbec78f_eafe6369","line":2,"range":{"start_line":2,"start_character":21,"end_line":2,"end_character":38},"updated":"2019-05-15 09:49:02.000000000","message":"review.opendev.org","commit_id":"9669d672877718c9a2370e426315de72c892e7fc"},{"author":{"_account_id":21922,"name":"Dobroslaw Zybort","email":"dobroslaw.zybort@ts.fujitsu.com","username":"dobrolaw.zybort"},"change_message_id":"b5fee831958caa3e30c716051bf6c5bec0fddd5d","unresolved":false,"context_lines":[{"line_number":7,"context_line":""},{"line_number":8,"context_line":"FROM storm:1.1.1"},{"line_number":9,"context_line":""},{"line_number":10,"context_line":"ENV MAVEN_HOME /usr/share/maven"},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"ENV ZOOKEEPER_SERVERS\u003d\"zookeeper\" \\"},{"line_number":13,"context_line":"  ZOOKEEPER_PORT\u003d\"2181\" \\"}],"source_content_type":"text/x-dockerfile","patch_set":7,"id":"dfbec78f_caf7df8a","line":10,"range":{"start_line":10,"start_character":0,"end_line":10,"end_character":31},"updated":"2019-05-15 09:49:02.000000000","message":"join with next `ENV` group","commit_id":"9669d672877718c9a2370e426315de72c892e7fc"},{"author":{"_account_id":21922,"name":"Dobroslaw Zybort","email":"dobroslaw.zybort@ts.fujitsu.com","username":"dobrolaw.zybort"},"change_message_id":"b5fee831958caa3e30c716051bf6c5bec0fddd5d","unresolved":false,"context_lines":[{"line_number":9,"context_line":""},{"line_number":10,"context_line":"ENV MAVEN_HOME /usr/share/maven"},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"ENV ZOOKEEPER_SERVERS\u003d\"zookeeper\" \\"},{"line_number":13,"context_line":"  ZOOKEEPER_PORT\u003d\"2181\" \\"},{"line_number":14,"context_line":"  ZOOKEEPER_WAIT\u003d\"true\" \\"},{"line_number":15,"context_line":"  SUPERVISOR_SLOTS_PORTS\u003d\"6701,6702\" \\"}],"source_content_type":"text/x-dockerfile","patch_set":7,"id":"dfbec78f_aafceb6f","line":12,"range":{"start_line":12,"start_character":4,"end_line":12,"end_character":35},"updated":"2019-05-15 09:49:02.000000000","message":"move to next line","commit_id":"9669d672877718c9a2370e426315de72c892e7fc"},{"author":{"_account_id":21922,"name":"Dobroslaw Zybort","email":"dobroslaw.zybort@ts.fujitsu.com","username":"dobrolaw.zybort"},"change_message_id":"b5fee831958caa3e30c716051bf6c5bec0fddd5d","unresolved":false,"context_lines":[{"line_number":27,"context_line":"COPY logging /logging"},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"ENV \\"},{"line_number":30,"context_line":"    COMMON_REPO\u003dhttps://git.openstack.org/openstack/monasca-common.git \\"},{"line_number":31,"context_line":"    COMMON_BRANCH\u003d\"master\" \\"},{"line_number":32,"context_line":"    KAFKA_URI\u003d\"kafka:9092\" \\"},{"line_number":33,"context_line":"    KAFKA_WAIT_FOR_TOPICS\u003dalarm-state-transitions,metrics,events \\"}],"source_content_type":"text/x-dockerfile","patch_set":7,"id":"dfbec78f_0a37374f","line":30,"range":{"start_line":30,"start_character":24,"end_line":30,"end_character":41},"updated":"2019-05-15 09:49:02.000000000","message":"review.opendev.org","commit_id":"9669d672877718c9a2370e426315de72c892e7fc"},{"author":{"_account_id":21922,"name":"Dobroslaw Zybort","email":"dobroslaw.zybort@ts.fujitsu.com","username":"dobrolaw.zybort"},"change_message_id":"b5fee831958caa3e30c716051bf6c5bec0fddd5d","unresolved":false,"context_lines":[{"line_number":42,"context_line":"    STORM_WAIT_DELAY\u003d5 \\"},{"line_number":43,"context_line":"    STORM_WAIT_RETRIES\u003d12 \\"},{"line_number":44,"context_line":"    STORM_WAIT_TIMEOUT\u003d20 \\"},{"line_number":45,"context_line":"    THRESH_BRANCH\u003d\"master\" \\"},{"line_number":46,"context_line":"    THRESH_REPO\u003dhttps://git.openstack.org/openstack/monasca-thresh.git \\"},{"line_number":47,"context_line":"    WORKER_MAX_HEAP_MB\u003d256"},{"line_number":48,"context_line":""}],"source_content_type":"text/x-dockerfile","patch_set":7,"id":"dfbec78f_ea5ae380","line":45,"range":{"start_line":45,"start_character":4,"end_line":45,"end_character":28},"updated":"2019-05-15 09:49:02.000000000","message":"move after `THRESH_REPO`","commit_id":"9669d672877718c9a2370e426315de72c892e7fc"},{"author":{"_account_id":21922,"name":"Dobroslaw Zybort","email":"dobroslaw.zybort@ts.fujitsu.com","username":"dobrolaw.zybort"},"change_message_id":"b5fee831958caa3e30c716051bf6c5bec0fddd5d","unresolved":false,"context_lines":[{"line_number":43,"context_line":"    STORM_WAIT_RETRIES\u003d12 \\"},{"line_number":44,"context_line":"    STORM_WAIT_TIMEOUT\u003d20 \\"},{"line_number":45,"context_line":"    THRESH_BRANCH\u003d\"master\" \\"},{"line_number":46,"context_line":"    THRESH_REPO\u003dhttps://git.openstack.org/openstack/monasca-thresh.git \\"},{"line_number":47,"context_line":"    WORKER_MAX_HEAP_MB\u003d256"},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"ARG SKIP_COMMON_TESTS\u003dfalse"}],"source_content_type":"text/x-dockerfile","patch_set":7,"id":"dfbec78f_8a70070a","line":46,"range":{"start_line":46,"start_character":24,"end_line":46,"end_character":41},"updated":"2019-05-15 09:49:02.000000000","message":"review.opendev.org","commit_id":"9669d672877718c9a2370e426315de72c892e7fc"},{"author":{"_account_id":21922,"name":"Dobroslaw Zybort","email":"dobroslaw.zybort@ts.fujitsu.com","username":"dobrolaw.zybort"},"change_message_id":"b5fee831958caa3e30c716051bf6c5bec0fddd5d","unresolved":false,"context_lines":[{"line_number":49,"context_line":"ARG SKIP_COMMON_TESTS\u003dfalse"},{"line_number":50,"context_line":"ARG SKIP_THRESH_TESTS\u003dfalse"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"RUN apk add --no-cache --virtual build-dep maven git py2-pip python-dev git openjdk8 make g++ \u0026\u0026 \\"},{"line_number":53,"context_line":"  apk add --no-cache python mysql-client py-setuptools py2-jinja2 \u0026\u0026 \\"},{"line_number":54,"context_line":"  mkdir /root/.m2 \u0026\u0026 \\"},{"line_number":55,"context_line":"  pip install pykafka \u0026\u0026 \\"}],"source_content_type":"text/x-dockerfile","patch_set":7,"id":"dfbec78f_8a49e7b7","line":52,"range":{"start_line":52,"start_character":4,"end_line":52,"end_character":98},"updated":"2019-05-15 09:49:02.000000000","message":"move to next line","commit_id":"9669d672877718c9a2370e426315de72c892e7fc"}],"docker/README.rst":[{"author":{"_account_id":21922,"name":"Dobroslaw Zybort","email":"dobroslaw.zybort@ts.fujitsu.com","username":"dobrolaw.zybort"},"change_message_id":"f44940cef2ad797fc3a80ef4a4a085d3a70ed105","unresolved":false,"context_lines":[{"line_number":1,"context_line":"monasca-thresh Dockerfile"},{"line_number":2,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":3,"context_line":""},{"line_number":4,"context_line":"This image has a containerized version of the Monasca Threshold Engine. For"},{"line_number":5,"context_line":"more information on the Monasca project, see [the wiki][1]."},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Sources: [monasca-thresh][2] \u0026middot; [monasca-docker][3] \u0026middot; [Dockerfile][4]"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Tags"},{"line_number":10,"context_line":"----"},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Images in this repository are tagged as follows:"},{"line_number":13,"context_line":""},{"line_number":14,"context_line":" * `latest`: refers to the latest stable point release, e.g. `1.7.0`"},{"line_number":15,"context_line":" * `1.0.0`, `1.0`, `1`: standard semver tags based on git tags in the"},{"line_number":16,"context_line":"   [official repository][2]."},{"line_number":17,"context_line":" * `newton`, `ocata`, etc: named versions following OpenStack release names"},{"line_number":18,"context_line":"   built from the tip of `stable/RELEASENAME` branches in the repository"},{"line_number":19,"context_line":" * `master`, `master-DATESTAMP`: unstable testing builds from the master branch,"},{"line_number":20,"context_line":"   these may have features or enhancements not available in stable releases, but"},{"line_number":21,"context_line":"   are not production-ready."},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"Note that features in this Dockerfile, particularly relating to running in"},{"line_number":24,"context_line":"Docker and Kubernetes environments, require code that has not yet been made"},{"line_number":25,"context_line":"available in a tagged release. Until this changes, only `master` images may be"},{"line_number":26,"context_line":"available and `latest` may point to `master` images."},{"line_number":27,"context_line":""},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"Building Monasca Thresh image"},{"line_number":30,"context_line":"-----------------------------"},{"line_number":31,"context_line":"Example:"},{"line_number":32,"context_line":"  $ ./build_image.sh \u003crepository_version\u003e \u003cupper_constains_branch\u003e \u003ccommon_version\u003e"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"Requirements from monasca-base image"},{"line_number":36,"context_line":"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"health_check.py"},{"line_number":39,"context_line":"  This file will be used for checking the status of the Monasca API"},{"line_number":40,"context_line":"  application. As we do not build Monasca-Thresh image from monasca-base,"},{"line_number":41,"context_line":"  health_check file is not mandatory, however to keep consistency with other"},{"line_number":42,"context_line":"  Monasca services it should be implemented."},{"line_number":43,"context_line":""},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"Usage"},{"line_number":46,"context_line":"-----"},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"The Threshold engine requires configured instances of MySQL, Kafka,"},{"line_number":49,"context_line":"Zookeeper, and optionally Storm [monasca-api][5]. In environments resembling the official"},{"line_number":50,"context_line":"[docker-compose][3] or [Kubernetes][6] environments, this image requires little"},{"line_number":51,"context_line":"to no configuration and can be minimally run like so:"},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"    docker run monasca/thresh:latest"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"Configuration"},{"line_number":56,"context_line":"-------------"},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"| Variable                      | Default        | Description                              |"},{"line_number":59,"context_line":"|-------------------------------|----------------|------------------------------------------|"},{"line_number":60,"context_line":"| `MYSQL_DB_HOST`               | `mysql`        | MySQL hostname                           |"},{"line_number":61,"context_line":"| `MYSQL_DB_PORT`               | `3306`         | MySQL port                               |"},{"line_number":62,"context_line":"| `MYSQL_DB_USERNAME`           | `thresh`       | MySQL username                           |"},{"line_number":63,"context_line":"| `MYSQL_DB_PASSWORD`           | `password`     | MySQL password                           |"},{"line_number":64,"context_line":"| `MYSQL_DB_DATABASE`           | `mon`          | MySQL database name                      |"},{"line_number":65,"context_line":"| `MYSQL_WAIT_RETRIES`          | `24`           | # of tries to verify MySQL availability  |"},{"line_number":66,"context_line":"| `MYSQL_WAIT_DELAY`            | `5`            | # seconds between retry attempts         |"},{"line_number":67,"context_line":"| `KAFKA_URI`                   | `kafka:9092`   | If `true`, disable remote root login     |"},{"line_number":68,"context_line":"| `KAFKA_WAIT_FOR_TOPICS`       | `alarm-state-transitions,metrics,events`    | Comma-separated list of topic names to check |"},{"line_number":69,"context_line":"| `KAFKA_WAIT_RETRIES`          | `24`           | # of tries to verify Kafka availability  |"},{"line_number":70,"context_line":"| `KAFKA_WAIT_DELAY`            | `5`            | # seconds between retry attempts         |"},{"line_number":71,"context_line":"| `ZOOKEEPER_URL`               | `zookeeper:2181` | Zookeeper URL                          |"},{"line_number":72,"context_line":"| `NO_STORM_CLUSTER`            | unset          | If `true`, run without Storm daemons     |"},{"line_number":73,"context_line":"| `STORM_WAIT_RETRIES`          | `24`           | # of tries to verify Storm availability  |"},{"line_number":74,"context_line":"| `STORM_WAIT_DELAY`            | `5`            | # seconds between retry attempts         |"},{"line_number":75,"context_line":"| `WORKER_MAX_MB`          | unset          | If set and `NO_STORM_CLUSTER` is `true`, use as MaxRam Size for JVM |"},{"line_number":76,"context_line":"| `METRIC_SPOUT_THREADS`        | `2`            | Metric Spout threads        |"},{"line_number":77,"context_line":"| `METRIC_SPOUT_TASKS`          | `2`            | Metric Spout tasks          |"},{"line_number":78,"context_line":"| `EVENT_SPOUT_THREADS`         | `2`            | Event Spout Threads         |"},{"line_number":79,"context_line":"| `EVENT_SPOUT_TASKS`           | `2`            | Event Spout Tasks           |"},{"line_number":80,"context_line":"| `EVENT_BOLT_THREADS`          | `2`            | Event Bolt Threads          |"},{"line_number":81,"context_line":"| `EVENT_BOLT_TASKS`            | `2`            | Event Bolt Tasks            |"},{"line_number":82,"context_line":"| `FILTERING_BOLT_THREADS`      | `2`            | Filtering Bolt Threads      |"},{"line_number":83,"context_line":"| `FILTERING_BOLT_TASKS`        | `2`            | Filtering Bolt Tasks        |"},{"line_number":84,"context_line":"| `ALARM_CREATION_BOLT_THREADS` | `2`            | Alarm Creation Bolt Threads |"},{"line_number":85,"context_line":"| `ALARM_CREATION_BOLT_TASKS`   | `2`            | Alarm Creation Bolt Tasks   |"},{"line_number":86,"context_line":"| `AGGREGATION_BOLT_THREADS`    | `2`            | Aggregation Bolt Threads    |"},{"line_number":87,"context_line":"| `AGGREGATION_BOLT_TASKS`      | `2`            | Aggregation Bolt Tasks      |"},{"line_number":88,"context_line":"| `THRESHOLDING_BOLT_THREADS`   | `2`            | Thresholding Bolt Threads   |"},{"line_number":89,"context_line":"| `THRESHOLDING_BOLT_TASKS`     | `2`            | Thresholding Bolt Tasks     |"},{"line_number":90,"context_line":"| `THRESH_STACK_SIZE`           | `1024k`        | JVM stack size              |"},{"line_number":91,"context_line":""},{"line_number":92,"context_line":"Running with and without Storm"},{"line_number":93,"context_line":"------------------------------"},{"line_number":94,"context_line":""},{"line_number":95,"context_line":"The Threshold Engine can be run in two different modes, with Storm Daemons or without Storm Daemons."},{"line_number":96,"context_line":"If run with the Storm Daemons, multiple Storm Supervisor containers can be used with more than one worker process"},{"line_number":97,"context_line":"in each. With no Storm Daemons, only a single Threshold Engine container can be run with a single worker process."},{"line_number":98,"context_line":""},{"line_number":99,"context_line":"The default docker-compose.yml file is configured to run without Storm. To change docker-compose.yml to run"},{"line_number":100,"context_line":"with Storm, delete the `thresh` service entry and replace it with the below:"},{"line_number":101,"context_line":""},{"line_number":102,"context_line":"```"},{"line_number":103,"context_line":"  storm-nimbus:"},{"line_number":104,"context_line":"    image: monasca/storm:1.0.3"},{"line_number":105,"context_line":"    command: storm nimbus"},{"line_number":106,"context_line":"    environment:"},{"line_number":107,"context_line":"      STORM_LOCAL_HOSTNAME: \"storm-nimbus\""},{"line_number":108,"context_line":"      WORKER_LOGS_TO_STDOUT: \"true\""},{"line_number":109,"context_line":"    depends_on:"},{"line_number":110,"context_line":"      - zookeeper"},{"line_number":111,"context_line":"      - kafka"},{"line_number":112,"context_line":""},{"line_number":113,"context_line":"  storm-supervisor:"},{"line_number":114,"context_line":"    image: monasca/storm:1.0.3"},{"line_number":115,"context_line":"    command: storm supervisor"},{"line_number":116,"context_line":"    depends_on:"},{"line_number":117,"context_line":"      - storm-nimbus"},{"line_number":118,"context_line":"      - zookeeper"},{"line_number":119,"context_line":"      - kafka"},{"line_number":120,"context_line":""},{"line_number":121,"context_line":"  thresh-init:"},{"line_number":122,"context_line":"    image: monasca/thresh:master"},{"line_number":123,"context_line":"    environment:"},{"line_number":124,"context_line":"      STORM_WAIT_RETRIES: 50"},{"line_number":125,"context_line":"    depends_on:"},{"line_number":126,"context_line":"      - zookeeper"},{"line_number":127,"context_line":"      - storm-nimbus"},{"line_number":128,"context_line":"      - storm-supervisor"},{"line_number":129,"context_line":"```"},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"Scripts"},{"line_number":132,"context_line":"~~~~~~~"},{"line_number":133,"context_line":"start.sh"},{"line_number":134,"context_line":"    In this starting script provide all steps that lead to the proper service"},{"line_number":135,"context_line":"    start. Including usage of wait scripts and templating of configuration"},{"line_number":136,"context_line":"    files. You also could provide the ability to allow running container after"},{"line_number":137,"context_line":"    service died for easier debugging."},{"line_number":138,"context_line":""},{"line_number":139,"context_line":"build_image.sh"},{"line_number":140,"context_line":"    Please read detailed build description inside the script."},{"line_number":141,"context_line":""},{"line_number":142,"context_line":"[1]: https://wiki.openstack.org/wiki/Monasca"},{"line_number":143,"context_line":"[2]: https://github.com/openstack/monasca-thresh/"},{"line_number":144,"context_line":"[3]: https://github.com/hpcloud-mon/monasca-docker/"},{"line_number":145,"context_line":"[4]: https://github.com/hpcloud-mon/monasca-docker/blob/master/monasca-thresh/Dockerfile"},{"line_number":146,"context_line":"[5]: https://github.com/hpcloud-mon/monasca-docker/blob/master/storm/Dockerfile"},{"line_number":147,"context_line":"[6]: https://github.com/hpcloud-mon/monasca-docker/blob/master/k8s/"},{"line_number":148,"context_line":"[7]: https://v2.developer.pagerduty.com/docs/events-api"}],"source_content_type":"text/x-rst","patch_set":4,"id":"5fc1f717_51665def","line":148,"range":{"start_line":1,"start_character":1,"end_line":148,"end_character":55},"updated":"2019-04-09 13:15:19.000000000","message":"change to rst format, this is in markdown","commit_id":"36a047cb8b128ac2277c6bec43e9d7e0abb2e13e"},{"author":{"_account_id":21922,"name":"Dobroslaw Zybort","email":"dobroslaw.zybort@ts.fujitsu.com","username":"dobrolaw.zybort"},"change_message_id":"94f06e4f03ba276811c836e75c573f977076b9be","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":12,"id":"bfb3d3c7_bcf7448b","updated":"2019-05-30 11:28:04.000000000","message":"This is markdown, not rst README formating.","commit_id":"9e389bf9690753df0a9c7fab6806b4a67e154581"},{"author":{"_account_id":14123,"name":"Stefano Canepa","email":"sc@linux.it","username":"sc"},"change_message_id":"92ae3a179a67661f871a68bb4c0ddb4ce8659f0e","unresolved":false,"context_lines":[{"line_number":138,"context_line":""},{"line_number":139,"context_line":""},{"line_number":140,"context_line":"[1]: https://wiki.openstack.org/wiki/Monasca"},{"line_number":141,"context_line":"[2]: https://github.com/openstack/monasca-thresh/"},{"line_number":142,"context_line":"[3]: https://github.com/hpcloud-mon/monasca-docker/"},{"line_number":143,"context_line":"[4]: https://github.com/hpcloud-mon/monasca-docker/blob/master/monasca-thresh/Dockerfile"},{"line_number":144,"context_line":"[5]: https://github.com/hpcloud-mon/monasca-docker/blob/master/storm/Dockerfile"}],"source_content_type":"text/x-rst","patch_set":14,"id":"9fb8cfa7_6509f32f","line":141,"range":{"start_line":141,"start_character":31,"end_line":141,"end_character":49},"updated":"2019-06-18 06:57:30.000000000","message":"why don\u0027t refer to opendev.org repo?","commit_id":"543dfda2f80ee67f739c839d5039373ae821e97d"},{"author":{"_account_id":21922,"name":"Dobroslaw Zybort","email":"dobroslaw.zybort@ts.fujitsu.com","username":"dobrolaw.zybort"},"change_message_id":"ca5fafc803ccbb564bb99da7fcf83744d5dda930","unresolved":false,"context_lines":[{"line_number":138,"context_line":""},{"line_number":139,"context_line":""},{"line_number":140,"context_line":"[1]: https://wiki.openstack.org/wiki/Monasca"},{"line_number":141,"context_line":"[2]: https://github.com/openstack/monasca-thresh/"},{"line_number":142,"context_line":"[3]: https://github.com/hpcloud-mon/monasca-docker/"},{"line_number":143,"context_line":"[4]: https://github.com/hpcloud-mon/monasca-docker/blob/master/monasca-thresh/Dockerfile"},{"line_number":144,"context_line":"[5]: https://github.com/hpcloud-mon/monasca-docker/blob/master/storm/Dockerfile"}],"source_content_type":"text/x-rst","patch_set":14,"id":"9fb8cfa7_9d4eea6c","line":141,"range":{"start_line":141,"start_character":31,"end_line":141,"end_character":49},"in_reply_to":"9fb8cfa7_6509f32f","updated":"2019-07-01 12:39:46.000000000","message":"Done","commit_id":"543dfda2f80ee67f739c839d5039373ae821e97d"},{"author":{"_account_id":28062,"name":"Martin Chacon Piza","email":"martin@chaconpiza.com","username":"martinchacon"},"change_message_id":"05052afe987c421eb0dabc2bb5632f138d5991d9","unresolved":false,"context_lines":[{"line_number":110,"context_line":"The default docker-compose.yml file is configured to run without Storm. To change docker-compose.yml to run"},{"line_number":111,"context_line":"with Storm, delete the `thresh` service entry and replace it with the below::"},{"line_number":112,"context_line":""},{"line_number":113,"context_line":"  storm-nimbus:"},{"line_number":114,"context_line":"    image: monasca/storm:1.0.3"},{"line_number":115,"context_line":"    command: storm nimbus"},{"line_number":116,"context_line":"    environment:"},{"line_number":117,"context_line":"        STORM_LOCAL_HOSTNAME: \"storm-nimbus\""},{"line_number":118,"context_line":"        WORKER_LOGS_TO_STDOUT: \"true\""},{"line_number":119,"context_line":"    depends_on:"},{"line_number":120,"context_line":"        - zookeeper"},{"line_number":121,"context_line":""},{"line_number":122,"context_line":"  storm-supervisor:"},{"line_number":123,"context_line":"    image: monasca/storm:1.0.3"},{"line_number":124,"context_line":"    command: storm supervisor"},{"line_number":125,"context_line":"    depends_on:"},{"line_number":126,"context_line":"      - storm-nimbus"},{"line_number":127,"context_line":"      - zookeeper"},{"line_number":128,"context_line":"      - kafka"},{"line_number":129,"context_line":""},{"line_number":130,"context_line":"  thresh-init:"},{"line_number":131,"context_line":"    image: monasca/thresh:master"}],"source_content_type":"text/x-rst","patch_set":18,"id":"7faddb67_0d80b545","line":128,"range":{"start_line":113,"start_character":0,"end_line":128,"end_character":13},"updated":"2019-07-17 07:34:55.000000000","message":"Hi, with this change the image monasca/thresh will be based on the official Storm image _/storm:1.1.1 But here in the \"with Storm Daemons\" mode the reference is to monasca/storm:1.0.3\n\nDoes work the Threshold Engine in \"with Storm Daemons\" mode using _/storm:1.1.1 ?","commit_id":"88d2c05bfb0bf73c9ff8017b75ad9a58d2057328"}],"docker/build.yml":[{"author":{"_account_id":21922,"name":"Dobroslaw Zybort","email":"dobroslaw.zybort@ts.fujitsu.com","username":"dobrolaw.zybort"},"change_message_id":"f44940cef2ad797fc3a80ef4a4a085d3a70ed105","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":4,"id":"5fc1f717_91a5a505","updated":"2019-04-09 13:15:19.000000000","message":"remove file, not needed here","commit_id":"36a047cb8b128ac2277c6bec43e9d7e0abb2e13e"},{"author":{"_account_id":21922,"name":"Dobroslaw Zybort","email":"dobroslaw.zybort@ts.fujitsu.com","username":"dobrolaw.zybort"},"change_message_id":"b5fee831958caa3e30c716051bf6c5bec0fddd5d","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":7,"id":"dfbec78f_ca86ffb9","updated":"2019-05-15 09:49:02.000000000","message":"remove, it\u0027s not used here","commit_id":"9669d672877718c9a2370e426315de72c892e7fc"}],"docker/build_image.sh":[{"author":{"_account_id":21922,"name":"Dobroslaw Zybort","email":"dobroslaw.zybort@ts.fujitsu.com","username":"dobrolaw.zybort"},"change_message_id":"b5fee831958caa3e30c716051bf6c5bec0fddd5d","unresolved":false,"context_lines":[{"line_number":59,"context_line":"REPO_VERSION_CLEAN\u003d$(echo \"$REPO_VERSION\" | sed \u0027s|/|-|g\u0027)"},{"line_number":60,"context_line":""},{"line_number":61,"context_line":"[ -z \"$APP_REPO\" ] \u0026\u0026 APP_REPO\u003d$(\\grep \"ARG APP_REPO\u003d\" Dockerfile | cut -f2 -d\"\u003d\")"},{"line_number":62,"context_line":"GITHUB_REPO\u003d$(echo \"$APP_REPO\" | sed \u0027s/git.openstack.org/github.com/\u0027 | \\"},{"line_number":63,"context_line":"              sed \u0027s/ssh:/https:/\u0027)"},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"if [ -z \"$CONSTRAINTS_FILE\" ]; then"}],"source_content_type":"text/x-sh","patch_set":7,"id":"dfbec78f_ea6bc3ed","line":62,"range":{"start_line":62,"start_character":40,"end_line":62,"end_character":57},"updated":"2019-05-15 09:49:02.000000000","message":"this also probably will need to be changed","commit_id":"9669d672877718c9a2370e426315de72c892e7fc"},{"author":{"_account_id":21922,"name":"Dobroslaw Zybort","email":"dobroslaw.zybort@ts.fujitsu.com","username":"dobrolaw.zybort"},"change_message_id":"b5fee831958caa3e30c716051bf6c5bec0fddd5d","unresolved":false,"context_lines":[{"line_number":64,"context_line":""},{"line_number":65,"context_line":"if [ -z \"$CONSTRAINTS_FILE\" ]; then"},{"line_number":66,"context_line":"    CONSTRAINTS_FILE\u003d$(\\grep \"ARG CONSTRAINTS_FILE\u003d\" Dockerfile | cut -f2 -d\"\u003d\") || true"},{"line_number":67,"context_line":"    : \"${CONSTRAINTS_FILE:\u003dhttp://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}\""},{"line_number":68,"context_line":"fi"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":": \"${CONSTRAINTS_BRANCH:\u003d$2}\""}],"source_content_type":"text/x-sh","patch_set":7,"id":"dfbec78f_6aaa7319","line":67,"range":{"start_line":67,"start_character":27,"end_line":67,"end_character":107},"updated":"2019-05-15 09:49:02.000000000","message":"need new link, consult Arseni","commit_id":"9669d672877718c9a2370e426315de72c892e7fc"},{"author":{"_account_id":21922,"name":"Dobroslaw Zybort","email":"dobroslaw.zybort@ts.fujitsu.com","username":"dobrolaw.zybort"},"change_message_id":"b5fee831958caa3e30c716051bf6c5bec0fddd5d","unresolved":false,"context_lines":[{"line_number":78,"context_line":"        # Get monasca-common version from stable upper constraints file."},{"line_number":79,"context_line":"        CONSTRAINTS_TMP_FILE\u003d$(mktemp)"},{"line_number":80,"context_line":"        wget --output-document \"$CONSTRAINTS_TMP_FILE\" \\"},{"line_number":81,"context_line":"            \"$CONSTRAINTS_FILE\"?h\u003d\"$CONSTRAINTS_BRANCH_CLEAN\""},{"line_number":82,"context_line":"        UPPER_COMMON\u003d$(\\grep \u0027monasca-common\u0027 \"$CONSTRAINTS_TMP_FILE\")"},{"line_number":83,"context_line":"        # Get only version part from monasca-common."},{"line_number":84,"context_line":"        UPPER_COMMON_VERSION\u003d\"${UPPER_COMMON##*\u003d\u003d\u003d}\""}],"source_content_type":"text/x-sh","patch_set":7,"id":"dfbec78f_4ac44ff5","line":81,"range":{"start_line":81,"start_character":12,"end_line":81,"end_character":61},"updated":"2019-05-15 09:49:02.000000000","message":"you will need to change this, consult Arseni, please","commit_id":"9669d672877718c9a2370e426315de72c892e7fc"},{"author":{"_account_id":21922,"name":"Dobroslaw Zybort","email":"dobroslaw.zybort@ts.fujitsu.com","username":"dobrolaw.zybort"},"change_message_id":"4dad6c36a4ab2d0f9ad53471104c9ed90fc08cd6","unresolved":false,"context_lines":[{"line_number":92,"context_line":"# Monasca-common variables."},{"line_number":93,"context_line":"if [ -z \"$COMMON_REPO\" ]; then"},{"line_number":94,"context_line":"    COMMON_REPO\u003d$(\\grep \"ARG COMMON_REPO\u003d\" Dockerfile | cut -f2 -d\"\u003d\") || true"},{"line_number":95,"context_line":"    : \"${COMMON_REPO:\u003dhttps://git.openstack.org/openstack/monasca-common}\""},{"line_number":96,"context_line":"fi"},{"line_number":97,"context_line":""},{"line_number":98,"context_line":": \"${COMMON_VERSION:\u003d$3}\""}],"source_content_type":"text/x-sh","patch_set":9,"id":"bfb3d3c7_caa5b848","line":95,"range":{"start_line":95,"start_character":29,"end_line":95,"end_character":47},"updated":"2019-05-28 13:23:34.000000000","message":"change","commit_id":"55a6679cd83e547a321186d06dd6563b2a6d1108"},{"author":{"_account_id":21922,"name":"Dobroslaw Zybort","email":"dobroslaw.zybort@ts.fujitsu.com","username":"dobrolaw.zybort"},"change_message_id":"4dad6c36a4ab2d0f9ad53471104c9ed90fc08cd6","unresolved":false,"context_lines":[{"line_number":144,"context_line":"    --build-arg REPO_VERSION\u003d\"$REPO_VERSION\" \\"},{"line_number":145,"context_line":"    --build-arg GIT_COMMIT\u003d\"$GIT_COMMIT\" \\"},{"line_number":146,"context_line":"    --build-arg CONSTRAINTS_FILE\u003d\"$CONSTRAINTS_FILE\" \\"},{"line_number":147,"context_line":"    --build-arg CONSTRAINTS_BRANCH\u003d\"$CONSTRAINTS_BRANCH_CLEAN\" \\"},{"line_number":148,"context_line":"    --build-arg COMMON_REPO\u003d\"$COMMON_REPO\" \\"},{"line_number":149,"context_line":"    --build-arg COMMON_VERSION\u003d\"$COMMON_VERSION\" \\"},{"line_number":150,"context_line":"    --build-arg COMMON_GIT_COMMIT\u003d\"$COMMON_GIT_COMMIT\" \\"}],"source_content_type":"text/x-sh","patch_set":9,"id":"bfb3d3c7_0a7510cb","line":147,"range":{"start_line":147,"start_character":0,"end_line":147,"end_character":64},"updated":"2019-05-28 13:23:34.000000000","message":"remove, no longer used upstream","commit_id":"55a6679cd83e547a321186d06dd6563b2a6d1108"}],"docker/kafka_wait_for_topics.py":[{"author":{"_account_id":21922,"name":"Dobroslaw Zybort","email":"dobroslaw.zybort@ts.fujitsu.com","username":"dobrolaw.zybort"},"change_message_id":"b5fee831958caa3e30c716051bf6c5bec0fddd5d","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":7,"id":"dfbec78f_ca74bfd1","updated":"2019-05-15 09:49:02.000000000","message":"use newer script from monasca-common/monasca-base","commit_id":"9669d672877718c9a2370e426315de72c892e7fc"},{"author":{"_account_id":21922,"name":"Dobroslaw Zybort","email":"dobroslaw.zybort@ts.fujitsu.com","username":"dobrolaw.zybort"},"change_message_id":"4dad6c36a4ab2d0f9ad53471104c9ed90fc08cd6","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":8,"id":"bfb3d3c7_6a612ca9","updated":"2019-05-28 13:23:34.000000000","message":"use version from monasca-common/docker","commit_id":"55913cd1a8291675f484f553ac889bd1da11288d"}],"docker/memory.py":[{"author":{"_account_id":21922,"name":"Dobroslaw Zybort","email":"dobroslaw.zybort@ts.fujitsu.com","username":"dobrolaw.zybort"},"change_message_id":"b5fee831958caa3e30c716051bf6c5bec0fddd5d","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":7,"id":"dfbec78f_8a7a47b7","updated":"2019-05-15 09:49:02.000000000","message":"convert to python 3","commit_id":"9669d672877718c9a2370e426315de72c892e7fc"}],"docker/start.sh":[{"author":{"_account_id":21922,"name":"Dobroslaw Zybort","email":"dobroslaw.zybort@ts.fujitsu.com","username":"dobrolaw.zybort"},"change_message_id":"f44940cef2ad797fc3a80ef4a4a085d3a70ed105","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":4,"id":"5fc1f717_118a1563","updated":"2019-04-09 13:15:19.000000000","message":"use wait scripts from monasca-common/docker folder for all checks","commit_id":"36a047cb8b128ac2277c6bec43e9d7e0abb2e13e"},{"author":{"_account_id":21922,"name":"Dobroslaw Zybort","email":"dobroslaw.zybort@ts.fujitsu.com","username":"dobrolaw.zybort"},"change_message_id":"b5fee831958caa3e30c716051bf6c5bec0fddd5d","unresolved":false,"context_lines":[{"line_number":110,"context_line":""},{"line_number":111,"context_line":"  for f in \"$src_dir\"/*; do"},{"line_number":112,"context_line":"     # Skip directories, links, etc"},{"line_number":113,"context_line":"    if [ ! -f \"$f\" ]; then     "},{"line_number":114,"context_line":"      continue"},{"line_number":115,"context_line":"    fi"},{"line_number":116,"context_line":""}],"source_content_type":"text/x-sh","patch_set":7,"id":"dfbec78f_0a5e5775","line":113,"range":{"start_line":113,"start_character":26,"end_line":113,"end_character":31},"updated":"2019-05-15 09:49:02.000000000","message":"remowe","commit_id":"9669d672877718c9a2370e426315de72c892e7fc"},{"author":{"_account_id":21922,"name":"Dobroslaw Zybort","email":"dobroslaw.zybort@ts.fujitsu.com","username":"dobrolaw.zybort"},"change_message_id":"b5fee831958caa3e30c716051bf6c5bec0fddd5d","unresolved":false,"context_lines":[{"line_number":150,"context_line":""},{"line_number":151,"context_line":"exec \"$@\""},{"line_number":152,"context_line":""},{"line_number":153,"context_line":"echo \"Waiting for MySQL to become available...\""},{"line_number":154,"context_line":"success\u003d\"false\""},{"line_number":155,"context_line":"for i in $(seq \"$MYSQL_WAIT_RETRIES\"); do"},{"line_number":156,"context_line":"  if mysqladmin status \\"},{"line_number":157,"context_line":"      --host\u003d\"$MYSQL_DB_HOST\" \\"},{"line_number":158,"context_line":"      --port\u003d\"$MYSQL_DB_PORT\" \\"},{"line_number":159,"context_line":"      --user\u003d\"$MYSQL_DB_USERNAME\" \\"},{"line_number":160,"context_line":"      --password\u003d\"$MYSQL_DB_PASSWORD\" \\"},{"line_number":161,"context_line":"      --connect_timeout\u003d10; then"},{"line_number":162,"context_line":"    echo \"MySQL is available, continuing...\""},{"line_number":163,"context_line":"    success\u003d\"true\""},{"line_number":164,"context_line":"    break"},{"line_number":165,"context_line":"  else"},{"line_number":166,"context_line":"    echo \"Connection attempt $i of $MYSQL_WAIT_RETRIES failed\""},{"line_number":167,"context_line":"    sleep \"$MYSQL_WAIT_DELAY\""},{"line_number":168,"context_line":"  fi"},{"line_number":169,"context_line":"done"},{"line_number":170,"context_line":""},{"line_number":171,"context_line":"if [ \"$success\" !\u003d \"true\" ]; then"},{"line_number":172,"context_line":"    echo \"Unable to reach MySQL database! Exiting...\""},{"line_number":173,"context_line":"    sleep 1"},{"line_number":174,"context_line":"    exit 1"},{"line_number":175,"context_line":"fi"},{"line_number":176,"context_line":""},{"line_number":177,"context_line":"if [ -n \"$KAFKA_WAIT_FOR_TOPICS\" ]; then"},{"line_number":178,"context_line":"  echo \"Waiting for Kafka topics to become available...\""},{"line_number":179,"context_line":"  success\u003d\"false\""},{"line_number":180,"context_line":""},{"line_number":181,"context_line":"  for i in $(seq \"$KAFKA_WAIT_RETRIES\"); do"},{"line_number":182,"context_line":"    if python /kafka_wait_for_topics.py; then"},{"line_number":183,"context_line":"      success\u003d\"true\""},{"line_number":184,"context_line":"      break"},{"line_number":185,"context_line":"    else"},{"line_number":186,"context_line":"      echo \"Kafka not yet ready (attempt $i of $KAFKA_WAIT_RETRIES)\""},{"line_number":187,"context_line":"      sleep \"$KAFKA_WAIT_DELAY\""},{"line_number":188,"context_line":"    fi"},{"line_number":189,"context_line":"  done"},{"line_number":190,"context_line":""},{"line_number":191,"context_line":"  if [ \"$success\" !\u003d \"true\" ]; then"},{"line_number":192,"context_line":"    echo \"Kafka failed to become ready, exiting...\""},{"line_number":193,"context_line":"    sleep 1"},{"line_number":194,"context_line":"    exit 1"},{"line_number":195,"context_line":"  fi"},{"line_number":196,"context_line":"fi"},{"line_number":197,"context_line":""},{"line_number":198,"context_line":"if [ \"${NO_STORM_CLUSTER}\" \u003d \"true\" ]; then"},{"line_number":199,"context_line":"  echo \"Using Thresh Config file /storm/conf/thresh-config.yml. Contents:\""}],"source_content_type":"text/x-sh","patch_set":7,"id":"dfbec78f_aa270bca","line":196,"range":{"start_line":153,"start_character":0,"end_line":196,"end_character":2},"updated":"2019-05-15 09:49:02.000000000","message":"use scripts from monasca-common/monasca-base","commit_id":"9669d672877718c9a2370e426315de72c892e7fc"},{"author":{"_account_id":21922,"name":"Dobroslaw Zybort","email":"dobroslaw.zybort@ts.fujitsu.com","username":"dobrolaw.zybort"},"change_message_id":"4dad6c36a4ab2d0f9ad53471104c9ed90fc08cd6","unresolved":false,"context_lines":[{"line_number":149,"context_line":"fi"},{"line_number":150,"context_line":""},{"line_number":151,"context_line":"exec \"$@\""},{"line_number":152,"context_line":""},{"line_number":153,"context_line":"if [ \"${NO_STORM_CLUSTER}\" \u003d \"true\" ]; then"},{"line_number":154,"context_line":"  echo \"Using Thresh Config file /storm/conf/thresh-config.yml. Contents:\""},{"line_number":155,"context_line":"  grep -vi password /storm/conf/thresh-config.yml"}],"source_content_type":"text/x-sh","patch_set":9,"id":"bfb3d3c7_8a2020ae","line":152,"updated":"2019-05-28 13:23:34.000000000","message":"ok, you removed old bash checks but why are you not using python scripts for testing accessibility...","commit_id":"55a6679cd83e547a321186d06dd6563b2a6d1108"}],"docker/template.py":[{"author":{"_account_id":21922,"name":"Dobroslaw Zybort","email":"dobroslaw.zybort@ts.fujitsu.com","username":"dobrolaw.zybort"},"change_message_id":"b5fee831958caa3e30c716051bf6c5bec0fddd5d","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":7,"id":"dfbec78f_0aec178d","updated":"2019-05-15 09:49:02.000000000","message":"remove this file and use Templer like in all images (with python 3)","commit_id":"9669d672877718c9a2370e426315de72c892e7fc"}]}
