Skip to content

Commit

Permalink
ChannelInfo, ClientInfo and MetricInfo registry service are not confi…
Browse files Browse the repository at this point in the history
…gurable

Signed-off-by: Claudio Mezzasalma <claudio.mezzasalma@eurotech.com>
  • Loading branch information
Claudio Mezzasalma authored and Coduz committed Nov 14, 2019
1 parent 4655120 commit 8d3e9ea
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
import org.eclipse.kapua.KapuaException;
import org.eclipse.kapua.model.id.KapuaId;
import org.eclipse.kapua.service.KapuaService;
import org.eclipse.kapua.service.config.KapuaConfigurableService;
import org.eclipse.kapua.service.datastore.model.ChannelInfo;
import org.eclipse.kapua.service.datastore.model.ChannelInfoListResult;
import org.eclipse.kapua.service.datastore.model.StorableId;
Expand All @@ -26,8 +25,7 @@
*
* @since 1.0.0
*/
public interface ChannelInfoRegistryService extends KapuaService,
KapuaConfigurableService {
public interface ChannelInfoRegistryService extends KapuaService {

/**
* Find channel information by identifier
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
import org.eclipse.kapua.KapuaException;
import org.eclipse.kapua.model.id.KapuaId;
import org.eclipse.kapua.service.KapuaService;
import org.eclipse.kapua.service.config.KapuaConfigurableService;
import org.eclipse.kapua.service.datastore.model.ClientInfo;
import org.eclipse.kapua.service.datastore.model.ClientInfoListResult;
import org.eclipse.kapua.service.datastore.model.StorableId;
Expand All @@ -26,8 +25,7 @@
*
* @since 1.0.0
*/
public interface ClientInfoRegistryService extends KapuaService,
KapuaConfigurableService {
public interface ClientInfoRegistryService extends KapuaService {

/**
* Find client information by identifier
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
import org.eclipse.kapua.KapuaException;
import org.eclipse.kapua.model.id.KapuaId;
import org.eclipse.kapua.service.KapuaService;
import org.eclipse.kapua.service.config.KapuaConfigurableService;
import org.eclipse.kapua.service.datastore.model.MetricInfo;
import org.eclipse.kapua.service.datastore.model.MetricInfoListResult;
import org.eclipse.kapua.service.datastore.model.StorableId;
Expand All @@ -27,7 +26,7 @@
*
* @since 1.0.0
*/
public interface MetricInfoRegistryService extends KapuaService, KapuaConfigurableService {
public interface MetricInfoRegistryService extends KapuaService {

/**
* Find metric information by identifier
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
package org.eclipse.kapua.service.datastore.internal;

import org.eclipse.kapua.KapuaException;
import org.eclipse.kapua.commons.configuration.AbstractKapuaConfigurableService;
import org.eclipse.kapua.commons.service.internal.AbstractKapuaService;
import org.eclipse.kapua.commons.util.ArgumentValidator;
import org.eclipse.kapua.locator.KapuaLocator;
import org.eclipse.kapua.locator.KapuaProvider;
Expand Down Expand Up @@ -61,7 +61,7 @@
* @since 1.0.0
*/
@KapuaProvider
public class ChannelInfoRegistryServiceImpl extends AbstractKapuaConfigurableService implements ChannelInfoRegistryService {
public class ChannelInfoRegistryServiceImpl extends AbstractKapuaService implements ChannelInfoRegistryService {

private static final Logger LOG = LoggerFactory.getLogger(ChannelInfoRegistryServiceImpl.class);

Expand All @@ -78,7 +78,7 @@ public class ChannelInfoRegistryServiceImpl extends AbstractKapuaConfigurableSer
* @throws ClientUnavailableException
*/
public ChannelInfoRegistryServiceImpl() throws ClientUnavailableException {
super(ChannelInfoRegistryService.class.getName(), DatastoreDomains.DATASTORE_DOMAIN, DatastoreEntityManagerFactory.getInstance());
super(DatastoreEntityManagerFactory.getInstance());

KapuaLocator locator = KapuaLocator.getInstance();
accountService = locator.getService(AccountService.class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
package org.eclipse.kapua.service.datastore.internal;

import org.eclipse.kapua.KapuaException;
import org.eclipse.kapua.commons.configuration.AbstractKapuaConfigurableService;
import org.eclipse.kapua.commons.service.internal.AbstractKapuaService;
import org.eclipse.kapua.commons.util.ArgumentValidator;
import org.eclipse.kapua.locator.KapuaLocator;
import org.eclipse.kapua.locator.KapuaProvider;
Expand Down Expand Up @@ -61,7 +61,7 @@
* @since 1.0.0
*/
@KapuaProvider
public class ClientInfoRegistryServiceImpl extends AbstractKapuaConfigurableService implements ClientInfoRegistryService {
public class ClientInfoRegistryServiceImpl extends AbstractKapuaService implements ClientInfoRegistryService {

private static final Logger LOG = LoggerFactory.getLogger(ClientInfoRegistryServiceImpl.class);

Expand All @@ -78,7 +78,7 @@ public class ClientInfoRegistryServiceImpl extends AbstractKapuaConfigurableServ
* @throws ClientUnavailableException
*/
public ClientInfoRegistryServiceImpl() throws ClientUnavailableException {
super(ClientInfoRegistryService.class.getName(), DatastoreDomains.DATASTORE_DOMAIN, DatastoreEntityManagerFactory.getInstance());
super(DatastoreEntityManagerFactory.getInstance());

KapuaLocator locator = KapuaLocator.getInstance();
accountService = locator.getService(AccountService.class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
package org.eclipse.kapua.service.datastore.internal;

import org.eclipse.kapua.KapuaException;
import org.eclipse.kapua.commons.configuration.AbstractKapuaConfigurableService;
import org.eclipse.kapua.commons.service.internal.AbstractKapuaService;
import org.eclipse.kapua.commons.util.ArgumentValidator;
import org.eclipse.kapua.locator.KapuaLocator;
import org.eclipse.kapua.locator.KapuaProvider;
Expand Down Expand Up @@ -63,7 +63,7 @@
* @since 1.0.0
*/
@KapuaProvider
public class MetricInfoRegistryServiceImpl extends AbstractKapuaConfigurableService implements MetricInfoRegistryService {
public class MetricInfoRegistryServiceImpl extends AbstractKapuaService implements MetricInfoRegistryService {

private static final Logger LOG = LoggerFactory.getLogger(MetricInfoRegistryServiceImpl.class);

Expand All @@ -80,7 +80,7 @@ public class MetricInfoRegistryServiceImpl extends AbstractKapuaConfigurableServ
* @throws ClientUnavailableException
*/
public MetricInfoRegistryServiceImpl() throws ClientUnavailableException {
super(MetricInfoRegistryService.class.getName(), DatastoreDomains.DATASTORE_DOMAIN, DatastoreEntityManagerFactory.getInstance());
super(DatastoreEntityManagerFactory.getInstance());

KapuaLocator locator = KapuaLocator.getInstance();
accountService = locator.getService(AccountService.class);
Expand Down

0 comments on commit 8d3e9ea

Please sign in to comment.