Contextual data
Register, list, detail and unregister contextual data sources
Overview
Example contextual data content
{
"contextual data": {
"name": "banking market data",
"data sources": [
{
"geode stores": {
"name": "us markets",
"connection": {
"locator address": "192.168.86.39",
"locator port": 41111
},
"stores": {
"nasdaqIndexCompanies": {
"region": "nasdaq-companies",
"keyClass": "java.lang.String",
"gii": true
},
"holidays": {
"region": "us-holidays",
"keyClass": "java.lang.Integer"
}
}
}
}
]
}
}Deploy a single contextual data store. A json specification is provided within the body as a raw data type.If the registration process has succeed a response code of 201 is returned otherwise 500.
Successful deployed data store
No content
Failed to deploy data store. Check Joule service log files.
Failed to deploy data store due to malformed DSL. Check Joule service log files.
Data store has already been deployed
Missing data store specification
POST /joule/management/contextualdata/deploy HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 70
{
"name": "text",
"enabled": true,
"stores": {
"ANY_ADDITIONAL_PROPERTY": {}
}
}No content
Deploy multiple contextual data stores. A json specification is provided within the body as a raw data type.If the registration process has succeed a response code of 201 is returned otherwise 500.
Successful deployed data stores
No content
Failed to deploy data store. Check Joule service log files.
Failed to deploy data store due to malformed DSL. Check Joule service log files.
Data store has already been deployed
Missing data store specification
POST /joule/management/contextualdata/deploy/multi HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 129
{
"dataStoreSpecifications": [
{
"name": "text",
"enabled": true,
"stores": {
"ANY_ADDITIONAL_PROPERTY": {}
}
}
],
"name": "text",
"enabled": true
}No content
Data store logical name.
Failed to find data store using provided name.
No content
Missing data store name.
GET /joule/management/contextualdata/detail HTTP/1.1
Accept: */*
No content
Data store logical name.
Successful transport unregister
No content
Internal Joule error. Check log files.
Failed to unregister transport using provided name.
Invalid transport type. Valid type is CONTEXTUAL_DATA.
Unknown data store for provided name.
DELETE /joule/management/contextualdata/undeploy HTTP/1.1
Accept: */*
No content
Last updated