-
Notifications
You must be signed in to change notification settings - Fork 6
examples module has no run mechanism: no application plugin, no run scripts, no README instructions #95
Description
Problem
The examples module has no way to run examples from the command line. A developer who clones the repo and tries to run an example will immediately hit a dead end.
Tracked as a zero-to-one onboarding blocker in conductor-oss/getting-started#51
Steps to Reproduce
git clone https://github.com/conductor-oss/java-sdk
cd java-sdk
./gradlew :examples:runError
Cannot locate tasks that match ':examples:run' as task 'run' not found in project ':examples'.
Root Cause
examples/build.gradle applies only the java plugin — not the application plugin. There is no run task, no shell scripts in the repo root, and no README section explaining how to run any example.
Impact
There is no documented path to run even the simplest HelloWorker or CreateWorkflow example. A developer who has not used Gradle before will not know they need to manually set up classpath assembly. This breaks zero-to-one onboarding.
Suggested Fix
Add an application plugin entry-point (or at minimum a ./run-example.sh script) and a README section with:
export CONDUCTOR_SERVER_URL=http://localhost:8080/api
./gradlew :examples:run -PmainClass=com.netflix.conductor.gettingstarted.CreateWorkflowAnd a note that StartWorkflow requires running HelloWorker concurrently.
Zero-to-one tracking: conductor-oss/getting-started#51