[Hawkular-dev] Inventory API question

Austin Kuo auszon3 at gmail.com
Wed Jul 27 11:37:04 EDT 2016


THANKS!


On Wed, Jul 27, 2016 at 10:44 PM Jiri Kremser <jkremser at redhat.com> wrote:

> Or is there any other way that I can exploit the latest inventory?
>
> There is.
>
> build the inventory:
>
> git clone https://github.com/hawkular/hawkular-inventory.git
> cd hawkular-inventory
> mvn clean install -DskipTests
>
> ..and then build the services that will use the inventory snapshot version
>
> git clone https://github.com/hawkular/hawkular-services.git
> cd hawkular-services
> sed -i
> "s/\(<version.org.hawkular.inventory>\)[^<]*/\10.18.0.Final-SNAPSHOT/g"
> ./pom.xml
> mvn clean install -Pdev -DskipTests
> ./dist/target/hawkular-*/bin/standalone.sh -Dhawkular.log.cassandra=WARN
> -Dhawkular.log.inventory.rest.requests=DEBUG -Dhawkular.rest.user=jdoe
> -Dhawkular.rest.password=password -Dhawkular.agent.enabled=true'
>
> jk
>
> On Wed, Jul 27, 2016 at 4:11 AM, Austin Kuo <auszon3 at gmail.com> wrote:
>
>> When is the next inventory release because I'm waiting for the fix? Or is
>> there any other way that I can exploit the latest inventory?
>>
>> Thanks!
>> Austin Kuo <auszon3 at gmail.com>於 2016年7月21日 週四,18:34寫道:
>>
>>> Sure.
>>> https://issues.jboss.org/browse/HAWKULAR-1099
>>>
>>> On Thu, Jul 21, 2016 at 6:23 PM Lukas Krejci <lkrejci at redhat.com> wrote:
>>>
>>>> On čtvrtek 21. července 2016 10:16:27 CEST Austin Kuo wrote:
>>>> >  Oops, it's 0.17.2.Final. I just saw it from the browser.
>>>> >
>>>>
>>>> Ok, then this is a bug... Would you be able to write up a JIRA for it
>>>> with
>>>> repro steps so that I can take a look at it?
>>>>
>>>> > On Thu, Jul 21, 2016 at 6:15 PM Austin Kuo <auszon3 at gmail.com> wrote:
>>>> > > Not sure about the version since i'm using the docker image provide
>>>> by
>>>> > > pilhuhn.
>>>> > > I'm try to run it directly, but how to make it run at the host
>>>> 0.0.0.0
>>>> > > such that I can access it from remote ?
>>>> > >
>>>> > > On Thu, Jul 21, 2016 at 5:31 PM Lukas Krejci <lkrejci at redhat.com>
>>>> wrote:
>>>> > >> That's definitely a bug. What version of inventory are you using?
>>>> > >>
>>>> > >> I think I've fixed a problem like this in 0.17.2.Final. But of
>>>> course,
>>>> > >> this
>>>> > >> could be a different instantiation of it.
>>>> > >>
>>>> > >> On čtvrtek 21. července 2016 8:42:03 CEST Austin Kuo wrote:
>>>> > >> > I was creating 2  different resource types with the same http
>>>> client at
>>>> > >>
>>>> > >> the
>>>> > >>
>>>> > >> > same time.
>>>> > >> > But one succeed, the other failed with the response 400 and body:
>>>> > >> > {
>>>> > >> >
>>>> > >> >   "errorMsg" : "The transaction has already been closed"
>>>> > >> >
>>>> > >> > }
>>>> > >> >
>>>> > >> > Is it not allowed to do so?
>>>> > >> >
>>>> > >> > Austin.
>>>> > >>
>>>> > >> --
>>>> > >> Lukas Krejci
>>>> > >>
>>>> > >> _______________________________________________
>>>> > >> hawkular-dev mailing list
>>>> > >> hawkular-dev at lists.jboss.org
>>>> > >> https://lists.jboss.org/mailman/listinfo/hawkular-dev
>>>>
>>>>
>>>> --
>>>> Lukas Krejci
>>>>
>>>
>> _______________________________________________
>> hawkular-dev mailing list
>> hawkular-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/hawkular-dev
>>
>>
> _______________________________________________
> hawkular-dev mailing list
> hawkular-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hawkular-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hawkular-dev/attachments/20160727/0ce03d3e/attachment-0001.html 


More information about the hawkular-dev mailing list