Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .cursor/rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
- This project was last maintained in 2017
- Stack: Spring, java , Angular mysql cassandra
- Goal: make it run locally, minimal changes only
- Do not refactor business logic
- Fix one error at a time
- Prefer backward-compatible solutions
3 changes: 3 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Copy to .env and adjust if your build output directory name differs.
# Run: mvn -f modules/main/pom.xml -P development help:evaluate -Dexpression=application.name -q -DforceStdout
WASABI_APP_ID=wasabi-main-1.0.20190619090227-SNAPSHOT-development
38 changes: 38 additions & 0 deletions .github/CI.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# CI (GitHub Actions)

This project uses **GitHub Actions** for CI only (build and test). There is no deployment step.

## Workflow

- **Triggers:** Push and pull requests to `feature/*`, `develop`, and `master`.
- **Build:** Maven install (tests skipped), then `mvn clean test jacoco:report`.
- **Java:** Eclipse Temurin JDK 8.

## Running locally with Docker

1. **Build the app** (once; creates `modules/main/target/<application.name>/`):

```bash
./bin/build.sh -b true -p development
```

2. **Ensure `.env` exists** with the app directory name (see `.env.example`):

```bash
cp .env.example .env
# If your version/profile differ, set WASABI_APP_ID to the directory name under modules/main/target/
```

3. **Start stack:**

```bash
docker compose up -d
```

This starts Cassandra, MySQL, runs keyspace creation and schema migration, then Wasabi. UI: http://localhost:8080 (login: admin/admin). API: http://localhost:8080/api/v1/ping

4. **Stop:**

```bash
docker compose down
```
38 changes: 38 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Build-only CI (no deployment)

name: CI

on:
push:
branches:
- 'feature/*'
- develop
- master
pull_request:
branches:
- 'feature/*'
- develop
- master

env:
MAVEN_OPTS: -Dmaven.repo.local=$RUNNER_TEMP/m2repo

jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up JDK 8
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '8'
cache: 'maven'

- name: Build (install, skip tests)
run: mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V

- name: Test and coverage
run: mvn clean test jacoco:report -B
30 changes: 0 additions & 30 deletions .travis.yml

This file was deleted.

9 changes: 0 additions & 9 deletions .travis/before-deploy.sh

This file was deleted.

Binary file removed .travis/codesigning.asc.enc
Binary file not shown.
7 changes: 0 additions & 7 deletions .travis/deploy.sh

This file was deleted.

22 changes: 0 additions & 22 deletions .travis/settings.xml

This file was deleted.

Loading