FailedChanges

Summary

  1. Introduced usage of Configuration Printer (details)
  2. Added try-with-resources (details)
  3. Added Junit tests for broker/core/plugin package (details)
  4. Added Junit tests for pool and setting package (details)
  5. Added JUnit tests for remaining classes in router and message package (details)
  6. Added JUnit tests for classes in shiro package (details)
  7. Added JUnit tests for token package (details)
  8. Added JUnit tests for AccessInfo classes (details)
  9. Added JUnit tests for mfa and realm packages (details)
  10. Added openSection and closeSection methods (details)
Commit edc7a0e5a709fb59abd1d30cd1c2d28c1b37dda8 by Alberto Codutti
Introduced usage of Configuration Printer

Signed-off-by: Alberto Codutti <alberto.codutti@eurotech.com>
The file was modifiedcommons/src/main/java/org/eclipse/kapua/commons/service/internal/cache/KapuaCacheManager.java (diff)
Commit 635bdf8257a1eef555cfaa167032fa8e91e2b0c3 by Alberto Codutti
Added try-with-resources

Signed-off-by: Alberto Codutti <alberto.codutti@eurotech.com>
The file was modifiedbroker/core/src/main/java/org/eclipse/kapua/broker/core/router/CamelKapuaDefaultRouter.java (diff)
The file was modifiedbroker/core/src/main/java/org/eclipse/kapua/broker/core/router/EndPointContainer.java (diff)
Commit 9ac4790255700a429f0705ad7a0c89fce2b9d371 by sonja.matic
Added Junit tests for broker/core/plugin package

Added Junit tests for class in broker/core/plugin package:
ConnectorDescriptorProviders class
ConnectorDescriptor class
DefaultBrokerIdResolver class
DefaultBrokerIpResolver class
KapuaDuplicateClientIdException class
KapuaPrincipalImpl class
KapuaSecurityContext class

Signed-off-by: Sonja <sonja.matic@endava.com>
The file was addedbroker/core/src/test/java/org/eclipse/kapua/broker/core/plugin/DefaultBrokerIpResolverTest.java
The file was addedbroker/core/src/test/java/org/eclipse/kapua/broker/core/plugin/KapuaDuplicateClientIdExceptionTest.java
The file was addedbroker/core/src/test/java/org/eclipse/kapua/broker/core/plugin/KapuaPrincipalImplTest.java
The file was addedbroker/core/src/test/java/org/eclipse/kapua/broker/core/plugin/ConnectorDescriptorProvidersTest.java
The file was addedbroker/core/src/test/java/org/eclipse/kapua/broker/core/plugin/DefaultBrokerIdResolverTest.java
The file was addedbroker/core/src/test/java/org/eclipse/kapua/broker/core/plugin/KapuaSecurityContextTest.java
The file was modifiedbroker/core/src/test/java/org/eclipse/kapua/broker/core/plugin/ConnectorDescriptorTest.java (diff)
Commit f57aca1f8ba20432837f887946b1ce250f6db1d3 by sonja.matic
Added Junit tests for pool and setting package

Added Junit tests for classes in broker/core module:

pool package:
JmsAssistantProducerPool class
JmsAssistantProducerWrapper class
JmsAssistantProducerWrapperFactory class
JmsConnectionFactory class
JmsProducerWrapper class
JmsConsumerWrapper class

setting package:
BrokerSetting class
BrokerSettingKeyTest class

Signed-off-by: Sonja <sonja.matic@endava.com>
The file was addedbroker/core/src/test/java/org/eclipse/kapua/broker/core/setting/BrokerSettingKeyTest.java
The file was addedbroker/core/src/test/java/org/eclipse/kapua/broker/core/pool/JmsAssistantProducerWrapperFactoryTest.java
The file was addedbroker/core/src/test/java/org/eclipse/kapua/broker/core/pool/JmsConnectionFactoryTest.java
The file was addedbroker/core/src/test/java/org/eclipse/kapua/broker/core/pool/JmsConsumerWrapperTest.java
The file was addedbroker/core/src/test/java/org/eclipse/kapua/broker/core/pool/JmsProducerWrapperTest.java
The file was addedbroker/core/src/test/java/org/eclipse/kapua/broker/core/pool/JmsAssistantProducerWrapperTest.java
The file was addedbroker/core/src/test/java/org/eclipse/kapua/broker/core/pool/JmsAssistantProducerPoolTest.java
The file was addedbroker/core/src/test/java/org/eclipse/kapua/broker/core/setting/BrokerSettingTest.java
Commit 8cdcff5a58a66390bc89ac78968cdbbe657ef4be by sonja.matic
Added JUnit tests for remaining classes in router and message package

Added JUnit tests for:
- class JmsUtil in broker/core/message package and
- classes CamelKapuaDefaultRouter and EndPointAdapter in
   broker/core/router package

Signed-off-by: Sonja <sonja.matic@endava.com>
The file was addedbroker/core/src/test/java/org/eclipse/kapua/broker/core/router/EndPointAdapterTest.java
The file was addedbroker/core/src/test/java/org/eclipse/kapua/broker/core/message/JmsUtilTest.java
The file was addedbroker/core/src/test/java/org/eclipse/kapua/broker/core/router/CamelKapuaDefaultRouterTest.java
Commit a40a7de794611bd96303f02f96fc7a60b929b3f5 by sonja.matic
Added JUnit tests for classes in shiro package

Added JUnit tests for classes in shiro package from shiro module:

- AuthenticationEntityManagerFactory class
- AccessTokenCredentialsImpl class
- ApiKeyCredentialsImpl class
- CredentialsFactoryImpl class
- JwtCredentials class
- KapuaAuthenticationException class
- RefreshTokenCredentialsImpl class
- UsernamePasswordCredentialsImpl class

Signed-off-by: Sonja <sonja.matic@endava.com>
The file was addedservice/security/shiro/src/test/java/org/eclipse/kapua/service/authentication/shiro/JwtCredentialsTest.java
The file was addedservice/security/shiro/src/test/java/org/eclipse/kapua/service/authentication/shiro/RefreshTokenCredentialsImplTest.java
The file was addedservice/security/shiro/src/test/java/org/eclipse/kapua/service/authentication/shiro/ApiKeyCredentialsImplTest.java
The file was addedqa/integration/src/test/java/org/eclipse/kapua/integration/misc/AuthenticationEntityManagerFactoryTest.java
The file was addedservice/security/shiro/src/test/java/org/eclipse/kapua/service/authentication/shiro/CredentialsFactoryImplTest.java
The file was addedservice/security/shiro/src/test/java/org/eclipse/kapua/service/authentication/shiro/UsernamePasswordCredentialsImplTest.java
The file was addedservice/security/shiro/src/test/java/org/eclipse/kapua/service/authentication/shiro/AccessTokenCredentialsImplTest.java
The file was addedservice/security/shiro/src/test/java/org/eclipse/kapua/service/authentication/shiro/KapuaAuthenticationExceptionTest.java
Commit 2542d575ed6dcc95e01401d6ee131a6a8cae55eb by sonja.matic
Added JUnit tests for token package

Added JUnit tests for classes in token package:
- AccessTokenCreatorImpl class
- AccessTokenEntityManagerFactory class
- AccessTokenFactoryImpl class
- AccessTokenImpl class
- AccessTokenQueryImpl class
- LoginInfoImpl class

Signed-off-by: Sonja <sonja.matic@endava.com>
The file was addedservice/security/shiro/src/test/java/org/eclipse/kapua/service/authentication/token/shiro/AccessTokenImplTest.java
The file was addedservice/security/shiro/src/test/java/org/eclipse/kapua/service/authentication/token/shiro/AccessTokenCreatorImplTest.java
The file was addedservice/security/shiro/src/test/java/org/eclipse/kapua/service/authentication/token/shiro/AccessTokenQueryImplTest.java
The file was addedservice/security/shiro/src/test/java/org/eclipse/kapua/service/authentication/token/shiro/LoginInfoImplTest.java
The file was addedservice/security/shiro/src/test/java/org/eclipse/kapua/service/authentication/token/shiro/AccessTokenEntityManagerFactoryTest.java
The file was addedservice/security/shiro/src/test/java/org/eclipse/kapua/service/authentication/token/shiro/AccessTokenFactoryImplTest.java
Commit 2af7b1cdc93e093799dc915613370f8b8d4d42c1 by sonja.matic
Added JUnit tests for AccessInfo classes

Added JUnit tests for classes in authorization/access/shiro package:
- AccessInfoCacheFactory class
- AccessInfoCache class
- AccessInfoFactoryImpl class
- AccessInfoImpl class
- AccessInfoQueryImpl class
- AccessInfoCreatorImpl class
- AccessInfoDAO class

