Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titleExample for Deployment Descriptor
linenumberstrue
collapsetrue
{
  "descriptor": {
    "descriptorId": "standalone-controller-http-2022-12-04",
    "title": "Install or update Controller Standalone instance using HTTP connections",
    "account": "sos",
    "scheduled": "2022-12-02T05:19:12.000+00:00",
    "created": "2022-11-30T22:19:12.000+00:00"
  },
  "controllers": [
    {
      "jocRef": "standalonejoc",
      "controllerId": "controller",
      "primary": {
        "target": {
          "connection": {
            "host": "centostest-primary",
            "port": 22
          },
          "authentication": {
            "method": "publickey",
            "user": "sos",
            "keyFile": "/home/sos/.ssh/sos_rsa"
          },
          "packageLocation": "/tmp",
          "execPre": "StopService",
          "execPost": "StartService",
          "makeService": true
        },
        "media": {
          "release": "2.5.23",
          "tarball": "2.5.23/js7_controller_unix.2.5.23.tar.gz"
        },
        "installation": {
          "home": "/opt/sos-berlin.com/js7/controller-standalone",
          "data": "/var/sos-berlin.com/js7/controller-standalone",
          "httpPort": "21444",
          "javaHome": "/opt/java/jdk8u202-b08",
          "javaOptions": "-Xmx256m -Djava.security.egd=file:///dev/urandom"
        }
      }
    }
  ],
  "version": "1.5.3"
}

...

Code Block
titleExample for Deployment Descriptor
linenumberstrue
collapsetrue
{
  "descriptor": {
    "descriptorId": "standalone-controller-https-2022-12-04",
    "title": "Install or update Controller Standalone instance using HTTPS connections",
    "account": "sos",
    "scheduled": "2022-12-02T05:19:12.000+00:00",
    "created": "2022-11-30T22:19:12.000+00:00"
  },
    "certificates": {
        "joc": {
            "primaryJocCert": "joc/instances/joc.standalone/resources/centostest-primary.crt"
        }
    },
  "controllers": [
    {
      "jocRef": "standalonejoc",
      "controllerId": "controller",
      "primary": {
        "target": {
          "connection": {
            "host": "centostest-primary",
            "port": 22
          },
          "authentication": {
            "method": "publickey",
            "user": "sos",
            "keyFile": "/home/sos/.ssh/sos_rsa"
          },
          "packageLocation": "/tmp",
          "execPre": "StopService",
          "execPost": "StartService",
          "makeService": true
        },
        "media": {
          "release": "2.5.23",
          "tarball": "2.5.23/js7_controller_unix.2.5.23.tar.gz"
        },
        "installation": {
          "home": "/opt/sos-berlin.com/js7/controller-standalone",
          "data": "/var/sos-berlin.com/js7/controller-standalone",
          "httpPort": "localhost:21444",
          "httpsPort": "centostest-primary.sos:21443",
          "javaHome": "/opt/java/jdk8u202-b08",
          "javaOptions": "-Xmx256m -Djava.security.egd=file:///dev/urandom"
        },
        "configuration": {
          "certificates": {
            "keyStore": "controllers/instances/controller.standalone/config/private/https-keystore.p12",
            "keyStorePassword": "jobscheduler",
            "keyPassword": "jobscheduler",
            "trustStore": "controllers/instances/controller.standalone/config/private/https-truststore.p12",
            "trustStorePassword": "jobscheduler"
          },
          "templates": [
            "controllers/templates/https.primary/config"
          ]
        }
      }
    }
  ],
  "version": "1.5.3"
}

...