8000 Revert "Feature/token passing mini runtime release" by notshivansh · Pull Request #2733 · akto-api-security/akto · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Revert "Feature/token passing mini runtime release" #2733

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

notshivansh
Copy link
Contributor

Reverts #2727

@Copilot Copilot AI review requested due to automatic review settings June 30, 2025 07:47
Copy link
Contributor
@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR reverts the changes introduced in the "Feature/token passing mini runtime release" (akto#2727), restoring the previous behavior across multiple modules. Key changes include deletion of the new TestRoleUtil methods, removal of modified API calls for token processing, and reordering or removal of recently added import statements in various files.

Reviewed Changes

Copilot reviewed 117 out of 117 changed files in this pull request and generated no comments.

Show a summary per file
File Description
libs/utils/src/main/java/com/akto/testing/Utils.java Added a reverting import for SampleDataAltDb to match the earlier behavior.
libs/utils/src/main/java/com/akto/testing/TestRoleUtil.java Entire file deleted to remove the new token‐passing logic.
libs/utils/src/main/java/com/akto/testing/ServiceConnectivity.java Reordered Logger imports and removed duplicate LoggerMaker import.
libs/utils/src/main/java/com/akto/testing/ApiExecutorUtil.java Removed an extraneous import to restore prior state.
libs/utils/src/main/java/com/akto/test_editor/filter/FilterAction.java Removed duplicate DataActor import and reordered imports.
libs/utils/src/main/java/com/akto/stigg/StiggReporterClient.java Updated imports and dependency ordering as part of the revert.
libs/utils/src/main/java/com/akto/data_actor/DbLayer.java Removed the fetchLatestAuthenticatedByApiCollectionId method that was part of the new token passing feature.
apps/testing/TestExecutor.java Swapped calls from TestRoleUtil.findMatchingAuthMechanism to testRole.findMatchingAuthMechanism, reverting recent updates.
... Several other files in apps/mini-testing, apps/dashboard, apps/api-runtime, etc., were similarly updated to restore the previous authentication and token handling logic.
Comments suppressed due to low confidence (1)

libs/utils/src/main/java/com/akto/data_actor/DbLayer.java:913

  • Ensure that removal of the fetchLatestAuthenticatedByApiCollectionId method is properly propagated across all dependent code, and that any remaining references have been updated to use the previous approach.
    }

@notshivansh notshivansh merged commit beaca65 into feature/mini-runtime-release Jun 30, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0