[JBoss JIRA] (ISPN-10558) ServerNG: add database rules
by Ryan Emerson (Jira)
[ https://issues.jboss.org/browse/ISPN-10558?page=com.atlassian.jira.plugin... ]
Ryan Emerson updated ISPN-10558:
--------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/infinispan/infinispan/pull/7436
> ServerNG: add database rules
> ----------------------------
>
> Key: ISPN-10558
> URL: https://issues.jboss.org/browse/ISPN-10558
> Project: Infinispan
> Issue Type: Enhancement
> Components: Server, Test Suite - Server
> Affects Versions: 10.0.0.CR1
> Reporter: Tristan Tarrant
> Assignee: Gustavo Lira e Silva
> Priority: Major
>
> We need a JDBC database rules for server tests which would be responsible for setting up a database server.
> There should be three modes of operation:
> * embedded databases (such as H2)
> * containerized databases (usually the open source ones)
> * externally managed databases
> The rules should ensure that the necessary JDBC driver are copied to the $SERVER_HOME/server/lib directory and that the server is started with an appropriate Agroal configuration
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 5 months
[JBoss JIRA] (ISPN-10558) ServerNG: add database rules
by Ryan Emerson (Jira)
[ https://issues.jboss.org/browse/ISPN-10558?page=com.atlassian.jira.plugin... ]
Ryan Emerson updated ISPN-10558:
--------------------------------
Status: Open (was: New)
> ServerNG: add database rules
> ----------------------------
>
> Key: ISPN-10558
> URL: https://issues.jboss.org/browse/ISPN-10558
> Project: Infinispan
> Issue Type: Enhancement
> Components: Server, Test Suite - Server
> Affects Versions: 10.0.0.CR1
> Reporter: Tristan Tarrant
> Assignee: Gustavo Lira e Silva
> Priority: Major
>
> We need a JDBC database rules for server tests which would be responsible for setting up a database server.
> There should be three modes of operation:
> * embedded databases (such as H2)
> * containerized databases (usually the open source ones)
> * externally managed databases
> The rules should ensure that the necessary JDBC driver are copied to the $SERVER_HOME/server/lib directory and that the server is started with an appropriate Agroal configuration
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 5 months
[JBoss JIRA] (ISPN-10796) XSite XML configuration not translated to correct JSON
by Gustavo Fernandes (Jira)
[ https://issues.jboss.org/browse/ISPN-10796?page=com.atlassian.jira.plugin... ]
Gustavo Fernandes updated ISPN-10796:
-------------------------------------
Status: Open (was: New)
> XSite XML configuration not translated to correct JSON
> ------------------------------------------------------
>
> Key: ISPN-10796
> URL: https://issues.jboss.org/browse/ISPN-10796
> Project: Infinispan
> Issue Type: Feature Request
> Components: Configuration
> Affects Versions: 10.0.0.CR3
> Reporter: Galder Zamarreño
> Assignee: Gustavo Fernandes
> Priority: Major
>
> An XML cache configuration like this:
> {code}
> <infinispan>
> <cache-container>
> <distributed-cache name="example" mode="SYNC">
> <backups>
> <backup site="SiteA" strategy="ASYNC" timeout="30000"/>
> </backups>
> </distributed-cache>
> </cache-container>
> </infinispan>
> {code}
> Can be created with curl with:
> {code}
> curl -v -u ... -d '<infinispan><cache-container><distributed-cache name="example" mode="SYNC"><backups><backup site="SiteA" strategy="ASYNC" timeout="30000"/></backups></distributed-cache></cache-container></infinispan>' -H "Content-Type: application/xml" -X POST .../rest/v2/caches/example2
> {code}
> Retrieving it as JSON returns:
> {code}
> @g ~ $ curl -u ... -H "Content-Type: application/json" .../rest/v2/caches/example2?action=config | jq
> {
> "distributed-cache": {
> "mode": "SYNC",
> "backups": {
> "backup": {
> "site": "SiteA",
> "strategy": "ASYNC",
> "timeout": 30000
> }
> },
> "transaction": {
> "mode": "NONE"
> }
> }
> }
> {code}
> That JSON is correct. Backups should be an array.
> An FAQ should be added so that users know how to transform XML configuration to JSON. JSON is way less verbose, so might be preferable for curl commands.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 5 months
[JBoss JIRA] (ISPN-10796) XSite XML configuration not translated to correct JSON
by Galder Zamarreño (Jira)
Galder Zamarreño created ISPN-10796:
---------------------------------------
Summary: XSite XML configuration not translated to correct JSON
Key: ISPN-10796
URL: https://issues.jboss.org/browse/ISPN-10796
Project: Infinispan
Issue Type: Feature Request
Components: Configuration
Affects Versions: 10.0.0.CR3
Reporter: Galder Zamarreño
Assignee: Gustavo Fernandes
An XML cache configuration like this:
{code}
<infinispan>
<cache-container>
<distributed-cache name="example" mode="SYNC">
<backups>
<backup site="SiteA" strategy="ASYNC" timeout="30000"/>
</backups>
</distributed-cache>
</cache-container>
</infinispan>
{code}
Can be created with curl with:
{code}
curl -v -u ... -d '<infinispan><cache-container><distributed-cache name="example" mode="SYNC"><backups><backup site="SiteA" strategy="ASYNC" timeout="30000"/></backups></distributed-cache></cache-container></infinispan>' -H "Content-Type: application/xml" -X POST .../rest/v2/caches/example2
{code}
Retrieving it as JSON returns:
{code}
@g ~ $ curl -u ... -H "Content-Type: application/json" .../rest/v2/caches/example2?action=config | jq
{
"distributed-cache": {
"mode": "SYNC",
"backups": {
"backup": {
"site": "SiteA",
"strategy": "ASYNC",
"timeout": 30000
}
},
"transaction": {
"mode": "NONE"
}
}
}
{code}
That JSON is correct. Backups should be an array.
An FAQ should be added so that users know how to transform XML configuration to JSON. JSON is way less verbose, so might be preferable for curl commands.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 5 months
[JBoss JIRA] (ISPN-10795) Unregister the cache MBean on stop
by Nistor Adrian (Jira)
[ https://issues.jboss.org/browse/ISPN-10795?page=com.atlassian.jira.plugin... ]
Nistor Adrian updated ISPN-10795:
---------------------------------
Status: Open (was: New)
> Unregister the cache MBean on stop
> ----------------------------------
>
> Key: ISPN-10795
> URL: https://issues.jboss.org/browse/ISPN-10795
> Project: Infinispan
> Issue Type: Enhancement
> Reporter: Nistor Adrian
> Assignee: Nistor Adrian
> Priority: Major
> Fix For: 10.0.0.Final
>
>
> All other cache components are unregistered on stop except the cache itself, which only gets really unregistered on remove.
> Historically, this was done this way in order to allow cache restart via jmx. But we have other options now: rest, cli, or even DefaultCacheManager.startCache(name) via jmx.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 5 months
[JBoss JIRA] (ISPN-10795) Unregister the cache MBean on stop
by Nistor Adrian (Jira)
Nistor Adrian created ISPN-10795:
------------------------------------
Summary: Unregister the cache MBean on stop
Key: ISPN-10795
URL: https://issues.jboss.org/browse/ISPN-10795
Project: Infinispan
Issue Type: Enhancement
Reporter: Nistor Adrian
Assignee: Nistor Adrian
Fix For: 10.0.0.Final
All other cache components are unregistered on stop except the cache itself, which only gets really unregistered on remove.
Historically, this was done this way in order to allow cache restart via jmx. But we have other options now: rest, cli, or even DefaultCacheManager.startCache(name) via jmx.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 5 months