Skip to content
This repository was archived by the owner on Apr 17, 2019. It is now read-only.

rbergman/tendril-java-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

About

This sample application is provided simply to demonstrate basic 0-legged (password) OAuth login to the Tendril Connect HTTP APIs as could be implemented in Java.

Installation

First clone the repo:

git clone git@github.com:TendrilDevProgram/tendril-java-cli.git

Next:

cd tendril-java-cli
cp src/main/resources/META-INF/application.properties.sample src/main/resources/META-INF/application.properties

Then at Tendril's developer site, create an app to acquire an OAuth2 app id and key. Edit application.properties to set these values. At this point you should be ready to run the application with Maven like so:

mvn exec:java

At the username prompt, enter "kim.deal@tendril.com" (or another user as decribed at the Tendril developer website), and "password" at the password prompt.

Or, run the simple test, as follows:

mvn test

For a more comprehensive example of a Java client accessing the Tendril APIs, see the Tendril Cirrus project.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages