Code Monkey home page Code Monkey logo

Comments (6)

bitsofinfo avatar bitsofinfo commented on July 26, 2024

Please submit a PR, rerun all tests before, and I'll try to get it in, thanks!

subscribing @bmudda

from hazelcast-consul-discovery-spi.

pheitman avatar pheitman commented on July 26, 2024

Sorry that it has taken me so long to get back to you on this. I've finally downloaded the zip and run the tests. There are significant issues. First, the following compile groups need to be added to build.gradle:

compile group: 'com.orbitz.consul', name: 'consul-client', version:'0.12.4'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-core', version:'2.6.3'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version:'2.6.3'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-annotations', version:'2.6.3'
compile group: 'org.glassfish.jersey.core', name: 'jersey-client', version:'2.9.1'

(note that this replaces the compile group for the older consul-client)

But the big problem is that the Consul.Builder class no longer has the method withClientBuilder() that is used in ConsulClientBuilder when consulServerHostnameVerify is false. I've apparently lucked out because the default is true so this method isn't called in my environment. The compilation fails. It unfortunately isn't as simple as just using the latest version of consul-client.

from hazelcast-consul-discovery-spi.

bitsofinfo avatar bitsofinfo commented on July 26, 2024

@pheitman

I'll take a look, will the latest hz 3.6.4 lib be an issue for you?

from hazelcast-consul-discovery-spi.

bitsofinfo avatar bitsofinfo commented on July 26, 2024

rickfast/consul-client#145

from hazelcast-consul-discovery-spi.

bitsofinfo avatar bitsofinfo commented on July 26, 2024

Done, in RC5, consul-client 0.12.5

from hazelcast-consul-discovery-spi.

pheitman avatar pheitman commented on July 26, 2024

Thank you! I'll give it a try next chance I get

from hazelcast-consul-discovery-spi.

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.