RTX icon indicating copy to clipboard operation
RTX copied to clipboard

Default API examples don't work

Open dkoslicki opened this issue 1 year ago • 2 comments

For example, running the "try it out" query for https://smart-api.info/ui/03e63fbd5ed251bce08cb5801b6b169b#/query/query results in a bunch of errors due to empty workflows, operations, and log levels. I assume these are auto-generated. Is there a way to ensure they are executable?

dkoslicki avatar Jul 11 '24 05:07 dkoslicki

@edeutsch - see also: https://github.com/RTXteam/RTX/issues/1852, which reports the same issue but on our arax.ncats.io swagger pages: https://arax.ncats.io/beta/api/rtxkg2/v1.4/ui/#/query/query

amykglen avatar Jul 11 '24 16:07 amykglen

Eric should fix this before Sprint 6

edeutsch avatar Sep 25 '24 17:09 edeutsch

I think I have fixed the Try It Out /query:

https://arax.ncats.io/beta/api/arax/v1.4/ui/#/query/query

Please test and let me know if this is addressed.

edeutsch avatar Feb 10 '25 20:02 edeutsch

Awesome, it works for me! Did you want to close this, or push it to master so it'll eventually trickle everywhere?

dkoslicki avatar Feb 10 '25 20:02 dkoslicki

great, thanks. It is pushed to master already:

Image

but it has not shown up in CI yet now after an hour: https://arax.ci.transltr.io/api/arax/v1.4/ui/#/query/query

Does anyone know if CI is still auto-deploying on commit? I thought it was supposed to be, but it seems not to be?

edeutsch avatar Feb 10 '25 20:02 edeutsch

I think that CI deployments may have broken/stopped sometime during the last couple days - Gwenlyn reported this weekend that the CI deployment of CTKP didn't go through (though the DEV deployment was fine).

I know Tyler said that ITRB can't do deployments right now, including CI... I guess maybe they just recently realized CI auto-deployments were still happening and turned them off? just speculation..

amykglen avatar Feb 10 '25 21:02 amykglen

yeah, I was worrying the same thing..

I can confirm that the head of the system logs on arax.ci.transltr.io is:

2025-02-05T20:13:57.723264: INFO: ARAXBackgroundTasker created
2025-02-05T20:13:57.723278: INFO: ARAXBackgroundTasker starting
2025-02-05T20:13:57.723278: INFO: ARAXBackgroundTasker: Clearing any potential stale queries in ongoing query table
...

So therefore, despite multiple commits to master since Feb 5, CI has not deployed since Feb 5. I suppose they turned it off.

edeutsch avatar Feb 10 '25 21:02 edeutsch

Closing because I think this is fixed on arax.ncats.io, and will be on transltr.io instances when deployments resume.

edeutsch avatar Feb 11 '25 06:02 edeutsch