[
https://issues.apache.org/jira/browse/STRATOS-890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14169179#comment-14169179
]
Sajith Kariyawasam commented on STRATOS-890:
--------------------------------------------
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"
}
]
}
> Users should be able to provide a Git repo url when subscribing
> ---------------------------------------------------------------
>
> Key: STRATOS-890
> URL: https://issues.apache.org/jira/browse/STRATOS-890
> Project: Stratos
> Issue Type: New Feature
> Reporter: Sajith Kariyawasam
> Assignee: Sajith Kariyawasam
> Fix For: 4.1.0 M2
>
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)