Code Monkey home page Code Monkey logo

orkesworkers's People

Contributors

altafalam21 avatar boney9 avatar coderabhigupta avatar dougsillars avatar eunit99 avatar jeu3nohup avatar jmigueprieto avatar nohup23 avatar sudakatux avatar v1r3n avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

orkesworkers's Issues

./gradlew run doesn't work

(base) albertwong@M-C02D5GVKMD6M orkesworkers % ./gradlew run

Welcome to Gradle 7.2!

Here are the highlights of this release:
 - Toolchain support for Scala
 - More cache hits when Java source files have platform-specific line endings
 - More resilient remote HTTP build cache behavior

For more details see https://docs.gradle.org/7.2/release-notes.html

Starting a Gradle Daemon, 2 busy and 1 incompatible Daemons could not be reused, use --status for details

FAILURE: Build failed with an exception.

* What went wrong:
Task 'run' not found in root project 'orkesworkers'.

* Try:
Run gradlew tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 6s
<-------------> 0% WAITING
> IDLE
(base) albertwong@M-C02D5GVKMD6M orkesworkers % ./gradlew    

> Task :help

Welcome to Gradle 7.2.

To run a build, run gradlew <task> ...

To see a list of available tasks, run gradlew tasks

To see a list of command-line options, run gradlew --help

To see more detail about a task, run gradlew help --task <task>

For troubleshooting, visit https://help.gradle.org

BUILD SUCCESSFUL in 782ms
1 actionable task: 1 executed
(base) albertwong@M-C02D5GVKMD6M orkesworkers % ./gradlew tasks

> Task :tasks

------------------------------------------------------------
Tasks runnable from root project 'orkesworkers'
------------------------------------------------------------

Application tasks
-----------------
bootRun - Runs this project as a Spring Boot application.

Build tasks
-----------
assemble - Assembles the outputs of this project.
bootBuildImage - Builds an OCI image of the application using the output of the bootJar task
bootJar - Assembles an executable jar archive containing the main classes and their dependencies.
bootJarMainClassName - Resolves the name of the application's main class for the bootJar task.
bootRunMainClassName - Resolves the name of the application's main class for the bootRun task.
build - Assembles and tests this project.
buildDependents - Assembles and tests this project and all projects that depend on it.
buildNeeded - Assembles and tests this project and all projects it depends on.
classes - Assembles main classes.
clean - Deletes the build directory.
jar - Assembles a jar archive containing the main classes.
testClasses - Assembles test classes.

Build Setup tasks
-----------------
init - Initializes a new Gradle build.
wrapper - Generates Gradle wrapper files.

Documentation tasks
-------------------
javadoc - Generates Javadoc API documentation for the main source code.

Help tasks
----------
buildEnvironment - Displays all buildscript dependencies declared in root project 'orkesworkers'.
dependencies - Displays all dependencies declared in root project 'orkesworkers'.
dependencyInsight - Displays the insight into a specific dependency in root project 'orkesworkers'.
dependencyManagement - Displays the dependency management declared in root project 'orkesworkers'.
help - Displays a help message.
javaToolchains - Displays the detected java toolchains.
outgoingVariants - Displays the outgoing variants of root project 'orkesworkers'.
projects - Displays the sub-projects of root project 'orkesworkers'.
properties - Displays the properties of root project 'orkesworkers'.
tasks - Displays the tasks runnable from root project 'orkesworkers'.

Verification tasks
------------------
check - Runs all checks.
test - Runs the unit tests.

Rules
-----
Pattern: clean<TaskName>: Cleans the output files of a task.
Pattern: build<ConfigurationName>: Assembles the artifacts of a configuration.

To see all tasks and more detail, run gradlew tasks --all

To see more detail about a task, run gradlew help --task <task>

BUILD SUCCESSFUL in 936ms
1 actionable task: 1 executed

answer.... run with differnt command.

(base) albertwong@M-C02D5GVKMD6M orkesworkers % ./gradlew bootRun

Errors when runnning ./gradlew bootRun

ERROR com.netflix.conductor.client.automator.TaskPollExecutor - Error when polling for tasks io.orkes.conductor.client.http.ApiException:

In the sample directory, there are a bunch of examples. Just delete all the classes you don't need.

Error with startup. Please provide an application key id and secret

 /usr/bin/env /Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home/bin/java -agentlib:jdwp=transport=dt_socket,server=n,suspend=y,address=localhost:58484 @/var/folders/zg/p07wb12j2c5_pl1mlhb500hr0000gn/T/cp_4km800iugn6796aiz4d1dyc4f.argfile io.orkes.samples.OrkesWorkersApplication 
