-
-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Labels
component/clikind/bugSomething isn't workingSomething isn't workingkind/questionFurther information is requestedFurther information is requested
Description
Describe the bug
Actual behavior
I'm trying to use the latest v1.0.0, I needed to change my command like this:
microcks import ./resources/backend-openapi.yaml:true --microcksURL=https://microcks.127.0.0.1.nip.io/api --insecure-tls --keycloakClientId=foo --keycloakClientSecret=barAnd I'm getting this error:
panic: interface conversion: interface {} is nil, not bool
goroutine 1 [running]:
github.com/microcks/microcks-cli/pkg/connectors.(*microcksClient).GetKeycloakURL(0xc000088240)
/home/runner/work/microcks-cli/microcks-cli/pkg/connectors/microcks_client.go:210 +0x514
github.com/microcks/microcks-cli/cmd.NewImportCommand.func1(0xc0000bca00?, {0xc0000ec8c0?, 0x4?, 0x8f8686?})
/home/runner/work/microcks-cli/microcks-cli/cmd/import.go:57 +0x1c2
github.com/spf13/cobra.(*Command).execute(0xc0000a4608, {0xc0000ec870, 0x5, 0x5})
/home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:1019 +0xa7b
github.com/spf13/cobra.(*Command).ExecuteC(0xc0000a4308)
/home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:1148 +0x40c
github.com/spf13/cobra.(*Command).Execute(0x0?)
/home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:1071 +0x13
main.main()
/home/runner/work/microcks-cli/microcks-cli/main.go:12 +0x18
By adding the --verbose flag, I'm getting this additional information:
{"timestamp":1762092624473,"status":404,"error":"Not Found","path":"/api/api/keycloak/config"}
Expected behavior
Previously I was with microcks-cli version 0.5.8 and this command below was working successfully:
microcks-cli import ./resources/backend-openapi.yaml:true --microcksURL=https://microcks.127.0.0.1.nip.io/api --insecure --keycloakClientId=foo --keycloakClientSecret=barMicrocks has discovered 'Order Service API:0.1.0'
Install method
Here is how I install Microcks in my Kind cluster:
helm upgrade microcks microcks/microcks \
--install \
--namespace microcks \
--create-namespace \
--set microcks.url=microcks.127.0.0.1.nip.io \
--set keycloak.enabled=falseAm I missing anything?
Metadata
Metadata
Assignees
Labels
component/clikind/bugSomething isn't workingSomething isn't workingkind/questionFurther information is requestedFurther information is requested