Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
9ea7e12
feat: Add foundation dependencies and base configuration (Phase 1)
Jan 15, 2026
281c291
feat: Add new entities and modify MetaObject for RFC (Phase 2)
Jan 15, 2026
e018823
feat: Add DTOs and JSON:API serializer (Phase 3)
Jan 15, 2026
fe89d83
feat: Add RBAC authorization system (Phase 5)
Jan 15, 2026
dc2ae30
feat: Implement core services and schema repository (Phase 6)
Jan 15, 2026
151a2c5
feat: Implement new MetaObject repository pattern (Phase 7)
Jan 15, 2026
f22b3ec
feat: Implement new API controllers (Phase 8)
Jan 15, 2026
ae2ca5d
feat: Add schema migration and verification commands (Phase 9)
Jan 15, 2026
1462929
feat: Add logging and configuration classes (Phase 10)
Jan 15, 2026
927d081
feat: Add unit tests for new components (Phase 11)
Jan 15, 2026
080d9b1
chore: Final cleanup and minor fixes (Phase 12)
Jan 15, 2026
824428b
fix: Split Types.php into separate enum files for Symfony autowiring
Jan 15, 2026
8cef949
fix: Update PHPUnit config to include Unit tests and remove empty Int…
Jan 15, 2026
b58a499
fix: Fix PolicyEvaluatorTest scope mismatch test
Jan 15, 2026
2a5c703
fix: Add database schema creation to CI and update test trait
Jan 15, 2026
4941b7a
test: Add comprehensive unit and integration tests for metastore impl…
Jan 15, 2026
fcd1430
fix: Fix CI test failures for API key and command option conflict
Jan 15, 2026
e797c5a
fix: Add API_KEY to phpunit.xml.dist for reliable test environment
Jan 15, 2026
5b86f00
fix: Get API key dynamically from container in RepositoryControllerTest
Jan 15, 2026
bc9354d
fix: Add $apiKey argument to ApiKeyAuthenticator in services_test.yaml
Jan 15, 2026
a8282ae
fix: Fix MetaObject revision ordering and test project filtering
Jan 15, 2026
e84709f
fix: Add PHPStan configuration and fix type errors in tests
Jan 15, 2026
30b578f
style: Apply ECS code style fixes to test files
Jan 15, 2026
db8ac17
add PHP 8.4
Jan 15, 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
1 change: 1 addition & 0 deletions .env.ci
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
DATABASE_URL="postgresql://bareapi:bareapi@127.0.0.1:5432/bareapi_test?serverVersion=17&charset=utf8"
APP_ENV=test
APP_SECRET=$ecretf0rt3st
API_KEY=test-api-key-for-ci
SYMFONY_DEPRECATIONS_HELPER=weak
17 changes: 16 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,19 @@ APP_SECRET=change_me
###> doctrine/doctrine-bundle ###
# Format: postgresql://user:password@hostname:port/dbname
DATABASE_URL="postgresql://bareapi:bareapi@db:5432/bareapi?serverVersion=17&charset=utf8"
###< doctrine/doctrine-bundle ###
###< doctrine/doctrine-bundle ###

###> metastore ###
# API Authentication - Required for /api/v1/repository/* endpoints
API_KEY=your-secret-api-key-here

# Logging
METASTORE_DEBUG_LOG=false

# Pagination defaults
METASTORE_DEFAULT_PAGE_SIZE=100
METASTORE_MAX_PAGE_SIZE=1000

# Default branch for new objects
METASTORE_DEFAULT_BRANCH=main
###< metastore ###
1 change: 1 addition & 0 deletions .env.test
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ APP_DEBUG=1
DATABASE_URL="postgresql://bareapi:bareapi@db:5432/bareapi_test?serverVersion=17&charset=utf8"
KERNEL_CLASS="Bareapi\\Kernel"
APP_SECRET="$ecretf0rt3st"
API_KEY=test-api-key-for-ci
SYMFONY_DEPRECATIONS_HELPER=weak
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
php-version: ['8.3']
php-version: ['8.3', '8.4']
env:
DATABASE_URL: postgresql://bareapi:bareapi@127.0.0.1:5432/bareapi_test?serverVersion=17&charset=utf8

Expand Down Expand Up @@ -64,6 +64,9 @@ jobs:
- name: Validate composer.json
run: composer validate --strict

- name: Create database schema
run: php bin/console doctrine:schema:create --env=test

- name: Run Tests
run: vendor/bin/phpunit --configuration phpunit.xml.dist --coverage-clover build/logs/clover.xml

Expand Down
5 changes: 4 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,13 @@
"doctrine/doctrine-migrations-bundle": "^3.4",
"doctrine/orm": "^3.4",
"symfony/security-csrf": "^7.0",
"symfony/security-bundle": "^7.0",
"symfony/http-client": "^7.3",
"justinrainbow/json-schema": "^5.2",
"opis/json-schema": "^2.3",
"symfony/doctrine-bridge": "^7.3",
"symfony/dotenv": "^7.3",
"symfony/monolog-bundle": "^3.10",
"ramsey/uuid": "^4.8",
"ramsey/uuid-doctrine": "^2.0"
},
Expand All @@ -41,7 +45,6 @@
"phpunit/phpunit": "^12.2",
"symfony/browser-kit": "^7.3",
"symfony/css-selector": "^7.3",
"symfony/http-client": "^7.3",
"phpstan/phpstan": "^2.1",
"symplify/easy-coding-standard": "^12.0"
},
Expand Down
Loading