Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Okatana Java examples

The examples are executable Java programs that model integration workflows rather than isolated API calls.

Set the required environment variables first:

export OKATANA_URL='https://okatana.your-company.example'
export OKATANA_API_KEY='oka_public.secret'
export OKATANA_ORGANIZATION_ID='organization-id'
export OKATANA_PROJECT_ID='project-id'

Build the SDK once, then build the examples:

mvn install -DskipTests
mvn -f examples/pom.xml verify

Run a scenario by its class name, for example:

mvn -f examples/pom.xml exec:java \
  -Dexec.mainClass=com.newfoundcodes.okatana.examples.IncidentResponseWorkflow

Example source file names use descriptive names and have no numeric prefixes.