Skip to content

krishnan7785/PlaceOrderAPI

Repository files navigation

Place Order API on Heroku

Provides a REST based client to interact with Salesforce Composite API to Load Contract, Orders and Order Items. The application can run on heroku as a scheduled process.

Prerequisites

This is a java and maven based project and will require appropriate versions of JDK and Maven. Also requires a HEROKU CLI to interact with system api on heroku.

Deployment

These are series of steps to deploy project to heroku

mvn clean compile

after successful build

git init

after successful init

git commit -m 'Required Changes'

push to remote branch

git push

set remote git repo and app

heroku git:remote -a <app name>

deploy to heroku

git push heroku master

or

mvn heroku:deploy -Dheroku.appName=<App name> -DskipTests=true

Deploy Button:

Deploy

Running the Processes

kickstart scheduler Process using

heroku ps:scale scheduler=1

kickstart worker Process 1 using

heroku ps:scale worker1=1

tail app logs using

heroku logs --tail

Running the tests

Uses testng as the test runner. To run individual test run

mvn -Dtest=<Class name>#<Method Name> test

Built With

Authors

  • Krishnan Ganesan - Initial work

See also the list of contributors who participated in this project.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages