-
Notifications
You must be signed in to change notification settings - Fork 12
Running the tutorials
Rizwan Saeed edited this page Dec 16, 2019
·
2 revisions
We have provided a set of examples within the repository that demonstrate how to call the LUSID API. The full tutorial series can be found at https://www.lusid.com/app/resources/tutorials.
The tutorials can be run as tests from within the sdk folder. First set up your API credentials (if using a secrets.json file place this in the sdk/src/test/resources folder) and then run the tests using the following command:
$ mvn -e -fae test
The tutorials can also be run using docker. Build and run the container using docker-compose
$ docker-compose up --build && docker-compose rm -f
Alernatively run using docker commands
Build the container
$ docker build -t finbourne/lusid-sdk-java-test .
Run the tests
$ docker run --rm -it --name lusid-sdk-java-test -v `pwd`:/usr/src finbourne/lusid-sdk-java-test