Giter VIP home page Giter VIP logo

Comments (2)

bserdar avatar bserdar commented on June 12, 2024

I see it. Problem appears to be a quirk in Widlfly configuration tree:
elements of connection-properties are defined with type UNDEFINED. I'll try
to find a workaround.

On Wed, Aug 5, 2015 at 2:30 AM, mschoepke [email protected] wrote:

jcliff 2.10.4 adds connection properties support for datasources, thanks
for that. However, I can use jcliff only to modify existing
connection-properties. Adding new ones doesn't work. It seems that both
addConnProperties and modifyConnProperties2 rules are triggered:

  "connection-properties" =>
  {
    "cacheServerConfiguration" => { "value" => "true" },
  },

results in

2015-08-05 10:20:00:0751: modifyConnProperties2 will be run on add:/datasource/SomeReadDS/connection-properties/cacheServerConfiguration/value value="true"
2015-08-05 10:20:00:0752: run:/subsystem=datasources/data-source= SomeReadDS/connection-properties=cacheServerConfiguration:remove
/subsystem=datasources/data-source= SomeReadDS/connection-properties=cacheServerConfiguration:add(value="true")
2015-08-05 10:20:00:0752: Checking rule delete
2015-08-05 10:20:00:0752: Checking rule addConnProperties
2015-08-05 10:20:00:0752: addConnProperties will be run on add:/datasource/SomeReadDS/connection-properties/cacheServerConfiguration value={"value" => "true"}
2015-08-05 10:20:00:0753: run:/subsystem=datasources/data-source= SomeReadDS/connection-properties=cacheServerConfiguration:add(value="true")
2015-08-05 10:20:00:0753: Checking rule modify
2015-08-05 10:20:00:0753: Checking rule add
2015-08-05 10:20:00:0753: Checking rule modifyConnProperties
2015-08-05 10:20:00:0753: Checking rule removeConnProperties


Reply to this email directly or view it on GitHub
#55.

from jcliff.

bserdar avatar bserdar commented on June 12, 2024

No luck. There is a problem removing properties once they're added, and there is no way to modify them. I opened this:

https://issues.jboss.org/browse/WFLY-5073

Lets see what they say.

in the mean time, I changed the rules to support adding new connection properties, so that should work. Modifying connection properties won't work until this is fixed, or until I find a workaround.

from jcliff.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.