You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rework the Bitbucket Server getUser request (#790) (#792)
Since Bitbucket Server version 8.19.14, the /plugins/servlet/applinks/whoami request does not return username, if PAT is used. Change the getUser() request to /rest/api/1.0/application-properties instead and extract the username from the response headers.
Copy file name to clipboardexpand all lines: wsmaster/che-core-api-factory-bitbucket-server/src/main/java/org/eclipse/che/api/factory/server/bitbucket/HttpBitbucketServerApiClient.java
+43-35
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright (c) 2012-2024 Red Hat, Inc.
2
+
* Copyright (c) 2012-2025 Red Hat, Inc.
3
3
* This program and the accompanying materials are made
4
4
* available under the terms of the Eclipse Public License 2.0
5
5
* which is available at https://www.eclipse.org/legal/epl-2.0/
Copy file name to clipboardexpand all lines: wsmaster/che-core-api-factory-bitbucket-server/src/test/java/org/eclipse/che/api/factory/server/bitbucket/BitbucketServerURLParserTest.java
+50-7
Original file line number
Diff line number
Diff line change
@@ -117,8 +117,10 @@ public void shouldValidateUrlByApiRequest() {
Copy file name to clipboardexpand all lines: wsmaster/che-core-api-factory-bitbucket-server/src/test/java/org/eclipse/che/api/factory/server/bitbucket/HttpBitbucketServerApiClientTest.java
+17-4
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright (c) 2012-2024 Red Hat, Inc.
2
+
* Copyright (c) 2012-2025 Red Hat, Inc.
3
3
* This program and the accompanying materials are made
4
4
* available under the terms of the Eclipse Public License 2.0
5
5
* which is available at https://www.eclipse.org/legal/epl-2.0/
@@ -102,8 +102,8 @@ public String computeAuthorizationHeader(
0 commit comments