Uploaded image for project: 'Stratos'
  1. Stratos
  2. STRATOS-890

Users should be able to provide a Git repo url when subscribing

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1.0 RC3
    • Component/s: None
    • Labels:
      None

      Activity

      Hide
      sajith Sajith Kariyawasam added a comment -

      This feature was not available for containers in 4.1.0-m1. Added in 4.1.0-m2

      Show
      sajith Sajith Kariyawasam added a comment - This feature was not available for containers in 4.1.0-m1. Added in 4.1.0-m2
      Hide
      sajith Sajith Kariyawasam added a comment -

      Fixed APP_PATH parameter in cartridge agent --> Added "payload_parameter.APP_PATH" to subscription json.
      Further, need to add
      "repoURL": "<git-repo-URL>",
      "repoUsername": "<username>",
      "repoPassword": "<pwd>",

      Sample subscription json is listed below

      {
      "cartridgeType": "php",
      "alias": "test123",
      "commitsEnabled": "false",
      "autoscalePolicy": "economy",
      "repoURL": "<git-repo-URL>",
      "repoUsername": "<username>",
      "repoPassword": "<pwd>",
      "property": [

      { "name": "KUBERNETES_CLUSTER_ID", "value": "KubGrp2" }

      ,

      { "name": "KUBERNETES_REPLICAS_MIN", "value": "2" }

      ,

      { "name": "KUBERNETES_REPLICAS_MAX", "value": "20" }

      ,

      { "name": "payload_parameter.MB_IP", "value": "172.17.42.1" }

      ,

      { "name": "payload_parameter.MB_PORT", "value": "1883" }

      ,

      { "name": "payload_parameter.CEP_IP", "value": "172.17.42.1" }

      ,

      { "name": "payload_parameter.CEP_PORT", "value": "7611" }

      ,

      { "name": "payload_parameter.LOG_LEVEL", "value": "DEBUG" }

      ,

      { "name": "payload_parameter.APP_PATH", "value": "/var/www" }

      ]
      }

      Show
      sajith Sajith Kariyawasam added a comment - Fixed APP_PATH parameter in cartridge agent --> Added "payload_parameter.APP_PATH" to subscription json. Further, need to add "repoURL": "<git-repo-URL>", "repoUsername": "<username>", "repoPassword": "<pwd>", Sample subscription json is listed below { "cartridgeType": "php", "alias": "test123", "commitsEnabled": "false", "autoscalePolicy": "economy", "repoURL": "<git-repo-URL>", "repoUsername": "<username>", "repoPassword": "<pwd>", "property": [ { "name": "KUBERNETES_CLUSTER_ID", "value": "KubGrp2" } , { "name": "KUBERNETES_REPLICAS_MIN", "value": "2" } , { "name": "KUBERNETES_REPLICAS_MAX", "value": "20" } , { "name": "payload_parameter.MB_IP", "value": "172.17.42.1" } , { "name": "payload_parameter.MB_PORT", "value": "1883" } , { "name": "payload_parameter.CEP_IP", "value": "172.17.42.1" } , { "name": "payload_parameter.CEP_PORT", "value": "7611" } , { "name": "payload_parameter.LOG_LEVEL", "value": "DEBUG" } , { "name": "payload_parameter.APP_PATH", "value": "/var/www" } ] }
      Hide
      sajith Sajith Kariyawasam added a comment -

      Fixed as per the above comment

      Show
      sajith Sajith Kariyawasam added a comment - Fixed as per the above comment

        People

        • Assignee:
          sajith Sajith Kariyawasam
          Reporter:
          sajith Sajith Kariyawasam
        • Votes:
          0 Vote for this issue
          Watchers:
          1 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved:

            Development