(base) albertwong@M-C02D5GVKMD6M orkesworkers %  /usr/bin/env /Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home/bin/java -agentlib:
jdwp=transport=dt_socket,server=n,suspend=y,address=localhost:58484 @/var/folders/zg/p07wb12j2c5_pl1mlhb500hr0000gn/T/cp_4km800iugn6796aiz4d1dyc4f.ar
gfile io.orkes.samples.OrkesWorkersApplication 
11:19:05.425 [main] INFO io.orkes.samples.OrkesWorkersApplication - Loading Orkes Academy application...
11:19:05.434 [main] INFO io.orkes.samples.OrkesWorkersApplication - System Env Props - Key: PATH, Value: /Users/albertwong/.jenv/shims:/Users/albertwong/.jenv/bin:/bin:/Users/albertwong/mongodb-macos-x86_64-enterprise-4.4.0/bin:/Users/albertwong/mongodb-database-tools-macos-x86_64-100.1.1/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/MacGPG2/bin:/usr/local/munki:/Users/albertwong/Library/Application Support/cloud-code/installer/google-cloud-sdk/bin:/Users/albertwong/.jenv/shims:/Users/albertwong/.jenv/bin:/Users/albertwong/opt/anaconda3/bin:/Users/albertwong/opt/anaconda3/condabin:/Users/albertwong/.local/bin:/usr/local/bin:/Users/albertwong/.local/bin
11:19:05.436 [main] INFO io.orkes.samples.OrkesWorkersApplication - System Env Props - Key: MallocNanoZone, Value: 0
11:19:05.436 [main] INFO io.orkes.samples.OrkesWorkersApplication - System Env Props - Key: JAVA_MAIN_CLASS_14977, Value: io.orkes.samples.OrkesWorkersApplication
11:19:05.436 [main] INFO io.orkes.samples.OrkesWorkersApplication - System Env Props - Key: CONDA_DEFAULT_ENV, Value: base
11:19:05.436 [main] INFO io.orkes.samples.OrkesWorkersApplication - System Env Props - Key: CONDA_EXE, Value: /Users/albertwong/opt/anaconda3/bin/conda
11:19:05.436 [main] INFO io.orkes.samples.OrkesWorkersApplication - System Env Props - Key: AWS_PROFILE, Value: [email protected]
11:19:05.436 [main] INFO io.orkes.samples.OrkesWorkersApplication - System Env Props - Key: TERM, Value: xterm-256color
11:19:05.436 [main] INFO io.orkes.samples.OrkesWorkersApplication - System Env Props - Key: CONDA_PYTHON_EXE, Value: /Users/albertwong/opt/anaconda3/bin/python
11:19:05.436 [main] INFO io.orkes.samples.OrkesWorkersApplication - System Env Props - Key: LANG, Value: en_US.UTF-8
11:19:05.436 [main] INFO io.orkes.samples.OrkesWorkersApplication - System Env Props - Key: VSCODE_GIT_IPC_HANDLE, Value: /var/folders/zg/p07wb12j2c5_pl1mlhb500hr0000gn/T/vscode-git-342b1ffb50.sock
11:19:05.436 [main] INFO io.orkes.samples.OrkesWorkersApplication - System Env Props - Key: COMMAND_MODE, Value: unix2003
11:19:05.436 [main] INFO io.orkes.samples.OrkesWorkersApplication - System Env Props - Key: VSCODE_GIT_ASKPASS_MAIN, Value: /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass-main.js
11:19:05.436 [main] INFO io.orkes.samples.OrkesWorkersApplication - System Env Props - Key: CONDA_PREFIX, Value: /Users/albertwong/opt/anaconda3
11:19:05.436 [main] INFO io.orkes.samples.OrkesWorkersApplication - System Env Props - Key: _CE_M, Value: 
11:19:05.436 [main] INFO io.orkes.samples.OrkesWorkersApplication - System Env Props - Key: COLORTERM, Value: truecolor
11:19:05.436 [main] INFO io.orkes.samples.OrkesWorkersApplication - System Env Props - Key: VSCODE_GIT_ASKPASS_EXTRA_ARGS, Value: --ms-enable-electron-run-as-node
11:19:05.436 [main] INFO io.orkes.samples.OrkesWorkersApplication - System Env Props - Key: LOGNAME, Value: albertwong
11:19:05.436 [main] INFO io.orkes.samples.OrkesWorkersApplication - System Env Props - Key: VSCODE_GIT_ASKPASS_NODE, Value: /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin)
11:19:05.436 [main] INFO io.orkes.samples.OrkesWorkersApplication - System Env Props - Key: TERM_PROGRAM_VERSION, Value: 1.75.0
11:19:05.436 [main] INFO io.orkes.samples.OrkesWorkersApplication - System Env Props - Key: PWD, Value: /Users/albertwong/workspace/orkesworkers
11:19:05.436 [main] INFO io.orkes.samples.OrkesWorkersApplication - System Env Props - Key: XPC_SERVICE_NAME, Value: 0
11:19:05.436 [main] INFO io.orkes.samples.OrkesWorkersApplication - System Env Props - Key: GIT_ASKPASS, Value: /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass.sh
11:19:05.436 [main] INFO io.orkes.samples.OrkesWorkersApplication - System Env Props - Key: CONDA_SHLVL, Value: 1
11:19:05.436 [main] INFO io.orkes.samples.OrkesWorkersApplication - System Env Props - Key: _, Value: /usr/bin/env
11:19:05.436 [main] INFO io.orkes.samples.OrkesWorkersApplication - System Env Props - Key: __CFBundleIdentifier, Value: com.microsoft.VSCode
11:19:05.437 [main] INFO io.orkes.samples.OrkesWorkersApplication - System Env Props - Key: SHELL, Value: /bin/zsh
11:19:05.437 [main] INFO io.orkes.samples.OrkesWorkersApplication - System Env Props - Key: TERM_PROGRAM, Value: vscode
11:19:05.437 [main] INFO io.orkes.samples.OrkesWorkersApplication - System Env Props - Key: OLDPWD, Value: /Users/albertwong/workspace/orkesworkers
11:19:05.437 [main] INFO io.orkes.samples.OrkesWorkersApplication - System Env Props - Key: USER, Value: albertwong
11:19:05.437 [main] INFO io.orkes.samples.OrkesWorkersApplication - System Env Props - Key: TMPDIR, Value: /var/folders/zg/p07wb12j2c5_pl1mlhb500hr0000gn/T/
11:19:05.437 [main] INFO io.orkes.samples.OrkesWorkersApplication - System Env Props - Key: ORIGINAL_XDG_CURRENT_DESKTOP, Value: undefined
11:19:05.437 [main] INFO io.orkes.samples.OrkesWorkersApplication - System Env Props - Key: SSH_AUTH_SOCK, Value: /private/tmp/com.apple.launchd.NRzY1W4IMJ/Listeners
11:19:05.437 [main] INFO io.orkes.samples.OrkesWorkersApplication - System Env Props - Key: _CE_CONDA, Value: 
11:19:05.437 [main] INFO io.orkes.samples.OrkesWorkersApplication - System Env Props - Key: XPC_FLAGS, Value: 0x0
11:19:05.437 [main] INFO io.orkes.samples.OrkesWorkersApplication - System Env Props - Key: __CF_USER_TEXT_ENCODING, Value: 0x1F5:0x0:0x0
11:19:05.437 [main] INFO io.orkes.samples.OrkesWorkersApplication - System Env Props - Key: CONDA_PROMPT_MODIFIER, Value: (base) 
11:19:05.437 [main] INFO io.orkes.samples.OrkesWorkersApplication - System Env Props - Key: JENV_SHELL, Value: zsh
11:19:05.437 [main] INFO io.orkes.samples.OrkesWorkersApplication - System Env Props - Key: SHLVL, Value: 1
11:19:05.437 [main] INFO io.orkes.samples.OrkesWorkersApplication - System Env Props - Key: HOME, Value: /Users/albertwong
11:19:05.437 [main] INFO io.orkes.samples.OrkesWorkersApplication - System Env Props - Key: JENV_LOADED, Value: 1

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::                (v2.5.5)

