GWT-Servlet at provided

This commit is contained in:
Francesco Mangiacrapa 2022-10-27 11:22:29 +02:00
parent 0c74612ad7
commit 8b8fa94440
3 changed files with 10 additions and 19 deletions

View File

@ -4,6 +4,12 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [v1.1.1-SNAPSHOT] - 2022-10-27
#### Fixing
- GWT-Servlet at provided
## [v1.1.0] - 2022-08-01
#### Enhancements

19
pom.xml
View File

@ -14,7 +14,7 @@
<groupId>org.gcube.portlets.widgets</groupId>
<artifactId>ckan-content-moderator-widget</artifactId>
<packaging>jar</packaging>
<version>1.1.0</version>
<version>1.1.1-SNAPSHOT</version>
<name>gCube Ckan Content Moderator Widget</name>
<description>
@ -66,21 +66,6 @@
<dependencies>
<!-- needed to compile/run in devMode with gwt > 2.7 -->
<!-- <dependency> -->
<!-- <groupId>javax.servlet</groupId> -->
<!-- <artifactId>javax.servlet-api</artifactId> -->
<!-- <version>3.1.0</version> -->
<!-- <scope>provided</scope> -->
<!-- </dependency> -->
<!-- needed to compile/run in devMode with gwt > 2.7 -->
<!-- <dependency> -->
<!-- <groupId>xml-apis</groupId> -->
<!-- <artifactId>xml-apis</artifactId> -->
<!-- <version>1.4.01</version> -->
<!-- </dependency> -->
<dependency>
<groupId>com.google.gwt</groupId>
<artifactId>gwt-user</artifactId>
@ -91,7 +76,7 @@
<groupId>com.google.gwt</groupId>
<artifactId>gwt-servlet</artifactId>
<version>${gwtVersion}</version>
<scope>runtime</scope>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.google.gwt</groupId>

View File

@ -23,7 +23,7 @@ public class CkanContentModeratorServiceTest {
private String testUser = "francesco.mangiacrapa";
// private String authorizationToken = "";
// private String scope = "/gcube/devsec";
private String authorizationToken = "8d2107bd-640c-4cdc-88cd-72d3242d893e-98187548"; // devVRE
private String authorizationToken = ""; // devVRE
private static final org.slf4j.Logger LOG = LoggerFactory.getLogger(CkanContentModeratorServiceTest.class);
@ -32,7 +32,7 @@ public class CkanContentModeratorServiceTest {
fail("Not yet implemented");
}
@Test
//@Test
public void loadItemsForStatus() {
ScopeProvider.instance.set(scope);
SecurityTokenProvider.instance.set(authorizationToken);