Closed nicolaferraro closed 7 years ago
@nicolaferraro, thanks! @KurtStam, please review this.
This will (probably) run correctly after rebase, when #761 is merged.
@nicolaferraro #761 has been merged, can you do a rebase?
Should be ok now
Pull request approved by @KurtStam - applying approved label
This adds a API to manage tech extensions. These are a subset of the API described in the extension doc. Other issues are tracking remaining operations.
Supported operations are:
API are published under "/api/v1beta1". Beta api are disabled by default. They can be enabled with toggles (env var on Deployment):
I've put a toggle also for the "v1" api, but it's enabled by default.
When a binary artifact is uploaded, it's stored in "/extensions/[id]" into the filestore (same id of the entity in the jsondb). The artifact can be retrieved later (not implemented yet) by ID or GAV. A retrieval by GAV will require first a lookup into the jsondb.
Added also IT tests (and done manual testing on Openshift).