Skip to content

Remove ACA-Py - #72

Merged
bzp99 merged 4 commits into
Prometheus-X-association:yassine-refactorfrom
MYRhouma:chore/remove-acapy
Jul 29, 2026
Merged

Remove ACA-Py#72
bzp99 merged 4 commits into
Prometheus-X-association:yassine-refactorfrom
MYRhouma:chore/remove-acapy

Conversation

@MYRhouma

@MYRhouma MYRhouma commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Removes the deprecated ACA-Py controller service and its coupling from the dva-api module:

  • deletes dva-acapy-controller, its compose services, env vars and leftover test data
  • drops the VerifRequestLog chain from infoRoutes and aovRoutes (now backed only by ReqestLogRepo)
  • removes ACA-Py presentation DTOs from the verify path
  • re-runs :api:compileTestKotlin clean

Follow-up fix(dva-api): drop residual VerifRequestLog refs patch completes the cleanup in aovRoutes.kt and AoVRoutesTest.kt left over from the initial removal commit.

Depends on: none

@bzp99

Copilot AI left a comment

Copy link
Copy Markdown

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 removes the deprecated dva-acapy-controller component and associated ACA-Py wiring from the repository, while cleaning up the dva-api codepaths that previously stored and exposed ACA-Py verification request logs.

Changes:

  • Remove the dva-acapy-controller module and its Docker/test-environment wiring (compose services, shared service definitions, test data, docs).
  • Drop VerifRequestLog* model/repo + Postgres mapping/repo wiring from dva-api (including DB table creation and Koin bindings).
  • Simplify /info API resources/routes to only expose request logs.

Reviewed changes

Copilot reviewed 28 out of 29 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
test-env/test-data/aov/verif-req.json Removed AoV verification request sample JSON.
test-env/test-data/aca-py-controller-aov-req.json Removed ACA-Py controller AoV request sample JSON.
test-env/test-data/aca-py-controller-aov-pres-req.json Removed ACA-Py controller presentation request sample JSON.
test-env/compose.yml Removed ACA-Py agent/controller services and related env vars/depends_on.
test-env/common-services.yml Removed common service templates for aca-py and dva-aca-py-controller.
README.md Removed ACA-Py component references and adjusted docs around /attestation/verify.
dva-api/model/src/main/kotlin/hu/bme/mit/ftsrg/dva/log/VerifRequestLogRepo.kt Deleted VerifRequestLogRepo interface.
dva-api/model/src/main/kotlin/hu/bme/mit/ftsrg/dva/log/VerifRequestLog.kt Deleted VerifRequestLog* DTO/model types.
dva-api/model/src/main/kotlin/hu/bme/mit/ftsrg/dva/log/FakeVerifRequestLogRepo.kt Deleted fake in-memory verification log repo.
dva-api/api/src/test/kotlin/hu/bme/mit/ftsrg/dva/api/route/AoVRoutesTest.kt Removed VerifRequestLogRepo wiring from test DI setup.
dva-api/api/src/main/kotlin/hu/bme/mit/ftsrg/dva/api/route/infoRoutes.kt Removed /info/presentations and /info/credentials routes.
dva-api/api/src/main/kotlin/hu/bme/mit/ftsrg/dva/api/route/aovRoutes.kt Removed verification-log persistence around /attestation/verify.
dva-api/api/src/main/kotlin/hu/bme/mit/ftsrg/dva/api/resource/Info.kt Removed Info.Presentations and Info.Credentials resources.
dva-api/api/src/main/kotlin/hu/bme/mit/ftsrg/dva/api/db/verifRequestLogMapping.kt Deleted Exposed mapping for verification_request_logs table.
dva-api/api/src/main/kotlin/hu/bme/mit/ftsrg/dva/api/db/PgVerifRequestLogRepo.kt Deleted Postgres implementation of VerifRequestLogRepo.
dva-api/api/src/main/kotlin/hu/bme/mit/ftsrg/dva/api/db/databases.kt Removed VerifRequestLogsTable from schema creation.
dva-api/api/src/main/kotlin/hu/bme/mit/ftsrg/dva/api/Application.kt Removed Koin binding for VerifRequestLogRepo.
dva-acapy-controller/uv.lock Deleted uv lockfile for removed controller module.
dva-acapy-controller/tests/test_controller.py Deleted controller module tests.
dva-acapy-controller/static/index.html Deleted controller static UI.
dva-acapy-controller/src/dva_acapy_controller/controller.py Deleted controller implementation.
dva-acapy-controller/src/dva_acapy_controller/config.py Deleted controller config module.
dva-acapy-controller/README.md Deleted controller module README.
dva-acapy-controller/pyproject.toml Deleted controller module project config.
dva-acapy-controller/LICENSE Deleted controller module license file.
dva-acapy-controller/Dockerfile Deleted controller module Dockerfile.
dva-acapy-controller/.python-version Deleted controller module Python version file.
dva-acapy-controller/.gitignore Deleted controller module gitignore.
dva-acapy-controller/.dockerignore Deleted controller module dockerignore.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread dva-api/api/src/main/kotlin/hu/bme/mit/ftsrg/dva/api/route/aovRoutes.kt Outdated
Comment thread test-env/compose.yml
Comment thread README.md
Comment on lines 6 to 11
@Resource("/info")
class Info {

@Resource("requests")
class Requests(val parent: Info = Info())

@Resource("presentations")
class Presentations(val parent: Info = Info())

@Resource("credentials")
class Credentials(val parent: Info = Info())
}

@bzp99 bzp99 Jul 29, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Our friend is right here, I'd immediately patch the karate tests, too.

UPDATE: opted to disable all attestation-related tests in b5633d8 for now

@bzp99 bzp99 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Looks good overall, I’ll go ahead and resolve my and Copilot’s comments, make a sweep to see if there are no traces of ACA-Py left and then we can merge.

Comment on lines 6 to 11
@Resource("/info")
class Info {

@Resource("requests")
class Requests(val parent: Info = Info())

@Resource("presentations")
class Presentations(val parent: Info = Info())

@Resource("credentials")
class Credentials(val parent: Info = Info())
}

@bzp99 bzp99 Jul 29, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Our friend is right here, I'd immediately patch the karate tests, too.

UPDATE: opted to disable all attestation-related tests in b5633d8 for now

Comment thread dva-api/api/src/main/kotlin/hu/bme/mit/ftsrg/dva/api/route/aovRoutes.kt Outdated
@bzp99
bzp99 force-pushed the chore/remove-acapy branch 3 times, most recently from e8a1786 to 42e4276 Compare July 29, 2026 21:19
@bzp99
bzp99 force-pushed the chore/remove-acapy branch from 42e4276 to bd09c72 Compare July 29, 2026 21:22
@bzp99
bzp99 merged commit bd09c72 into Prometheus-X-association:yassine-refactor Jul 29, 2026
3 checks passed
@bzp99 bzp99 changed the title chore: remove ACA-Py coupling from dva-api Remove ACA-Py Jul 29, 2026
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.

3 participants