cardano-foundation / cardano-foundation/cardano-rosetta-java
refactor to replace docker version of yaci-cli with npm version of yaci-cli
- Dominant language
- Java
- Stars
- 26
- Forks
- 15
- Avg merge
- 5d 3h
- Merged PRs (30d)
- 2
Description
## Refactor: Replace Docker-based integration tests with `yaci-devkit` (npm)
### Summary
Currently the integration tests in **cardano-rosetta-java** rely on a Docker-based setup to run a local Cardano devnet.
This setup should be refactored to use the **npm distribution of `yaci-cli` / `yaci-devkit`** instead.
Example reference implementation:
https://github.com/bloxbean/devkit-npm-ci-test
### Motivation
The current Docker-based approach introduces unnecessary complexity and overhead for running integration tests.
Using the npm-based `yaci-devkit` provides several advantages:
- **Simpler setup** — no Docker dependency required
- **Faster startup time**
- **More lightweight CI execution**
- **Easier local developer experience**
- **Better alignment with other projects already using npm-based devnet tooling**
### Proposed Changes
- Remove Docker-based devnet setup used in integration tests
- Use **`yaci-cli` / `yaci-devkit` via npm** to start and manage the devnet
- Update CI workflow to install and run `yaci-devkit`
- Update documentation for running integration tests locally
### Reference
Example project demonstrating npm-based CI setup:
https://github.com/bloxbean/devkit-npm-ci-test
### Expected Outcome
Integration tests should:
- Start a local Cardano devnet using **`yaci-devkit`**
- Run Rosetta integration tests against the devnet
- Shut down the devnet automatically after tests complete
The new setup should be **simpler, faster, and easier to maintain** than the current Docker-based approach.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.