Proxy Store Operations
These Operations are used with the Proxy Store. They are not enabled by default and will need to be added as additional operations using an Operations Declarations configuration file. An example file which could be used to enable both Proxy Store Operations is given below:
proxyOperationsDeclarations.json
{
"operations": [
{
"operation": "uk.gov.gchq.gaffer.proxystore.operation.GetProxyUrl",
"handler": {
"class": "uk.gov.gchq.gaffer.proxystore.operation.handler.GetProxyUrlHandler"
}
},
{
"operation": "uk.gov.gchq.gaffer.proxystore.operation.GetProxyProperties",
"handler": {
"class": "uk.gov.gchq.gaffer.proxystore.operation.handler.GetProxyPropertiesHandler"
}
}
]
}
GetProxyUrl
Returns the URL of the remote Gaffer REST API which the Proxy Store is configured to forward requests to. Javadoc
Example
Results:
GetProxyProperties
Returns the proxy specific properties of a Proxy Store. Javadoc
Example
Results: