Method added to repository via API not showing up in UI

I'm working on some integration for a new application that will add methods to the Methods Repo (via the API) on behalf of users. Everything works properly, but I'm noticing something strange with the FireCloud UI - the methods that I'm adding via the API don't show up in the list of 'My Methods' (or public methods either, if they're public).

Any method I add to the repo via the UI shows up fine. Here's an example:

https://portal.firecloud.org/#methods/unity-benchmark-development/test-analysis/5

However, here is one I added via the API:

https://portal.firecloud.org/#methods/unity-benchmark-development-test-analysis-5-analysis/test-user-analysis/1

Both are publicly readable, and both list me ([email protected]) as the owner. Furthermore, both method namespaces list me as the owner as well. I can pull up both methods directly via their URLs, but only the first one that I added through the FireCloud UI shows up in the UI under 'My Methods'.

Tagged:

Best Answer

  • bistlinebistline
    Accepted Answer

    NEVER MIND.

    Figured it out. The methods were added with the wrong entityType. I had supplied 'task', and not 'workflow'. It works properly now.

    This isn't a bug - just developer error...

Answers

Sign In or Register to comment.