increased waiting time between LR Site Creation and LR Site user
assignments (manager, designer)
This commit is contained in:
parent
c494970967
commit
87171c1b48
|
@ -1,28 +1,37 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
|
||||
|
||||
|
||||
|
||||
<wb-module deploy-name="vre-deploy">
|
||||
|
||||
|
||||
|
||||
<wb-resource deploy-path="/" source-path="/target/m2e-wtp/web-resources"/>
|
||||
|
||||
|
||||
|
||||
<wb-resource deploy-path="/" source-path="/src/main/webapp" tag="defaultRootSource"/>
|
||||
|
||||
|
||||
|
||||
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/>
|
||||
|
||||
|
||||
|
||||
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/resources"/>
|
||||
|
||||
|
||||
|
||||
<property name="java-output-path" value="/${module}/target/www/WEB-INF/classes"/>
|
||||
|
||||
|
||||
|
||||
<property name="context-root" value="vre-deploy"/>
|
||||
|
||||
|
||||
|
||||
</wb-module>
|
||||
|
||||
|
||||
|
||||
</project-modules>
|
||||
|
|
|
@ -4,6 +4,10 @@
|
|||
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).
|
||||
|
||||
## [v4.5.0-SNAPSHOT] - 2022-03-08
|
||||
|
||||
- Feature #24402 increased waiting time between LR Site Creation and LR Site user assignments (manager, designer)
|
||||
|
||||
## [v4.4.0] - 2021-07-08
|
||||
|
||||
- #21781 migrated to new AccessTokenProvider class
|
||||
|
|
4
pom.xml
4
pom.xml
|
@ -13,7 +13,7 @@
|
|||
<groupId>org.gcube.portlets.admin</groupId>
|
||||
<artifactId>vre-deploy</artifactId>
|
||||
<packaging>war</packaging>
|
||||
<version>4.4.0</version>
|
||||
<version>4.5.0-SNAPSHOT</version>
|
||||
<name>gCube VRE Deploy Wizard Portlet</name>
|
||||
<description>
|
||||
gCube VRE Deploy Wizard Portlet.
|
||||
|
@ -40,7 +40,7 @@
|
|||
<dependency>
|
||||
<groupId>org.gcube.distribution</groupId>
|
||||
<artifactId>maven-portal-bom</artifactId>
|
||||
<version>3.6.3</version>
|
||||
<version>3.6.4-SNAPSHOT</version>
|
||||
<type>pom</type>
|
||||
<scope>import</scope>
|
||||
</dependency>
|
||||
|
|
|
@ -934,10 +934,15 @@ public class VREDeployerServiceImpl extends RemoteServiceServlet implements Vre
|
|||
+ "now assigning the designer and manager to the Site (VRE), sleeping "+ WAITING_TIME_Seconds + " seconds to allow operations on Keycloak ...");
|
||||
|
||||
//the creation of groups on Keycloak is asynchronous, if we send an add user to group before the group is actually created on keycloak it would fails, so we wait
|
||||
Thread.sleep(WAITING_TIME_Seconds / 2 * 1000);
|
||||
log.info("\n still waiting ... 10 seconds more ... ");
|
||||
Thread.sleep(WAITING_TIME_Seconds / 2 * 1000);
|
||||
int waitingTime = WAITING_TIME_Seconds / 2 * 1000;
|
||||
log.info("\n going in waiting before assing users for " +waitingTime + " seconds ");
|
||||
Thread.sleep(waitingTime);
|
||||
log.info("\n still waiting ... " +waitingTime + " seconds ");
|
||||
Thread.sleep(waitingTime);
|
||||
log.info("\n still waiting ... " +waitingTime + " seconds ");
|
||||
Thread.sleep(waitingTime);
|
||||
|
||||
log.info("\n waiting finished going to assign the users to this VRE");
|
||||
RoleManager rm = new LiferayRoleManager();
|
||||
|
||||
if (manager.compareTo(currUser) != 0) {
|
||||
|
|
|
@ -16,8 +16,7 @@
|
|||
<link type="text/css" rel="stylesheet" href="Vredeployer.css" />
|
||||
|
||||
<title>VRE Deployer</title>
|
||||
<script src='gxt/flash/swfobject.js'></script>
|
||||
<script type="text/javascript" src="vredeployer/vredeployer.nocache.js"></script>
|
||||
<!-- <script type="text/javascript" src="vredeployer/vredeployer.nocache.js"></script> -->
|
||||
</head>
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue