apigee deploy grunt plugin.1.0

Download Apigee deploy grunt plugin.1.0

If you can't read please download the document

Upload: diego-zuluaga

Post on 21-Jun-2015

317 views

Category:

Technology


4 download

DESCRIPTION

Apigee Deploy Grunt Plugin - API Management Lifecycle Tool that makes your life easier by providing a JavaScript pluggable framework for API development.

TRANSCRIPT

  • 1. API LifecycleLets start by providingsome context

2. Run Unit,Functional,andPerformanceTests2014 Apigee Corp. All Rights Reserved.3API Continuous Integration/Delivery (CI/CD)Dev TeamContinuous IntegrationSource CodeVersionControlPull Requestor MergeAPI Job istriggeredStatic CodeAnalysisCodecoverageanalysisDeploy APIBundlePublishReportsUpdate Docs 3. Lets take a look at some of the tasks requiredConfigure Artifacts for each environment (DEV, QA,Apply static code analysis2014 Apigee Corp. All Rights Reserved.Execute Unit TestsExecute Functional Tests4API LifecycleClean API Bundle Files and FoldersCopy ArtifactsDeactivate last revision from the API ServicesImport and deploy API bundle to API ServicesExecute Performance TestsDeploy and Test Documentation on CMSAny other manual tasksSTG, PROD, etc.)Package Artifacts (zip)Review code coverage 4. API Build LifecycleManagement knowntasks are just the tip ofthe iceberg2014 Apigee Corp. All Rights Reserved. 5. Dont shoot yourself on the foot2014 Apigee Corp. All Rights Reserved. 6. Without the right tools, APIbuild can be really painful!process 7. Easy and flexible Its JavaScript! Node! NPM! Plays well with TDD frameworks Empowers developers, QA, Ops, and businessowner - (DevOps) to apply continuous improvementto the lifecycle2014 Apigee Corp. All Rights Reserved.8Apigee Deploy Grunt Plugin 8. Features Ready for TDD with Mocha.js and Chai Does static code analysis with JSHint Reviews JavaScript complexity with Grunt-Complexity Easier to troubleshoot spits out cURL command support. Just pass --curl=true Deploys Node.js API Proxies. Support of Apigee NPM API Searches and replace files content with RegEx, string patterns, or XPath Supports JavaCallout Policies Does DRY - Includes files dynamically from common git submodule Compatible with most CI tools Jenkins, Bamboo, Go, and Travis Sends automatic desktop notifications with Grunt Notify. Requires growlnotify for Windows Compatible with IDEs. Chrome Grunt Dev Tools and WebStorm Compatible with Maven2014 Apigee Corp. All Rights Reserved.9Apigee Deploy Grunt Plugin 9. Apigee Deploy Grunt PluginGetting Started2014 Apigee Corp. All Rights Reserved.101. Clone this repo from Githubgit clone https://github.com/apigeecs/apigee-deploy-grunt-plugin.gitIf you don't have Git is installed, download this repo as a zip file andexpand it somewhere in the filesytem. 10. Apigee Deploy Grunt PluginGetting Started2014 Apigee Corp. All Rights Reserved.112. Initialize common Git Submoduleopen apigee-deploy-grunt-plugin folder and execute the following twocommands:git submodule initgit submodule update 11. Apigee Deploy Grunt PluginGetting Started2014 Apigee Corp. All Rights Reserved.123. Install Grunt-cliopen apigee-deploy-grunt-plugin folder and execute the following twocommands:sudo npm install grunt-cli gornpm install grunt-cli g 12. Apigee Deploy Grunt PluginGetting Started2014 Apigee Corp. All Rights Reserved.134. Install npm packagesnpm install 13. Apigee Deploy Grunt PluginGetting Started2014 Apigee Corp. All Rights Reserved.145. Setup environment profiles in grunt/apigee-config.js 14. Apigee Deploy Grunt PluginGetting Started2014 Apigee Corp. All Rights Reserved.156. Make it Grunt!grunt --env=test --username={apigee_edge_email_address} --password={apigee_edge_password} --debug --curl=true 15. Thank you