README
WSO2 Carbon App Buillder
Using:
npm install -g wso2-ei-cli
integrator build -t <project_name> [-e <environment_name>] [-o <output_path>]
integrator new -t <project_name>
Project structure
.
|--+ _common
| |--+ synapse-config
| | |-- api
| | |-- endpoints
| | |-- proxy-services
| | |-- sequences
| | |-- templates
| |
| |--+ registry
| |-- endpoints
| |-- policies
| |-- scripts
| |-- swaggers
| |-- wsdls
| |-- xslts
|
|--+ project-name
|--+ synapse-config
| |-- api
| |-- endpoints
| |-- proxy-services
| |-- sequences
| |-- templates
|
|--+ registry
| |-- endpoints
| |-- policies
| |-- scripts
| |-- swaggers
| |-- wsdls
| |-- xslts
|--- env.json
|--- env.dev.json
|--- env.staging.json
Changelog
1.1.5
- Bug fix
1.1.4
- Add environment specific env.json file.
Example: env.dev.json, env.staging.json
Default is env.json file.
1.1.3
- Fix dataservices building
1.1.2
- Set swagger mediaType depends of file extension
1.1.0
Add environment dependency
Project should contain env.json file with variables
Usage example:{$ProjectHome}/registry/endpoints/GetTime.xml
<endpoint name="GetTime" xmlns="http://ws.apache.org/ns/synapse"> <http method="GET" uri-template="{{__endpoint_worldtime_host__}}/api/timezone/{{__timezone__}}" /> </endpoint>
env.json
{ "endpoint_worldtime_host": "http://worldtimeapi.org", "timezone": "Europe/London" }
1.0.4
- Add swagger registry file type
Result<endpoint name="GetTime" xmlns="http://ws.apache.org/ns/synapse"> <http method="GET" uri-template="http://worldtimeapi.org/api/timezone/Europe/London" /> </endpoint>
1.0.3
- Added support for dataservices
1.0.2
- Added posibility to set output CAR name
- Added more command actions
1.0.1
- Fixed usage example
1.0.0
- Create project
- Build carbon application