-
Notifications
You must be signed in to change notification settings - Fork 5
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
can't list applications with /v1/projects/${id}/applications #11
Comments
So, I think this is just a peculiarity of Reproduced Failure:
Only change is to add a Working:
|
@jshimko - will leave this open until tomorrow so you have a chance to verify. |
So I guess I'm not exactly sure it this isn't a bug though, because I don't have the same issue with any other API I've just tested (5 different ones). Even doing a GET for a single item on krak8s allows you to have that same header and not use curl http://localhost:8080/v1/projects/77907b06/applications/bb7dd432 \
-H "Content-Type: application/json"
{
"channel": "stable",
"config": "",
"created_at": "2017-09-18T13:35:53.981897503Z",
"deployment_name": "jeremy-mongodb",
"id": "bb7dd432",
"json_values": "",
"name": "mongodb-replicaset",
"namespace_id": "02678191",
"registry": "quay.io/samsung_cnct",
"server": "quay.io",
"status": {
"deployed_at": "0001-01-01T00:00:00Z",
"state": "UNKNOWN"
},
"type": "application",
"updated_at": "2017-09-18T13:35:53.981897503Z",
"username": "",
"version": "latest"
} Anyway, if the API is going to choke on something like this, you may want to add some more useful error handling there. Because the error detail it spit out is completely incorrect. That's not actually what caused the error.
|
Consideration for future enhancement. |
I have a project, namespace, cluster, etc. and a single application running. I can query for the single application and successfully get it, but I can't list applications in that same namespace.
Yes, I realize my body has
namespaceid
instead ofnamespace_id
, but that’s what the spec says. Regardless, I tried both ways and got the same result.Just to show you that the namespace definitely exists...
The text was updated successfully, but these errors were encountered: