Details
-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
7.0.0.Beta2
Description
Recent changes in RHQ server plugin added a possibility to configure JDBC stores (3 types - string, binary and mixed one) as a new child resource for a cache running inside of server. Those stores stand along other stores/loader possibilities.
When a new resource is configured and set to finished (invoke creation operation), the standalone.xml file is changed respectively.
However, we miss enlisted properties somewhere on the way and those are NOT included in modified configuration XML file.
Data Column
Id Column
Timestamp Column
are NOT set correctly and even a template is NOT included in server config either.
Other properties are propagated and set accordingly.
Expected result:
<string-keyed-jdbc-store datasource="java:jboss/datasources/JdbcDS" passivation="true" preload="false" purge="false" shared="false"> <!-- property name="databaseType">H2</property --> <string-keyed-table prefix="ISPN_MC_SK"> <id-column name="id" type="VARCHAR"/> <data-column name="datum" type="BINARY"/> <timestamp-column name="version" type="BIGINT"/> </string-keyed-table> <write-behind flush-lock-timeout="1" modification-queue-size="1024" shutdown-timeout="25000" thread-pool-size="1"/> </string-keyed-jdbc-store>
Current result (wrong, missing stuff):
<string-keyed-jdbc-store name="string-keyed-store" datasource="java:jboss/datasources/JdbcDS" shared="false" preload="true" passivation="false" purge="false"> <string-keyed-table/>