Skip to content

adolfopa/sample-liferay-scalatra-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sample Liferay Scalatra Service

Build & Run

$ cd Sample_Liferay_Scalatra_Service
$ ./sbt
> package
> exit
$ cp target/scala-2.10/*.war ${LRHOME}/webapps/scalatra-sample.war
$ curl -H 'Content-Type: application/json' http://localhost:8080/scalatra-sample/instances

Examples

In the tests directory there is a set of test cases showing all valid use cases. To run:

$ cd tests
$ virtualenv .
$ source ./bin/activate.sh
$ pip install nose
$ pip install requests
$ ./bin/nosetests -w src -v

Enjoy!

About

A sample Scalatra service exposing Liferay services

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published