Signed-off-by: Sonja <sonja.matic@endava.com>
The file was addedservice/security/shiro/src/test/java/org/eclipse/kapua/service/authorization/access/shiro/AccessInfoImplTest.java
The file was addedservice/security/shiro/src/test/java/org/eclipse/kapua/service/authorization/access/shiro/AccessInfoFactoryImplTest.java
The file was addedservice/security/shiro/src/test/java/org/eclipse/kapua/service/authorization/access/shiro/AccessInfoCacheTest.java
The file was addedservice/security/shiro/src/test/java/org/eclipse/kapua/service/authorization/access/shiro/AccessInfoCacheFactoryTest.java
The file was addedqa/integration/src/test/java/org/eclipse/kapua/integration/misc/AccessInfoCreatorImplTest.java
The file was addedservice/security/shiro/src/test/java/org/eclipse/kapua/service/authorization/access/shiro/AccessInfoQueryImplTest.java
The file was addedqa/integration/src/test/java/org/eclipse/kapua/integration/misc/AccessInfoDAOTest.java
Commit 03b6eb78136268f3846837d9b1037ddfd10044f3 by sonja.matic
Added JUnit tests for mfa and realm packages

Added JUnit tests for classes in:

-shiro/authentication/shiro/mfa package:
- MfaAuthenticatorImpl class
- MfaAuthenticatorServiceLocator class

-shiro/authentication/shiro/realm package:
- AccessTokenAuthenticationRealm class
- AccessTokenCredentialsMatcher class
- ApiKeyAuthenticatingRealm class
- ApiKeyCredentialsMatcher class
- JwtAuthenticatingRealm class
- JwtCredentialsMatcher class
- LoginAuthenticationInfo class
- SessionAuthenticationInfo class
- UserPassAuthenticatingRealm class

Signed-off-by: Sonja <sonja.matic@endava.com>
The file was addedservice/security/shiro/src/test/java/org/eclipse/kapua/service/authentication/shiro/realm/JwtCredentialsMatcherTest.java
The file was addedqa/integration/src/test/java/org/eclipse/kapua/integration/misc/AccessTokenAuthenticationRealmTest.java
The file was addedqa/integration/src/test/java/org/eclipse/kapua/integration/misc/ApiKeyAuthenticatingRealmTest.java
The file was addedservice/security/shiro/src/test/java/org/eclipse/kapua/service/authentication/shiro/realm/LoginAuthenticationInfoTest.java
The file was addedqa/integration/src/test/java/org/eclipse/kapua/integration/misc/AccessTokenCredentialsMatcherTest.java
The file was addedqa/integration/src/test/java/org/eclipse/kapua/integration/misc/JwtAuthenticatingRealmTest.java
The file was addedservice/security/shiro/src/test/java/org/eclipse/kapua/service/authentication/shiro/realm/ApiKeyCredentialsMatcherTest.java
The file was addedservice/security/shiro/src/test/java/org/eclipse/kapua/service/authentication/shiro/mfa/MfaAuthenticatorServiceLocatorTest.java
The file was addedqa/integration/src/test/java/org/eclipse/kapua/integration/misc/UserPassAuthenticatingRealmTest.java
The file was addedservice/security/shiro/src/test/java/org/eclipse/kapua/service/authentication/shiro/realm/SessionAuthenticationInfoTest.java
The file was addedservice/security/shiro/src/test/java/org/eclipse/kapua/service/authentication/shiro/mfa/MfaAuthenticatorImplTest.java
Commit f4d23326ab482830178e18becec9c0b70d143589 by Alberto Codutti
Added openSection and closeSection methods

Signed-off-by: Alberto Codutti <alberto.codutti@eurotech.com>
The file was modifiedcommons/src/main/java/org/eclipse/kapua/commons/util/log/ConfigurationPrinter.java (diff)
The file was modifiedservice/commons/elasticsearch/server-embedded/src/main/java/org/eclipse/kapua/service/elasticsearch/server/embedded/EsEmbeddedEngine.java (diff)
The file was modifiedconsole/core/src/main/java/org/eclipse/kapua/app/console/core/servlet/SsoCallbackServlet.java (diff)
The file was modifiedplug-ins/sso/openid-connect/provider/src/main/java/org/eclipse/kapua/plugin/sso/openid/provider/AbstractOpenIDService.java (diff)
The file was modifiedservice/commons/elasticsearch/client-transport/src/main/java/org/eclipse/kapua/service/elasticsearch/client/transport/TransportElasticsearchClientProvider.java (diff)
The file was modifiedcommons/src/main/java/org/eclipse/kapua/commons/liquibase/KapuaLiquibaseClient.java (diff)
The file was modifiedservice/commons/elasticsearch/client-rest/src/main/java/org/eclipse/kapua/service/elasticsearch/client/rest/RestElasticsearchClientProvider.java (diff)