Skip to content

Commit 7dc3b71

Browse files
committed
Merge remote-tracking branch 'origin/main' into revert/remove-develocity
* origin/main: chore(deps): bump ch.qos.logback.version from 1.5.25 to 1.5.28 (eclipse-che#955) Support the deprecated Azure DevOps oauth apps (eclipse-che#985) chore: Add null check to the Bitbucket Server URL parser (eclipse-che#983) chore(deps-dev): bump org.apache.maven.plugins:maven-source-plugin (eclipse-che#948) chore(deps): bump org.testng:testng from 7.8.0 to 7.12.0 (eclipse-che#950) chore: Bump to 7.117.0-SNAPSHOT in main (eclipse-che#984) Apply Microsoft Azure OIDC Authentication flow (eclipse-che#968) feat: Option to have devspaces operator create namespace instead of p… (eclipse-che#973) chore: Remove obsolete code (eclipse-che#972) chore: Remove obsolete codebase (eclipse-che#971) chore(deps): bump com.sun.mail:jakarta.mail from 2.0.1 to 2.0.2 (eclipse-che#935) chore: Update fabric8 kubernetes client maven version (eclipse-che#970) feat: enable IPv6 support for factory resolver endpoints (eclipse-che#951)
2 parents d434562 + 03389fc commit 7dc3b71

209 files changed

Lines changed: 1444 additions & 13966 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

assembly/assembly-che-tomcat/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<parent>
1818
<artifactId>che-assembly-parent</artifactId>
1919
<groupId>org.eclipse.che</groupId>
20-
<version>7.116.0-SNAPSHOT</version>
20+
<version>7.117.0-SNAPSHOT</version>
2121
</parent>
2222
<artifactId>assembly-che-tomcat</artifactId>
2323
<packaging>jar</packaging>

assembly/assembly-main/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<parent>
1818
<artifactId>che-assembly-parent</artifactId>
1919
<groupId>org.eclipse.che</groupId>
20-
<version>7.116.0-SNAPSHOT</version>
20+
<version>7.117.0-SNAPSHOT</version>
2121
</parent>
2222
<artifactId>assembly-main</artifactId>
2323
<packaging>pom</packaging>

assembly/assembly-root-war/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<parent>
1818
<artifactId>che-assembly-parent</artifactId>
1919
<groupId>org.eclipse.che</groupId>
20-
<version>7.116.0-SNAPSHOT</version>
20+
<version>7.117.0-SNAPSHOT</version>
2121
</parent>
2222
<artifactId>assembly-root-war</artifactId>
2323
<packaging>war</packaging>

assembly/assembly-swagger-war/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<parent>
1818
<artifactId>che-assembly-parent</artifactId>
1919
<groupId>org.eclipse.che</groupId>
20-
<version>7.116.0-SNAPSHOT</version>
20+
<version>7.117.0-SNAPSHOT</version>
2121
</parent>
2222
<artifactId>assembly-swagger-war</artifactId>
2323
<packaging>war</packaging>

assembly/assembly-wsmaster-war/pom.xml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<parent>
1818
<artifactId>che-assembly-parent</artifactId>
1919
<groupId>org.eclipse.che</groupId>
20-
<version>7.116.0-SNAPSHOT</version>
20+
<version>7.117.0-SNAPSHOT</version>
2121
</parent>
2222
<artifactId>assembly-wsmaster-war</artifactId>
2323
<packaging>war</packaging>
@@ -255,10 +255,6 @@
255255
<groupId>org.eclipse.che.multiuser</groupId>
256256
<artifactId>che-multiuser-api-permission</artifactId>
257257
</dependency>
258-
<dependency>
259-
<groupId>org.eclipse.che.multiuser</groupId>
260-
<artifactId>che-multiuser-api-workspace-activity</artifactId>
261-
</dependency>
262258
<dependency>
263259
<groupId>org.eclipse.che.multiuser</groupId>
264260
<artifactId>che-multiuser-keycloak-token-provider</artifactId>

assembly/assembly-wsmaster-war/src/main/java/org/eclipse/che/api/deploy/ReplicationModule.java

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2012-2025 Red Hat, Inc.
2+
* Copyright (c) 2012-2026 Red Hat, Inc.
33
* This program and the accompanying materials are made
44
* available under the terms of the Eclipse Public License 2.0
55
* which is available at https://www.eclipse.org/legal/epl-2.0/
@@ -12,14 +12,11 @@
1212
package org.eclipse.che.api.deploy;
1313

1414
import com.google.inject.AbstractModule;
15-
import com.google.inject.multibindings.Multibinder;
1615
import com.google.inject.name.Names;
1716
import java.util.Map;
1817
import org.eclipse.che.api.core.notification.RemoteSubscriptionStorage;
19-
import org.eclipse.che.api.system.server.ServiceTermination;
2018
import org.eclipse.che.api.workspace.server.WorkspaceLockService;
2119
import org.eclipse.che.api.workspace.server.WorkspaceStatusCache;
22-
import org.eclipse.che.multiuser.api.distributed.JGroupsServiceTermination;
2320
import org.eclipse.che.multiuser.api.distributed.WorkspaceStopPropagator;
2421
import org.eclipse.che.multiuser.api.distributed.subscription.DistributedRemoteSubscriptionStorage;
2522
import org.eclipse.persistence.config.CacheCoordinationProtocol;
@@ -54,10 +51,6 @@ protected void configure() {
5451
bind(WorkspaceStatusCache.class)
5552
.to(org.eclipse.che.multiuser.api.distributed.cache.JGroupsWorkspaceStatusCache.class);
5653

57-
Multibinder.newSetBinder(binder(), ServiceTermination.class)
58-
.addBinding()
59-
.to(JGroupsServiceTermination.class);
60-
6154
bind(WorkspaceStopPropagator.class).asEagerSingleton();
6255
}
6356
}

