ConfigurationResource { @GET @Path("/seed-nodes") public int getSeeds() throws ConfigStoreException { return ((CassandraSchedulerConfiguration)configurationManager.getTargetConfig()).getSeeds(); } @Inject  ConfigurationResource(
            final DefaultConfigurationManager configurationManager); @GET @Path("/cassandra") @Counted CassandraConfig getCassandraConfig(); @GET @Path("/executor") @Counted ExecutorConfig getExecutorConfig(); @GET @Path("/nodes") int getServers(); @GET @Path("/seed-nodes") int getSeeds();  }
@Test public void testGetSeeds() throws Exception { Integer seeds = resources.client().target("/v1/config/seed-nodes").request() .get(Integer.class); System.out.println("seeds = " + seeds); assertEquals(config.getSeeds(), seeds.intValue()); }