[JBoss JIRA] (ISPN-8529) REST Cache create and remove
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-8529?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant updated ISPN-8529:
----------------------------------
Description:
Implement cache creation/removal over HTTP.
Since WebDAV (RFC-4918) describes operations over "collections", we can reuse the semantics of invocations and error messages. In particular:
https://tools.ietf.org/html/rfc4918#section-9.3
https://tools.ietf.org/html/rfc4918#section-9.6.1
Cache creation:
`MKCOL /{cacheName}[?template={template}]`
This will create the named cache, using the optionally supplied template name for configuration. If a template is not specified, then the configuration of the default cache defined on the cache container will be used.
Cache removal
`DELETE /{cacheName}`
This method's behaviour is affected by the presence and value of the `Depth` header.
The header can have the following values:
* infinity,noroot: deletes the contents of the cache. This is the default behaviour (for backwards compatibility this does not respect the behaviour described in link:https://tools.ietf.org/html/rfc4918#section-9.6.1[WebDAV RFC] regarding removal of collections). If successful this operation returns a status of 200.
* infinity: removes the cache from the system. If security is enabled, you will need ADMIN permissions. If successful, this operation returns a status of 204 (No Content). This method also understands <<rest:adminflags>>
was:
Implement cache creation/removal over HTTP.
Since WebDAV (RFC-4918) describes operations over "collections", we can reuse the semantics of invocations and error messages. In particular:
https://tools.ietf.org/html/rfc4918#section-9.3
https://tools.ietf.org/html/rfc4918#section-9.6.1
> REST Cache create and remove
> ----------------------------
>
> Key: ISPN-8529
> URL: https://issues.jboss.org/browse/ISPN-8529
> Project: Infinispan
> Issue Type: Feature Request
> Components: Remote Protocols, Server
> Reporter: Tristan Tarrant
> Assignee: Tristan Tarrant
> Fix For: 9.2.0.Final
>
>
> Implement cache creation/removal over HTTP.
> Since WebDAV (RFC-4918) describes operations over "collections", we can reuse the semantics of invocations and error messages. In particular:
> https://tools.ietf.org/html/rfc4918#section-9.3
> https://tools.ietf.org/html/rfc4918#section-9.6.1
> Cache creation:
> `MKCOL /{cacheName}[?template={template}]`
> This will create the named cache, using the optionally supplied template name for configuration. If a template is not specified, then the configuration of the default cache defined on the cache container will be used.
> Cache removal
> `DELETE /{cacheName}`
> This method's behaviour is affected by the presence and value of the `Depth` header.
> The header can have the following values:
> * infinity,noroot: deletes the contents of the cache. This is the default behaviour (for backwards compatibility this does not respect the behaviour described in link:https://tools.ietf.org/html/rfc4918#section-9.6.1[WebDAV RFC] regarding removal of collections). If successful this operation returns a status of 200.
> * infinity: removes the cache from the system. If security is enabled, you will need ADMIN permissions. If successful, this operation returns a status of 204 (No Content). This method also understands <<rest:adminflags>>
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 2 months
[JBoss JIRA] (ISPN-8515) Allow @Inject on fields
by Radim Vansa (JIRA)
[ https://issues.jboss.org/browse/ISPN-8515?page=com.atlassian.jira.plugin.... ]
Radim Vansa reassigned ISPN-8515:
---------------------------------
Assignee: (was: Radim Vansa)
> Allow @Inject on fields
> -----------------------
>
> Key: ISPN-8515
> URL: https://issues.jboss.org/browse/ISPN-8515
> Project: Infinispan
> Issue Type: Enhancement
> Components: Core
> Affects Versions: 9.2.0.Alpha2
> Reporter: Radim Vansa
>
> Right now we require the @Inject annotation to be used only on methods, which should only assign the parameter to a field. Annotating the fields directly would result in less code lines and lower likelihood of typos.
> The possible risk is higher startup time; running testsuite w/ and w/o this change should be sufficient to detect that.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 2 months
[JBoss JIRA] (ISPN-8515) Allow @Inject on fields
by Radim Vansa (JIRA)
[ https://issues.jboss.org/browse/ISPN-8515?page=com.atlassian.jira.plugin.... ]
Radim Vansa reassigned ISPN-8515:
---------------------------------
Assignee: Radim Vansa
> Allow @Inject on fields
> -----------------------
>
> Key: ISPN-8515
> URL: https://issues.jboss.org/browse/ISPN-8515
> Project: Infinispan
> Issue Type: Enhancement
> Components: Core
> Affects Versions: 9.2.0.Alpha2
> Reporter: Radim Vansa
> Assignee: Radim Vansa
>
> Right now we require the @Inject annotation to be used only on methods, which should only assign the parameter to a field. Annotating the fields directly would result in less code lines and lower likelihood of typos.
> The possible risk is higher startup time; running testsuite w/ and w/o this change should be sufficient to detect that.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 2 months
[JBoss JIRA] (ISPN-8528) Move FailoverRequestBalancingStrategy to public package
by Radim Vansa (JIRA)
Radim Vansa created ISPN-8528:
---------------------------------
Summary: Move FailoverRequestBalancingStrategy to public package
Key: ISPN-8528
URL: https://issues.jboss.org/browse/ISPN-8528
Project: Infinispan
Issue Type: Task
Components: Remote Protocols
Affects Versions: 9.2.0.Alpha2
Reporter: Radim Vansa
{{FailoverRequestBalancingStrategy}} currently lives in {{org.infinispan.client.hotrod.impl.transport.tcp}} while it is referenced in configuration - this is an API leak. Move that to {{org.infinispan.client.hotrod.configuration}} or a transport-dedicated *public* package.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 2 months
[JBoss JIRA] (ISPN-7599) Add Jolokia to the server
by Sebastian Łaskawiec (JIRA)
[ https://issues.jboss.org/browse/ISPN-7599?page=com.atlassian.jira.plugin.... ]
Sebastian Łaskawiec updated ISPN-7599:
--------------------------------------
Git Pull Request: https://github.com/infinispan/infinispan/pull/5267, https://github.com/jboss-dockerfiles/infinispan/pull/59, https://github.com/jboss-dockerfiles/infinispan/pull/60, https://github.com/jboss-dockerfiles/infinispan/pull/56, https://github.com/infinispan/infinispan-openshift-templates/pull/3, https://github.com/infinispan/infinispan/pull/5586 (was: https://github.com/infinispan/infinispan/pull/5267, https://github.com/jboss-dockerfiles/infinispan/pull/59, https://github.com/jboss-dockerfiles/infinispan/pull/60, https://github.com/jboss-dockerfiles/infinispan/pull/56, https://github.com/infinispan/infinispan-openshift-templates/pull/3)
> Add Jolokia to the server
> -------------------------
>
> Key: ISPN-7599
> URL: https://issues.jboss.org/browse/ISPN-7599
> Project: Infinispan
> Issue Type: Feature Request
> Components: Cloud Integrations, Server
> Reporter: Sebastian Łaskawiec
> Assignee: Vladimir Blagojevic
> Priority: Critical
> Fix For: 9.2.0.Final
>
>
> The server should support exposing [Jolokia|https://jolokia.org] endpoints. The support should be disabled by default and there should be possibility to enable it using an environmental variable.
> OpenShift has special Administration Console for Jolokia-enabled endpoints.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 2 months