moved to geoportal-client (>= 1.1.0-SNAPSHOT)

This commit is contained in:
Francesco Mangiacrapa 2022-08-02 17:05:39 +02:00
parent a9cb4e409c
commit 12ec651000
3 changed files with 9 additions and 7 deletions

View File

@ -9,7 +9,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
#### Enhancements #### Enhancements
- [#22883] Integrate the configurations exposed by geoportal-client - [#22883] Integrate the configurations exposed by (the new) geoportal-client (>= 1.1.0-SNAPSHOT)
## [v1.4.0] - 2022-06-08 ## [v1.4.0] - 2022-06-08

View File

@ -41,7 +41,7 @@
<dependency> <dependency>
<groupId>org.gcube.distribution</groupId> <groupId>org.gcube.distribution</groupId>
<artifactId>gcube-bom</artifactId> <artifactId>gcube-bom</artifactId>
<version>2.1.0-SNAPSHOT</version> <version>2.0.2</version>
<type>pom</type> <type>pom</type>
<scope>import</scope> <scope>import</scope>
</dependency> </dependency>
@ -68,7 +68,7 @@
<dependency> <dependency>
<groupId>org.gcube.application</groupId> <groupId>org.gcube.application</groupId>
<artifactId>geoportal-client</artifactId> <artifactId>geoportal-client</artifactId>
<version>[1.0.0, 2.0.0-SNAPSHOT)</version> <version>[1.1.0-SNAPSHOT, 2.0.0-SNAPSHOT)</version>
<scope>compile</scope> <scope>compile</scope>
<exclusions> <exclusions>
<exclusion> <exclusion>

View File

@ -23,11 +23,11 @@ public class UCD_Tests {
// private static String TOKEN = ""; //preVRE // private static String TOKEN = ""; //preVRE
private static String CONTEXT = "/gcube/devsec/devVRE"; private static String CONTEXT = "/gcube/devsec/devVRE";
private static String TOKEN = "8e74a17c-92f1-405a-b591-3a6090066248-98187548"; // devVRE private static String TOKEN = ""; // devVRE
private static String PROFILE_ID = "profiledConcessioni"; private static String PROFILE_ID = "profiledConcessioni";
@Before //@Before
public void getClient() { public void getClient() {
// assumeTrue(GCubeTest.isTestInfrastructureEnabled()); // assumeTrue(GCubeTest.isTestInfrastructureEnabled());
ScopeProvider.instance.set(CONTEXT); ScopeProvider.instance.set(CONTEXT);
@ -69,7 +69,7 @@ public class UCD_Tests {
} }
} }
//@Test @Test
public void getUCDForDataEntryHandlerIds() throws Exception { public void getUCDForDataEntryHandlerIds() throws Exception {
ScopeProvider.instance.set(CONTEXT); ScopeProvider.instance.set(CONTEXT);
SecurityTokenProvider.instance.set(TOKEN); SecurityTokenProvider.instance.set(TOKEN);
@ -100,7 +100,9 @@ public class UCD_Tests {
listUCDDV.add(ConvertToDataValueObjectModel.toUseCaseDescriptorDV(ucd, null)); listUCDDV.add(ConvertToDataValueObjectModel.toUseCaseDescriptorDV(ucd, null));
} }
System.out.println(listUCDDV); for (UseCaseDescriptorDV useCaseDescriptorDV : listUCDDV) {
System.out.println("Found: "+useCaseDescriptorDV);
}
} }