assembly/assembly-wsmaster-war/src/main/java/org/eclipse/che/api/deploy/WsMasterModule.java

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,10 @@
6565
import org.eclipse.che.api.workspace.server.WorkspaceEntityProvider;
6666
import org.eclipse.che.api.workspace.server.devfile.DevfileModule;
6767
import org.eclipse.che.api.workspace.server.hc.ServersCheckerFactory;
68-
import org.eclipse.che.api.workspace.server.spi.provision.InternalEnvironmentProvisioner;
69-
import org.eclipse.che.api.workspace.server.spi.provision.MachineNameProvisioner;
7068
import org.eclipse.che.api.workspace.server.spi.provision.env.AgentAuthEnableEnvVarProvider;
7169
import org.eclipse.che.api.workspace.server.spi.provision.env.CheApiEnvVarProvider;
7270
import org.eclipse.che.api.workspace.server.spi.provision.env.CheApiExternalEnvVarProvider;
7371
import org.eclipse.che.api.workspace.server.spi.provision.env.CheApiInternalEnvVarProvider;
74-
import org.eclipse.che.api.workspace.server.spi.provision.env.EnvVarEnvironmentProvisioner;
7572
import org.eclipse.che.api.workspace.server.spi.provision.env.EnvVarProvider;
7673
import org.eclipse.che.api.workspace.server.spi.provision.env.JavaOptsEnvVariableProvider;
7774
import org.eclipse.che.api.workspace.server.spi.provision.env.LegacyEnvVarProvider;
@@ -88,7 +85,6 @@
8885
import org.eclipse.che.multiuser.api.authentication.commons.token.RequestTokenExtractor;
8986
import org.eclipse.che.multiuser.api.permission.server.PermissionChecker;
9087
import org.eclipse.che.multiuser.api.permission.server.PermissionCheckerImpl;
91-
import org.eclipse.che.multiuser.api.workspace.activity.MultiUserWorkspaceActivityModule;
9288
import org.eclipse.che.multiuser.machine.authentication.server.MachineAuthModule;
9389
import org.eclipse.che.multiuser.oidc.OIDCInfo;
9490
import org.eclipse.che.multiuser.oidc.OIDCInfoProvider;
@@ -202,11 +198,6 @@ protected void configure() {
202198

203199
install(new FactoryModuleBuilder().build(ServersCheckerFactory.class));
204200

205-
Multibinder<InternalEnvironmentProvisioner> internalEnvironmentProvisioners =
206-
Multibinder.newSetBinder(binder(), InternalEnvironmentProvisioner.class);
207-
internalEnvironmentProvisioners.addBinding().to(EnvVarEnvironmentProvisioner.class);
208-
internalEnvironmentProvisioners.addBinding().to(MachineNameProvisioner.class);
209-
210201
Multibinder<EnvVarProvider> envVarProviders =
211202
Multibinder.newSetBinder(binder(), EnvVarProvider.class);
212203
envVarProviders.addBinding().to(CheApiEnvVarProvider.class);
@@ -258,9 +249,6 @@ protected void configure() {
258249
install(new SystemModule());
259250
Multibinder<ServiceTermination> terminationMultiBinder =
260251
Multibinder.newSetBinder(binder(), ServiceTermination.class);
261-
terminationMultiBinder
262-
.addBinding()
263-
.to(org.eclipse.che.api.workspace.server.WorkspaceServiceTermination.class);
264252
terminationMultiBinder
265253
.addBinding()
266254
.to(org.eclipse.che.api.system.server.CronThreadPullTermination.class);
@@ -336,7 +324,6 @@ private void configureMultiUserMode(
336324
install(
337325
new org.eclipse.che.multiuser.permission.workspace.server.jpa
338326
.MultiuserWorkspaceJpaModule());
339-
install(new MultiUserWorkspaceActivityModule());
340327
install(
341328
new org.eclipse.che.multiuser.permission.devfile.server.jpa
342329
.MultiuserUserDevfileJpaModule());

assembly/assembly-wsmaster-war/src/main/webapp/WEB-INF/classes/che/che.properties

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -110,22 +110,27 @@ che.auth.access_denied_error_page=/error-oauth
110110
che.auth.reserved_user_names=
111111

112112
# Configuration of the Azure DevOps Service OAuth2 client. Used to obtain personal access tokens.
113-
# Location of the file with Azure DevOps Service Application ID.
113+
# Location of the file with Microsoft OIDC Directory (tenant) ID.
114+
che.oauth2.azure.devops.tenantid_filepath=NULL
115+
116+
# Location of the file with Microsoft OIDC Application (client) ID.
114117
che.oauth2.azure.devops.clientid_filepath=NULL
115118

116-
# Location of the file with Azure DevOps Service Client Secret.
119+
# Location of the file with Microsoft OIDC Application (client) secret.
117120
che.oauth2.azure.devops.clientsecret_filepath=NULL
118121

119122
# Azure DevOps Service OAuth2 scopes.
120123
# Separate multiple values with comma, for example: scope,scope,scope
121124
# The full list of scopes: https://learn.microsoft.com/en-us/azure/devops/integrate/get-started/authentication/oauth?view=azure-devops#scopes
122-
che.integration.azure.devops.application_scopes=vso.code_write
125+
# Entra ID v2.0 requires Azure DevOps App ID URI in the scope, which is 499b84ac-1321-427f-aa17-267ca6975798
126+
# see https://learn.microsoft.com/en-us/answers/questions/5807316/invalid-scope-error-on-oidc-token-request
127+
che.integration.azure.devops.application_scopes=499b84ac-1321-427f-aa17-267ca6975798/vso.code_write
123128

124-
# Azure DevOps Service OAuth2 authorization URI.
125-
che.oauth.azure.devops.authuri=https://app.vssps.visualstudio.com/oauth2/authorize
129+
# Azure DevOps Service OAuth2 authorization URI template. Tenant-id must be injected.
130+
che.oauth.azure.devops.authuri.template=https://login.microsoftonline.com/%s/oauth2/v2.0/authorize
126131

127-
# Azure DevOps OAuth Service token URI.
128-
che.oauth.azure.devops.tokenuri=https://app.vssps.visualstudio.com/oauth2/token
132+
# Azure DevOps OAuth Service token URI template. Tenant-id must be injected.
133+
che.oauth.azure.devops.tokenuri.template=https://login.microsoftonline.com/%s/oauth2/v2.0/token
129134

130135
# Azure DevOps Service API server address.
131136
che.integration.azure.devops.api_endpoint=https://vssps.dev.azure.com

assembly/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<parent>
1818
<artifactId>che-server</artifactId>
1919
<groupId>org.eclipse.che</groupId>
20-
<version>7.116.0-SNAPSHOT</version>
20+
<version>7.117.0-SNAPSHOT</version>
2121
<relativePath>../pom.xml</relativePath>
2222
</parent>
2323
<artifactId>che-assembly-parent</artifactId>

core/che-core-api-core/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<parent>
1818
<artifactId>che-core-parent</artifactId>
1919
<groupId>org.eclipse.che.core</groupId>
20-
<version>7.116.0-SNAPSHOT</version>
20+
<version>7.117.0-SNAPSHOT</version>
2121
</parent>
2222
<artifactId>che-core-api-core</artifactId>
2323
<packaging>jar</packaging>

0 commit comments

Comments
 (0)