[v1.0.0] Library release

This commit is contained in:
Mauro Mugnaini 2021-06-22 12:48:32 +02:00
parent 2b32fe73ce
commit c227b6e395
3 changed files with 5 additions and 4 deletions

View File

@ -2,5 +2,5 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
# Changelog for "keycloak-client" # Changelog for "keycloak-client"
## [0.0.1-SNAPSHOT] ## [v1.0.0]
- First release (#21389) - First release (#21389) provides the basic helper classes for Keycloak tokens retrieve and functions for the gCube framework integration (automatic service discovery).

View File

@ -13,14 +13,14 @@
<groupId>org.gcube.common</groupId> <groupId>org.gcube.common</groupId>
<artifactId>keycloak-client</artifactId> <artifactId>keycloak-client</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>1.0.0</version>
<dependencyManagement> <dependencyManagement>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.gcube.distribution</groupId> <groupId>org.gcube.distribution</groupId>
<artifactId>gcube-bom</artifactId> <artifactId>gcube-bom</artifactId>
<version>2.0.2-SNAPSHOT</version> <version>2.0.1</version>
<type>pom</type> <type>pom</type>
<scope>import</scope> <scope>import</scope>
</dependency> </dependency>

View File

@ -36,6 +36,7 @@ public class TestKeycloakClient {
URL url = KeycloakClientFactory.newInstance().findTokenEndpointURL(); URL url = KeycloakClientFactory.newInstance().findTokenEndpointURL();
Assert.assertNotNull(url); Assert.assertNotNull(url);
Assert.assertTrue(url.getProtocol().equals("https")); Assert.assertTrue(url.getProtocol().equals("https"));
logger.info("Discovered URL is: {}", url);
} }
@Test @Test