-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement temporal.api.workflowservice.v1.WorkflowService/DescribeNamespace in test-server #1158
Comments
Other SDK successfully use test server without this functionality. If it's currently a prerequisite for using test server in PHP SDK, it shouldn't be. SDKs themselves never call describeNamespace, PHP shouldn't be different. |
Hey @Spikhalskiy, Could you please point me to a doc or manual with a testing-server limitations? It would be great to see what API it doesn't support. |
This class: https://github.com/temporalio/sdk-java/blob/1816ad2499b8e98a20d158a8f0a4c64bb41a9a09/temporal-test-server/src/main/java/io/temporal/internal/testservice/TestWorkflowService.java Currently, it's
Some notes: |
@Spikhalskiy Great, thank you for the help. However, this is not a PHP-SDK error, as I figured out. package main
import (
"log"
"go.temporal.io/sdk/client"
"go.temporal.io/sdk/worker"
)
func main() {
// The client and worker are heavyweight objects that should be created once per process.
c, err := client.NewClient(client.Options{
HostPort: client.DefaultHostPort,
})
if err != nil {
log.Fatalln("Unable to create client", err)
}
defer c.Close()
w := worker.New(c, "greetings", worker.Options{})
err = w.Run(worker.InterruptCh()) <-------- ERROR is here
if err != nil {
log.Fatalln("Unable to start worker", err)
}
} If you run this code snippet with a test-server, you'll get an error: EDIT: test-server version is: 1.10.0 |
Good catch, you are right. It was added to Go SDK here: uber-go/cadence-client#196 |
Got u, thanks 🤝 Looking forward to the solution 👍🏻 |
To start using test-sever in PHP-SDK we need the following functionality.
The text was updated successfully, but these errors were encountered: