consumers of this library have to define the redsky-api as an application service #143
Open
2 tasks done
Labels
bug
Something isn't working
Current Behavior
attempting to use threshr to query the redsky api results in a
io.micronaut.discovery.exceptions.NoAvailableServiceException: No available services for ID: redsky-api
error.We want to be sure this isn't a one-off problem.
Expected Behavior
I should be able to use any part of the threshr library as long as I have a redsky api key assigned to an env. variable.
Steps To Reproduce
One way is to write a CLI tool for any part of the library. ie the pdp endpoint.
write main command:
write spock test:
assign variables as described in the testing README.
calling the last test fails when it attempts to validate the store ID. see below output under pictures.
Note
a workaround can be done by copying the http:services section from this repo into the consumer repo.
A picture is worth a thousand words
Environment
OS: Fedora 40
JVM: Graal-ce 17.0.9
maven wrapper version: "6.9.4-200.fc40.x86_64"
arch: "amd64"
family: "unix"
Code of Conduct
The text was updated successfully, but these errors were encountered: