Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
[HWKINVENT-22] Update pinger to fetch the new JNDI endpoint for the
Browse files Browse the repository at this point in the history
"official" inventory instance instead of the abandoned mixins.
  • Loading branch information
metlos authored and ppalaga committed Jun 24, 2015
1 parent c45033c commit af7e28c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
import javax.ejb.Schedule;
import javax.ejb.Singleton;
import javax.ejb.Startup;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
Expand Down Expand Up @@ -71,8 +70,8 @@ public class PingManager {
@EJB
TraitsPublisher traitsPublisher;

@javax.annotation.Resource(lookup = "java:global/Hawkular/ObservableInventory")
Inventory.Mixin.Observable inventory;
@javax.annotation.Resource(lookup = "java:global/Hawkular/Inventory")
Inventory inventory;

final UrlChangesCollector urlChangesCollector = new UrlChangesCollector();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
@Stateless
public class TraitsPublisher {

@javax.annotation.Resource(lookup = "java:global/Hawkular/ObservableInventory")
private Inventory.Mixin.Observable inventory;
@javax.annotation.Resource(lookup = "java:global/Hawkular/Inventory")
private Inventory inventory;

/**
* Stores the {@link Traits} of the given {@link PingStatus} in Hawkular Inventory.
Expand Down

0 comments on commit af7e28c

Please sign in to comment.