2023-02-04 11:19:05.960  INFO 14977 --- [           main] i.orkes.samples.OrkesWorkersApplication  : Starting OrkesWorkersApplication using Java 11.0.11 on M-C02D5GVKMD6M with PID 14977 (/Users/albertwong/workspace/orkesworkers/bin/main started by albertwong in /Users/albertwong/workspace/orkesworkers)
2023-02-04 11:19:05.961  INFO 14977 --- [           main] i.orkes.samples.OrkesWorkersApplication  : No active profile set, falling back to default profiles: default
2023-02-04 11:19:06.592 ERROR 14977 --- [           main] i.orkes.samples.OrkesWorkersApplication  : Please provide an application key id and secret
2023-02-04 11:19:06.593  WARN 14977 --- [           main] s.c.a.AnnotationConfigApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'longRunningAsyncTaskWorker' defined in file [/Users/albertwong/workspace/orkesworkers/bin/main/io/orkes/samples/workers/LongRunningAsyncTaskWorker.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'taskClient' defined in io.orkes.samples.OrkesWorkersApplication: Unsatisfied dependency expressed through method 'taskClient' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'orkesClients' defined in io.orkes.samples.OrkesWorkersApplication: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [io.orkes.conductor.client.OrkesClients]: Factory method 'orkesClients' threw exception; nested exception is java.lang.RuntimeException: No Application Key

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.