-
Notifications
You must be signed in to change notification settings - Fork 353
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
Create endpoint to get store type #2838
Comments
What if we want to know what type of graph is the final backing graph? For example in the setup below this would return ProxyStore but I'm not sure how useful that is. graph LR;
User-->NearProxyStore;
NearProxyStore-->FederatedStore;
FederatedStore-->FarProxyStore;
FarProxyStore-->AccumuloStore;
I think if we wanted to know the kind of remote store, then a new Operation would be required. This could be a follow up issue, not something to be done under this issue. |
As discussed in the related Gaffer version endpoint issue, this issue is just to create an endpoint which returns the type of Gaffer Store used in the endpoint itself. This will not allow for determining the type of store at the end of any chain of stores. An operation would allow this, but that's not in scope of this ticket. As covered in the related ticket, if the local Gaffer instance is a ProxyStore it will not be possible to determine its store type using an operation, as this will always be passed through the proxy store and forwarded on. An endpoint will therefore be useful, and will only partially overlap with the capabilities of an operation. |
* added endpoints to spring-rest and core-rest * added testing to endpoints --------- Co-authored-by: GCHQDeveloper314 <94527357+GCHQDeveloper314@users.noreply.github.com>
Describe the new feature you'd like
An endpoint that would tell you what type of store you are querying.
Why do you want this feature?
Currently it is not possible to know if the graph you are querying is backed by a FederatedStore, an AccumuloStore, a ProxyStore or a MapStore. You can still ask what operations are available, but sometimes it is useful to know the store type.
Additional context
The entire store properties cannot be returned as they can contain information that should not be seen by users.
The text was updated successfully, but these errors were encountered: