Skip to content

loxal/service-kit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Support this project

PayPal Donate Flattr Donate Gratipay Donate

Support this work with cryptocurrencies like BitCoin, Ethereum, Ardor, and Komodo!

Operate

Run

./run.sh

Test

./test.sh

Services & Endpoints

Quotation Endpoint

  • Browser client: /dilbert-quote/index.html
  • Endpoint for enterprise environment working condition quotations: /dilbert-quote/enterprise
  • Endpoint for manager quotations: /dilbert-quote/manager
  • Endpoint for programmer quotations: /dilbert-quote/programmer
  • OpenID 2.0 authentication: /play/ground.html

Who am I

  • /whois:
    • Retrieves the IP address of the requesting host

Getting Started

  1. Add all corresponding required properties like appdirect.oauth.consumer.secret to your ~/.m2/settings.xml.

  2. ./run.sh

  3. Call http://local.loxal.net:8300/application.wadl

  4. Try http://local.loxal.net:8300

Demo Showcase

Deploy & Release

Deploy to Cloud Foundry

  • Run ./release.sh

Deploy to Google App Engine

  1. Edit ./release.sh appropriately
  2. Run ./release.sh