Comments (5)
The second test case problem
15:47:16.351 [docker-java-stream--333906299] ERROR com.github.dockerjava.api.async.ResultCallbackTemplate - Error during callback
com.github.dockerjava.api.exception.InternalServerErrorException: Status 500: {"message":"Head \"https://registry-1.docker.io/v2/testcontainers/ryuk/manifests/0.3.1\": unauthorized: incorrect username or password"}
at org.testcontainers.shaded.com.github.dockerjava.core.DefaultInvocationBuilder.execute(DefaultInvocationBuilder.java:247) ~[testcontainers-1.15.3.jar:?]
at org.testcontainers.shaded.com.github.dockerjava.core.DefaultInvocationBuilder.lambda$executeAndStream$1(DefaultInvocationBuilder.java:269) ~[testcontainers-1.15.3.jar:?]
at java.lang.Thread.run(Thread.java:840) [?:?]
Status 500: {"message":"Head \"https://registry-1.docker.io/v2/testcontainers/ryuk/manifests/0.3.1\": unauthorized: incorrect username or password"}
com.github.dockerjava.api.exception.InternalServerErrorException: Status 500: {"message":"Head \"https://registry-1.docker.io/v2/testcontainers/ryuk/manifests/0.3.1\": unauthorized: incorrect username or password"}
at app//org.testcontainers.shaded.com.github.dockerjava.core.DefaultInvocationBuilder.execute(DefaultInvocationBuilder.java:247)
at app//org.testcontainers.shaded.com.github.dockerjava.core.DefaultInvocationBuilder.lambda$executeAndStream$1(DefaultInvocationBuilder.java:269)
at [email protected]/java.lang.Thread.run(Thread.java:840)
from conductor.
I review the source code(3.16.0) of condutor for some time. And this for beginner' guide.
The first mistake above is because of the Flyway's version issue.
The second mistake above is beacause of the docker-hub environment issue when you want to run test .
from conductor.
Others.
The conductor support different deployment architecture.
- postgresql
- redis + postgresql (this is default and docker-image-3.15.0 only supports this )
- redis + mysql + es
If you want to change (such as use the es), you should build from source code .
So review the source code is more important , because the official docs are too few.
First shoud to review the code , i think is the module-- docker, there you can find many what you want, such as how to build , how to start(run) .
Second if you want to change the deployment architecture , you should build your own image.
Welcome to correct my mistakes.
from conductor.
If you want to use the conductoross/conductor:3.15.0 in prod , you can run with below command line like this
docker run -v C://home//tmp//conductor//config-redis_postgres.properties:/app/config/config.properties --init -p 8080:8080 -p 1234:5000 conductoross/conductor:3.15.0
from conductor.
congfig.properties
# Database persistence type.
# Below are the properties for redis
conductor.db.type=redis_standalone
conductor.queue.type=redis_standalone
conductor.redis.hosts=127.0.0.1:6379:us-east-1c
conductor.redis-lock.serverAddress=redis://127.0.0.1:6379
conductor.redis.taskDefCacheRefreshInterval=1
conductor.redis.workflowNamespacePrefix=conductor
conductor.redis.queueNamespacePrefix=conductor_queues
spring.datasource.url=jdbc:postgresql://127.0.0.1:5432/conductor
spring.datasource.username=postgres
spring.datasource.password=root
# Additional modules for metrics collection exposed to Prometheus (optional)
conductor.metrics-prometheus.enabled=true
management.endpoints.web.exposure.include=prometheus
# Load sample kitchen sink workflow
loadSample=true
from conductor.
Related Issues (20)
- According to the documentation, the log4j configuration file cannot be used correctly
- Conductor waits more than an hour to schedule the next task. HOT 5
- APIs throwing 500 status when 4** is expected HOT 3
- Task completion event lost HOT 3
- The two pictures labeled should be opposite HOT 2
- [FEATURE]: HOT 2
- Duplicate async system tasks
- Duplicate task due to Sweeper reading stale workflowModel
- Workflows executions are getting stuck HOT 1
- TaskStatusListener onTaskInProgress isn't triggered when Async System task moves to IN_PROGRESS
- [DOC]: HOT 1
- Bug: Race Condition in WorkflowSweeper Leading to Inconsistent Workflow States HOT 1
- [FEATURE]: Make redis key space domain customizable HOT 1
- [FEATURE]: Dowhile need supports nested recursion HOT 1
- [FEATURE]: Task progress metadata from client to server.
- Sub_Workflows are taking very long time to change status from SCHEDULED to IN_PROGRESS state HOT 2
- es7-persistance creates unlimited amount of indices HOT 1
- workflow_index.update_time NOT NULL contraint breaking upgrade HOT 3
- WorkflowSweeper poll a workflowId to check the task timeou only once。Causing the entire workflow to be in a waiting state。it should use peek?
- Sweeper poll a workflowId to check the task timeou only once。Causing the entire workflow to be in a waiting state。it should use peek?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from conductor.