|
1 | 1 | ## Getting Started |
2 | | -- [ ] [Sign up for an Apigee Account!](https://accounts.apigee.com/accounts/sign_up?callback=https://enterprise.apigee.co). Not required if already provided. |
3 | | -- [ ] [Download and install Maven 3.0.*](http://maven.apache.org/download.cgi) |
4 | | -- [ ] Clone this repo https://github.com/apigee/apigee-deploy-maven-plugin |
5 | | -- [ ] ```cd samples/forecastweatherapi-recommended/src/gateway/forecastweatherapi``` **Recommended template |
6 | | -- [ ] For sharedflow ```cd samples/security-sharedflow/src/sharedflows/security``` **Recommended template |
7 | | -- [ ] Execute ```mvn install -Ptest -Dusername={apigee-edge-email} -Dpassword={apigee-edge-password} -Dorg={apigee-edge-org}``` |
| 2 | +- [Sign up for an Apigee Account!](https://accounts.apigee.com/accounts/sign_up?callback=https://enterprise.apigee.co). Not required if already provided. |
| 3 | +- [Download and install Maven 3.0.*](http://maven.apache.org/download.cgi) |
| 4 | +- Clone this repo https://github.com/apigee/apigee-deploy-maven-plugin |
| 5 | +- ```cd samples/forecastweatherapi-recommended/src/gateway/forecastweatherapi``` *Recommended template* |
| 6 | +- For sharedflow ```cd samples/security-sharedflow/src/sharedflows/security``` *Recommended template* |
| 7 | +- Execute ```mvn install -Ptest -Dusername={apigee-edge-email} -Dpassword={apigee-edge-password} -Dorg={apigee-edge-org}``` |
8 | 8 |
|
9 | 9 | That's it! If everything ran smooth, you will see BUILD SUCCESS message at the of the execution of this command. Next steps, learn a bit of Maven to customize the pom.xml. |
10 | 10 |
|
11 | | -##Basic Commands – apigee.options |
| 11 | +## Basic Commands – apigee.options |
12 | 12 |
|
13 | | -###Configure, package, import, deploy, and test bundle (default validate apigee.option) – Creates new revision |
| 13 | +### Configure, package, import, deploy, and test bundle (default validate apigee.option) – Creates new revision |
14 | 14 |
|
15 | 15 | ```mvn install -Ptest -Dusername=$ae_username -Dpassword=$ae_password -Dorg=testmyapi``` |
16 | 16 |
|
17 | | -###Configure, package, import, override, deploy, and test bundle (default validate apigee.option) – Overrides current revision |
| 17 | +### Configure, package, import, override, deploy, and test bundle (default validate apigee.option) – Overrides current revision |
18 | 18 |
|
19 | 19 | ```mvn install -Ptest -Dusername=$ae_username -Dpassword=$ae_password -Doptions=validate,update``` |
20 | 20 |
|
21 | | -###Delete current bundle deployed |
| 21 | +### Delete current bundle deployed |
22 | 22 |
|
23 | 23 | ```mvn install -Ptest -Dusername=$ae_username -Dpassword=$ae_password -Doptions=clean``` |
24 | 24 |
|
25 | 25 | ```mvn install -Ptest -Dusername=$ae_username -Dpassword=$ae_password -Dorg=testmyapi -Doptions=inactive``` |
26 | 26 |
|
27 | | -###Configure and package bundle. Does not import |
| 27 | +### Configure and package bundle. Does not import |
28 | 28 |
|
29 | 29 | ```mvn package -Ptest -Dusername=$ae_username -Dpassword=$ae_password -Dorg=testmyapi``` |
30 | 30 |
|
31 | | -###Run tests only |
| 31 | +### Run tests only |
32 | 32 |
|
33 | 33 | ```mvn jmeter:jmeter -Ptest -Dusername=$ae_username -Dpassword=$ae_password -Dorg=testmyapi -DtestData=weather_test.csv -DthreadNum=5 -DrampUpPeriodSecs=5 -DloopCount=2``` |
34 | 34 |
|
35 | | -###The following are available options: |
| 35 | +### The following are available options: |
36 | 36 | a. clean - This will delete the last deployed revision in an environment. |
37 | 37 |
|
38 | 38 | b. validate - This will validate a bundle before importing. Thus if you want strict validation then its required. |
|
0 commit comments