Skip to content

Commit

Permalink
change findUserEndConfigurationByEndpointKeyHash() method name to fin…
Browse files Browse the repository at this point in the history
…dEndpointConfigurationByEndpointKeyHash()
  • Loading branch information
Pyshankov committed Sep 7, 2016
1 parent 6cfe4c6 commit 92df4a3
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
Expand Up @@ -19,9 +19,9 @@


import java.util.Collection; import java.util.Collection;
import java.util.List; import java.util.List;

import org.kaaproject.kaa.common.dto.*; import org.kaaproject.kaa.common.dto.*;



/** /**
* The interface Profile service. * The interface Profile service.
*/ */
Expand Down
Expand Up @@ -406,7 +406,7 @@ public EndpointUserConfigurationDto findUserConfigurationByExternalUIdAndAppToke
public String findEndpointConfigurationByEndpointKeyHash( public String findEndpointConfigurationByEndpointKeyHash(
@ApiParam(name = "endpointKeyHash", value = "A unique identifier of the endpoint", required = true) @ApiParam(name = "endpointKeyHash", value = "A unique identifier of the endpoint", required = true)
@PathVariable String endpointKeyHash) throws KaaAdminServiceException { @PathVariable String endpointKeyHash) throws KaaAdminServiceException {
return configurationService.findUserEndConfigurationByEndpointKeyHash(endpointKeyHash); return configurationService.findEndpointConfigurationByEndpointKeyHash(endpointKeyHash);
} }


} }
Expand Up @@ -423,9 +423,9 @@ public ConfigurationSchemaViewDto createConfigurationSchemaFormCtlSchema(CtlSche
} }


@Override @Override
public String findUserEndConfigurationByEndpointKeyHash(String endpointKeyHash) throws KaaAdminServiceException { public String findEndpointConfigurationByEndpointKeyHash(String endpointKeyHash) throws KaaAdminServiceException {
checkAuthority(KaaAuthorityDto.TENANT_DEVELOPER, KaaAuthorityDto.TENANT_USER); checkAuthority(KaaAuthorityDto.TENANT_DEVELOPER, KaaAuthorityDto.TENANT_USER);
return controlService.findUserConfigurationByEndpointKeyHash(endpointKeyHash); return controlService.findEndpointConfigurationByEndpointKeyHash(endpointKeyHash);
} }




Expand Down
Expand Up @@ -100,7 +100,7 @@ public interface ConfigurationService extends RemoteService {


ConfigurationSchemaViewDto createConfigurationSchemaFormCtlSchema(CtlSchemaFormDto ctlSchemaForm) throws KaaAdminServiceException; ConfigurationSchemaViewDto createConfigurationSchemaFormCtlSchema(CtlSchemaFormDto ctlSchemaForm) throws KaaAdminServiceException;


String findUserEndConfigurationByEndpointKeyHash(String endpointKeyHash) throws KaaAdminServiceException; String findEndpointConfigurationByEndpointKeyHash(String endpointKeyHash) throws KaaAdminServiceException;


EndpointUserConfigurationDto findUserConfigurationByExternalUIdAndAppTokenAndSchemaVersion(String externalUId, String appToken, Integer schemaVersion) throws KaaAdminServiceException; EndpointUserConfigurationDto findUserConfigurationByExternalUIdAndAppTokenAndSchemaVersion(String externalUId, String appToken, Integer schemaVersion) throws KaaAdminServiceException;


Expand Down
Expand Up @@ -1774,5 +1774,5 @@ CTLSchemaDto getCTLSchemaByFqnVersionTenantIdAndApplicationId(String fqn, int ve


EndpointUserConfigurationDto findUserConfigurationByExternalUIdAndAppTokenAndSchemaVersion(String userId, String appToken, Integer schemaVersion,String tenantId); EndpointUserConfigurationDto findUserConfigurationByExternalUIdAndAppTokenAndSchemaVersion(String userId, String appToken, Integer schemaVersion,String tenantId);


String findUserConfigurationByEndpointKeyHash(String endpointKeyHash) throws KaaAdminServiceException; String findEndpointConfigurationByEndpointKeyHash(String endpointKeyHash) throws KaaAdminServiceException;
} }
Expand Up @@ -2370,7 +2370,7 @@ public EndpointUserConfigurationDto findUserConfigurationByExternalUIdAndAppToke
} }


@Override @Override
public String findUserConfigurationByEndpointKeyHash(String endpointKeyHash) throws KaaAdminServiceException { public String findEndpointConfigurationByEndpointKeyHash(String endpointKeyHash) throws KaaAdminServiceException {
EndpointProfileDto endpointProfileDto = profileService.findEndpointProfileByEndpointKeyHash(endpointKeyHash); EndpointProfileDto endpointProfileDto = profileService.findEndpointProfileByEndpointKeyHash(endpointKeyHash);


ConfigurationDto configuration = configurationService.findConfigurationByAppIdAndVersion(endpointProfileDto.getApplicationId() ConfigurationDto configuration = configurationService.findConfigurationByAppIdAndVersion(endpointProfileDto.getApplicationId()
Expand Down

0 comments on commit 92df4a3

Please sign in to comment.