Skip to content

Commit

Permalink
Update ClusterService to use Hoist's InstanceNotFoundException cl…
Browse files Browse the repository at this point in the history
…ass (#398)
  • Loading branch information
ghsolomon authored Sep 11, 2024
1 parent 33ffd0f commit 53d7240
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

### ⚙️ Technical

* Updated `ClusterService` to use Hoist's `InstanceNotFoundException` class to designate routine.

* Exposed `/xh/ping` as whitelisted route for basic uptime/reachability checks. Retained legacy
`/ping` alias, but prefer this new path going forward.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,11 @@ import com.hazelcast.core.HazelcastInstance
import com.hazelcast.core.IExecutorService
import io.xh.hoist.BaseService
import io.xh.hoist.ClusterConfig
import io.xh.hoist.exception.InstanceNotFoundException
import io.xh.hoist.util.Utils
import org.springframework.boot.context.event.ApplicationReadyEvent
import org.springframework.context.ApplicationListener

import javax.management.InstanceNotFoundException

class ClusterService extends BaseService implements ApplicationListener<ApplicationReadyEvent> {

/**
Expand Down

0 comments on commit 53d7240

Please sign in to comment.