Closed gothub closed 6 years ago
These look great. Would there be an API for adding and removing worker instances?
Yes, definitely. The configuration of the engine should have a default configuration but the configuration should be able to be changed dynamically, such as the number of workers, the member node that is being queried for generation of quality documents, etc.
Peter,
I agree this looks cool… I note that there is a capability to create a new suite but I don’t see something for adding check(s) to a suite…? Am I missing something?
Ted
@gothub I also just noticed that you have separate endpoints for add and remove operations, such as:
Under the REST model, these should not be different endpoints, but rather use HTTP verbs to indicate the operation to be performed on the resource. So, in this example:
This style of change should occur throughout the API.
Ted suggested we should consider using Swagger and OpenAPI to describe this API. I think that is a great idea. Started a new issue #4 for that work.
The current API definition is available at https://app.swaggerhub.com/apis/mbjones/metadig/2.0.0-a1-oas3
The info from this issue is covered in https://github.com/NCEAS/metadig-webapp/issues/4
Existing API
The current API available via the metadig-webapp contains these services. Should all these be retained?
Proposed Additions to API
The following services are being considered for addition to the webapp:
These were first discussed in the MetaDIG meeting on 2018/01/10 and documented here The original list of functions that the above list was derived from is: