Skip to content
Merged
Show file tree
Hide file tree
Changes from 43 commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
6039ff7
Add GitHub Actions workflow for noise service CI/CD
synapp009 Jul 14, 2026
dcdfe18
Initialize noise generation service with Docker, Makefile, and OpenAP…
synapp009 Jul 14, 2026
a4be302
Update FastNoiseLite dependency to version 1.1.1 and add OpenAPI spec…
synapp009 Jul 14, 2026
90abef5
Refactor noise generation service: reorganize dependencies in Cargo.t…
synapp009 Jul 14, 2026
6cbf1f6
Rename noise service references to noise generation service in GitHub…
synapp009 Jul 14, 2026
bdc1eef
Enhance noise generation service: add Makefile targets for testing an…
synapp009 Jul 15, 2026
8a0d992
Enhance noise generation service: add support for multiple noise algo…
synapp009 Jul 15, 2026
217fe5b
Enhance noise generation service: add OpenSimplex2 and Cellular algor…
synapp009 Jul 15, 2026
b98f8e6
Update README.md: enhance documentation with detailed API endpoints, …
synapp009 Jul 15, 2026
7d3b6d2
Refactor Makefile and update Docker configurations: change port mappi…
synapp009 Jul 15, 2026
1a9058e
Enhance CLI and CI for noise generation service: update command struc…
synapp009 Jul 15, 2026
d83315b
Update README.md: reorganize sections, enhance algorithm details, and…
synapp009 Jul 15, 2026
0c7f843
Fix Dockerfile and docker-compose configuration: set correct CMD for …
synapp009 Jul 15, 2026
8c02040
Update dependencies and enhance noise generation service
synapp009 Jul 15, 2026
7e8b5db
Remove debug print statements from generate_noise function
synapp009 Jul 15, 2026
09daf61
Update GitHub Actions workflow to verify OpenAPI spec and enhance REA…
synapp009 Jul 15, 2026
c1668b6
Update dependencies and Docker configurations for noise-generation-se…
synapp009 Jul 15, 2026
494df33
feat: enhance noise generation service with UUID support and state ma…
synapp009 Jul 15, 2026
73ef78a
feat: add Simplex noise generation support and update integration tests
synapp009 Jul 15, 2026
dc44e72
feat: add endpoint to retrieve noise value at specific point and upda…
synapp009 Jul 15, 2026
1e18022
feat: add endpoint to retrieve noise value at specific coordinates an…
synapp009 Jul 15, 2026
a18c6fb
fix: correct port mapping for noise generation service in Docker conf…
synapp009 Jul 16, 2026
3ac61e5
feat: add white noise generation algorithm and corresponding integrat…
synapp009 Jul 16, 2026
657e268
feat: add seed parameter support for FBm noise generation and update …
synapp009 Jul 16, 2026
0085b23
feat: add seed parameter support for Billow noise generation and upda…
synapp009 Jul 16, 2026
659ed61
feat: add seed parameter support for RidgedMulti noise generation and…
synapp009 Jul 16, 2026
f6df8d1
feat: enhance PingPong and DomainWarp noise generation with seed para…
synapp009 Jul 16, 2026
47ab34b
feat: refactor combinator and utility noise generation to use dedicat…
synapp009 Jul 16, 2026
a3bceff
feat: add seed parameter support for white noise generation and verif…
synapp009 Jul 16, 2026
523aaba
feat: update README to reflect changes in noise algorithm parameters …
synapp009 Jul 16, 2026
f7d4417
feat: integrate utoipa for OpenAPI documentation and add Swagger UI
synapp009 Jul 16, 2026
d142451
Add noise generation service and testing script for all algorithms
synapp009 Jul 16, 2026
57acf3e
feat: enhance CLI with comprehensive commands for noise generation, i…
synapp009 Jul 16, 2026
5d8fb2d
Refactor noise generation service CLI and main logic
synapp009 Jul 16, 2026
25daa23
fix: remove noise generation service entry from services table in README
synapp009 Jul 16, 2026
8cb0633
fix: remove noise generation service entry from services table in README
synapp009 Jul 16, 2026
82cc877
refactor: update CI workflow for noise generation service and improve…
synapp009 Jul 16, 2026
797949d
fix: update generate-openapi command and remove obsolete test file
synapp009 Jul 16, 2026
43fdfbb
Update noise generation service with various improvements and fixes
synapp009 Jul 16, 2026
3168d34
fix: ensure container_name is defined for noise generation service in…
synapp009 Jul 16, 2026
8fbd4e8
refactor: streamline OpenAPI generation in CI workflow and remove obs…
synapp009 Jul 16, 2026
755c3b7
feat: add AlgorithmEntry struct and update API documentation for nois…
synapp009 Jul 16, 2026
f9525d7
test: enhance integration tests by starting server in background and …
synapp009 Jul 20, 2026
37d468b
refactor: update README to improve algorithm section headings and rem…
synapp009 Jul 21, 2026
97603bf
refactor: update CLI and README to use parameterized seed for noise g…
synapp009 Jul 21, 2026
2b2969a
Refactor noise generation service: remove unused commands, simplify s…
synapp009 Jul 21, 2026
81bcb37
refactor: remove rand dependency and implement deterministic LCG for …
synapp009 Jul 21, 2026
b407dab
refactor: improve code readability by formatting long expressions in …
synapp009 Jul 21, 2026
917e75d
refactor: add noise generation service entry to README with CI badge …
synapp009 Jul 21, 2026
3968e2f
data types for params
synapp009 Jul 22, 2026
e681ec0
remove backend option
synapp009 Jul 22, 2026
2ea745d
continue remove backend reference
synapp009 Jul 22, 2026
1decd63
backend reference completly removed
synapp009 Jul 22, 2026
174b6a6
add declaration of internal cache as future update
synapp009 Jul 23, 2026
6f09a79
removed last traces of backend
synapp009 Jul 23, 2026
bf6607c
refactor(noise-generation-service): enums, CLI-API alignment, dedupli…
synapp009 Jul 23, 2026
49fe57d
Fix reproducibility: echo resolved params in response, expose default…
synapp009 Jul 23, 2026
f847417
feat(noise): add 4D noise support for noise-rs algorithms + white noise
synapp009 Jul 23, 2026
7b75698
refactor(noise-generation): CLI/API-Interface vereinheitlichen + dive…
synapp009 Jul 24, 2026
c5550e2
refactor(noise): extract AlgorithmParams enum, deduplicate sampling/o…
synapp009 Jul 24, 2026
53a575b
fix(ai-based): local-review and fixing of critical issues
plc-dev Jul 27, 2026
aee6065
refactor(ai): modularize functionality, make magic numbers explicit, …
plc-dev Jul 27, 2026
63058f7
refactor: cleanup unrequired comments
plc-dev Jul 27, 2026
c827417
Merge remote-tracking branch 'origin/master' into codex/noise-generat…
plc-dev Jul 27, 2026
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
131 changes: 131 additions & 0 deletions .github/workflows/service-noise-generation-service.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
name: noise-generation-service

on:
push:
branches: ["master"]
paths:
- "services/noise-generation-service/**"
pull_request:
branches: ["master"]
paths:
- "services/noise-generation-service/**"

defaults:
run:
working-directory: services/noise-generation-service

jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Rust
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- name: Cache dependencies
uses: Swatinem/rust-cache@v2
with:
workspaces: services/noise-generation-service
- name: Formatting check
run: cargo fmt --check
- name: Clippy linting
run: cargo clippy --all-targets --all-features -- -D warnings

test:
name: Test
runs-on: ubuntu-latest
needs: lint
steps:
- uses: actions/checkout@v4
- name: Setup Rust
uses: dtolnay/rust-toolchain@stable
- name: Cache dependencies
uses: Swatinem/rust-cache@v2
with:
workspaces: services/noise-generation-service
- name: Run tests
run: |
# Start server in background for integration tests
cargo run -- server &
SERVER_PID=$!

# Wait for server to be ready
for i in $(seq 1 30); do
if curl -s http://localhost:8000/v1/algorithms > /dev/null 2>&1; then
echo "Server is ready"
break
fi
echo "Waiting for server... ($i/30)"
sleep 1
done

# Run all tests
cargo test || EXIT_CODE=$?

# Stop the server
kill $SERVER_PID 2>/dev/null || true
wait $SERVER_PID 2>/dev/null || true

exit ${EXIT_CODE:-0}
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
files: services/noise-generation-service/coverage/lcov.info
flags: noise-generation-service
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: false
if: always()

generate-openapi:
name: Generate OpenAPI Spec
runs-on: ubuntu-latest
needs: test
steps:
- uses: actions/checkout@v4
- name: Setup Rust
uses: dtolnay/rust-toolchain@stable
- name: Cache dependencies
uses: Swatinem/rust-cache@v2
with:
workspaces: services/noise-generation-service
- name: Generate OpenAPI spec
run: cargo run -- openapi --output noise-generation-service.openapi.json
- name: Upload OpenAPI spec
uses: actions/upload-artifact@v4
with:
name: openapi-spec-noise-generation-service
path: services/noise-generation-service/noise-generation-service.openapi.json

build:
name: Build & Push Docker Image
runs-on: ubuntu-latest
needs: generate-openapi
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- name: Log in to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract Docker metadata
id: meta
uses: docker/metadata-action@v5
with:
images: ghcr.io/${{ github.repository_owner }}/noise-generation-service
tags: |
type=sha,prefix=sha-
type=raw,value=latest
- name: Build and push Docker image
uses: docker/build-push-action@v6
with:
context: services/noise-generation-service
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
2 changes: 2 additions & 0 deletions services/noise-generation-service/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/target/
*.openapi.json
Loading
Loading