temporalio / spring-boot-demo

Sample application demonstrating Temporal JavaSDK Spring Boot integration
https://github.com/temporalio/sdk-java/blob/master/temporal-spring-boot-autoconfigure-alpha/README.md
24 stars 12 forks source link

[Bug] namespace property misconfigured in application.yml #13

Open barrypower opened 1 year ago

barrypower commented 1 year ago

What are you really trying to do?

Configure temporal to use a namespace other than default.

Describe the bug

After changing the namespace property in application.yml to a different value, workflows still appear under the default namespace.

Minimal Reproduction

Starting with the demo app config:

  temporal:
    connection:
      target: 127.0.0.1:7233
      target.namespace: default

changed to:

  temporal:
    connection:
      target: 127.0.0.1:7233
      target.namespace: sbdemo

Environment/Versions

n/a

Additional context

The namespace property should be nested under temporal, e.g.

  temporal:
    connection:
      target: 127.0.0.1:7233
    namespace: sbdemo