This documentation is for WSO2 Private PaaS 4.1.0. View documentation for the latest release.
Application Sign Up Resource Definition - WSO2 Private PaaS 4.1.0 - WSO2 Documentation
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     
||
Skip to end of metadata
Go to start of metadata

The application sign up process happens automatically when a single-tenant application is deployed. However, when using multi-tenant applications, you have to manually sign up to an application after it is deployed. A sample application sign up definition, together with information on all the properties that can be added in an application sign up definition JSON are as follows:

Sample application sign up definition JSON

The following are sample configurations that can be used in a JSON to define an application sign up:

{
  "artifactRepositories": [
    {
      "alias": "wso2as-521-worker",
      "privateRepo": false,
      "repoUrl": "https://github.com/imesh/stratos-php-applications.git",
      "repoUsername": "",
      "repoPassword": ""
    },
    {
      "alias": "wso2as-521-manager",
      "privateRepo": false,
      "repoUrl": "https://github.com/imesh/stratos-tomcat-applications.git",
      "repoUsername": "",
      "repoPassword": ""
    }
  ]
}

Property definitions

All the properties that correspond to the application sign up resource are explained as follows:

  • W = Writable
  • R = Readable
  • U = Updatable
  • M = Mandatory (Required)
  • DV = Default Value

Main properties

PropertyWRUDescriptionMDVData
Type 
Example
JSON

artifactRepositories

 The details of the remote Git repository that corresponds to the cartridge. For more information on the sub-properties, see artifactRepository. YesN/AartifactRepositories
array
 

Sub-properties

artifactRepositories
PropertyWRUDescriptionMDVData
Type 
Example
JSON
alias
 The alias of the cartridge.YesN/AString
tomcat
privateRepo
 Whether the Git repository is a private or public repository. If the value assigned to this field is "true", it indicates that the repository is a private repository.YesfalseBooleantrue

repoUrl

 The URL of the Git repository.YesN/AString
https://github.com/imesh/
stratos-tomcat-applications.git
repoUsername
 If you have defined a private Git repository, enter the username used to access the repository.YesN/AStringadmin
repoPassword
 If you have defined a private Git repository, enter the password used to access the repository.YesN/AStringtest_password
  • No labels