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
Remove deprecated convenient methods from GetApiKeyRequest (#89360)
A builder class for GetApiKeyRequest is added as part of #89273. As a
result, the existing convenient methods got deprecated in favour of the
builder. This PR removes the deprecated methods and replaces all usages
with the builder.
Copy file name to clipboardExpand all lines: x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/apikey/GetApiKeyRequest.java
-70Lines changed: 0 additions & 70 deletions
Original file line number
Diff line number
Diff line change
@@ -94,76 +94,6 @@ public boolean withLimitedBy() {
94
94
returnwithLimitedBy;
95
95
}
96
96
97
-
/**
98
-
* Creates get API key request for given realm name
Copy file name to clipboardExpand all lines: x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/action/apikey/GetApiKeyRequestTests.java
Copy file name to clipboardExpand all lines: x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/authz/store/ReservedRolesStoreTests.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -416,7 +416,7 @@ public void testKibanaSystemRole() {
Copy file name to clipboardExpand all lines: x-pack/plugin/security/src/internalClusterTest/java/org/elasticsearch/xpack/security/authc/ApiKeyIntegTests.java
+12-10Lines changed: 12 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -475,7 +475,7 @@ public void testInvalidatedApiKeysDeletedByRemover() throws Exception {
Copy file name to clipboardExpand all lines: x-pack/plugin/security/src/internalClusterTest/java/org/elasticsearch/xpack/security/authc/apikey/ApiKeySingleNodeTests.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -244,15 +244,15 @@ public void testGetApiKeyWorksForTheApiKeyItself() {
Copy file name to clipboardExpand all lines: x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/service/ElasticServiceAccountsTests.java
+9-3Lines changed: 9 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -156,10 +156,13 @@ public void testElasticFleetServerPrivileges() {
0 commit comments