3 Replies Latest reply on Oct 19, 2012 6:47 AM by dimonv

    Adding custom node types configuration over json

    dimonv

      Hi all,

       

      I'm trying to use repository json configuration with custom node types. For the first I took the snippet from the documentation:

      {

      "name" : "Repository with node types",

      "storage" : {

      "transactionManagerLookup" :

      "org.infinispan.transaction.lookup.DummyTransactionManagerLookup"

      },

      "workspaces" : {

      "predefined" : ["ws1", "ws2"],

      "default" : "default",

      "allowCreation" : true

      },

      "node-types" : ["cnd/cars.cnd", "cnd/aircraft.cnd"]

      }

       

      but on starting the engine I got a problem saying:

      "ERROR: Error at node-types : The 'node-types' field on '' is not defined in the schema and the schema does not allow additional properties."

       

      Could anybody advise what's wrong with this configuration?

       

      Thanks and kind regards