Skip to content

Commit

Permalink
chore: update recipe casing for run lifecycle and artifact uri (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
patrzhan authored Dec 17, 2024
1 parent 6c35a0c commit 4a740f9
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions templates/java/HelloWorld/recipe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ Manifests:
- Platform:
os: all
Artifacts:
- URI: "s3://BUCKET_NAME/COMPONENT_NAME/COMPONENT_VERSION/HelloWorld-1.0.0.jar"
- Uri: "s3://BUCKET_NAME/COMPONENT_NAME/COMPONENT_VERSION/HelloWorld-1.0.0.jar"
Lifecycle:
Run: "java -cp {artifacts:path}/HelloWorld-1.0.0.jar com.hello.App {configuration:/Message}"
run: "java -cp {artifacts:path}/HelloWorld-1.0.0.jar com.hello.App {configuration:/Message}"
4 changes: 2 additions & 2 deletions templates/java/LocalPubSub/recipe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ Manifests:
- Platform:
os: all
Artifacts:
- URI: "s3://BUCKET_NAME/COMPONENT_NAME/COMPONENT_VERSION/LocalPubSub-1.0.0.jar"
- Uri: "s3://BUCKET_NAME/COMPONENT_NAME/COMPONENT_VERSION/LocalPubSub-1.0.0.jar"
Lifecycle:
Run: "java -cp {artifacts:path}/LocalPubSub-1.0.0.jar com.localpubsub.App '{configuration:/Topic}' '{configuration:/Message}'"
run: "java -cp {artifacts:path}/LocalPubSub-1.0.0.jar com.localpubsub.App '{configuration:/Topic}' '{configuration:/Message}'"
4 changes: 2 additions & 2 deletions templates/java/TestingFramework/component/recipe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ Manifests:
- Platform:
os: all
Artifacts:
- URI: "s3://BUCKET_NAME/COMPONENT_NAME/COMPONENT_VERSION/Component-1.0.0-SNAPSHOT.jar"
- Uri: "s3://BUCKET_NAME/COMPONENT_NAME/COMPONENT_VERSION/Component-1.0.0-SNAPSHOT.jar"
Lifecycle:
Run: "java -cp {artifacts:path}/Component-1.0.0-SNAPSHOT.jar com.templates.otf.App"
run: "java -cp {artifacts:path}/Component-1.0.0-SNAPSHOT.jar com.templates.otf.App"
4 changes: 2 additions & 2 deletions templates/python/HelloWorld/recipe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Manifests:
- Platform:
os: all
Artifacts:
- URI: "s3://BUCKET_NAME/COMPONENT_NAME/COMPONENT_VERSION/com.example.PythonHelloWorld.zip"
- Uri: "s3://BUCKET_NAME/COMPONENT_NAME/COMPONENT_VERSION/com.example.PythonHelloWorld.zip"
Unarchive: ZIP
Lifecycle:
Run: "python3 -u {artifacts:decompressedPath}/com.example.PythonHelloWorld/main.py {configuration:/Message}"
run: "python3 -u {artifacts:decompressedPath}/com.example.PythonHelloWorld/main.py {configuration:/Message}"
4 changes: 2 additions & 2 deletions templates/python/LocalPubSub/recipe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Manifests:
- Platform:
os: all
Artifacts:
- URI: "s3://BUCKET_NAME/COMPONENT_NAME/COMPONENT_VERSION/com.example.PythonLocalPubSub.zip"
- Uri: "s3://BUCKET_NAME/COMPONENT_NAME/COMPONENT_VERSION/com.example.PythonLocalPubSub.zip"
Unarchive: ZIP
Lifecycle:
Run: "python3 -u {artifacts:decompressedPath}/com.example.PythonLocalPubSub/main.py {configuration:/Topic} {configuration:/Message}"
run: "python3 -u {artifacts:decompressedPath}/com.example.PythonLocalPubSub/main.py {configuration:/Topic} {configuration:/Message}"

0 comments on commit 4a740f9

Please sign in to comment.