[
https://issues.jboss.org/browse/ISPN-6128?page=com.atlassian.jira.plugin....
]
Adrian Nistor commented on ISPN-6128:
-------------------------------------
Some of the ops were already there, so I kept their existing names.
The ops are:
:get-proto-schema-names()
:get-proto-schema-name(file-name=myschema.proto)
:unregister-proto-schemas(file-names=[])
:register-proto-schemas(file-names=[], file-contents=[])
:upload-proto-schemas(file-names=[], file-urls=[])
Expose ProtoBuf Manager through DMR
-----------------------------------
Key: ISPN-6128
URL:
https://issues.jboss.org/browse/ISPN-6128
Project: Infinispan
Issue Type: Task
Components: Remote Querying, Server
Reporter: Tristan Tarrant
Assignee: Adrian Nistor
Fix For: 8.2.0.CR1, 8.2.0.Final
The ProtoBuf Manager should be exposed through the DMR as a child resource under
cache-container nodes. The resource should expose a number of operations to list, get,
set, remove installed schemas.
Example:
.../cache-container=container/protobuf-schemas=PROTOBUF-SCHEMAS
:list-schemas()
:get-schema(name=myschema)
:remove-schema(name=myschema)
:set-schema(name=myschema, schema-source=...)
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)