brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From drigodwin <...@git.apache.org>
Subject [GitHub] brooklyn-library issue #141: Mysql update password
Date Thu, 09 Nov 2017 12:35:13 GMT
Github user drigodwin commented on the issue:

    https://github.com/apache/brooklyn-library/pull/141
  
    I've tested this by starting this blueprint:
    ```
    brooklyn.catalog:
      version: "1.0.0-SNAPSHOT"
      items:
      - id: test
        version: "1.0.0-SNAPSHOT"
        itemType: template
        license: Apache-2.0
        item:
          services:
          - type: org.apache.brooklyn.entity.software.base.VanillaSoftwareProcess
            brooklyn.config:
              checkRunning.command: |
                echo true
    ```
    Then adding this child:
    ```
    services:
      - type: org.apache.brooklyn.entity.database.mysql.MySqlNode
        id: db2
        name: MySQL node 2
        brooklyn.config:
          mysql.password: s0m3rand0mp4ss
          mysql.datadir: /tmp
          datastore.creation.script.url: https://github.com/apache/brooklyn-library/raw/master/examples/simple-web-cluster/src/main/resources/visitors-creation-script.sql
    ```
    Then stopping that child once installed and adding this child:
    ```
    services:
      - type: org.apache.brooklyn.entity.database.mysql.MySqlNode
        id: db2
        name: MySQL node 2
        brooklyn.config:
          mysql.password: s0m3rand0mp4ss
          mysql.datadir: /tmp
    ```
    Everything starts and runs as expected


---

Mime
View raw message