Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/1.x' into 102-settings
Browse files Browse the repository at this point in the history
# Conflicts:
#	src/OpenApi/Config/Tags.php
  • Loading branch information
mattamon committed May 23, 2024
2 parents 5ef28a2 + 300dbd2 commit 7723c4a
Show file tree
Hide file tree
Showing 149 changed files with 5,665 additions and 41,704 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/codeception.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,7 @@ env:

jobs:
codeception-tests:
uses: pimcore/workflows-collection-public/.github/workflows/reusable-codeception-tests-8-2-only.yaml@main
uses: pimcore/workflows-collection-public/.github/workflows/reusable-codeception-tests-8-2-only-public.yaml@main
with:
APP_ENV: test
PIMCORE_TEST: 1
secrets:
COMPOSER_PIMCORE_REPO_PACKAGIST_TOKEN: ${{ secrets.COMPOSER_PIMCORE_REPO_PACKAGIST_TOKEN }}
SSH_PRIVATE_KEY_PIMCORE_DEPLOYMENTS_USER: ${{ secrets.SSH_PRIVATE_KEY_PIMCORE_DEPLOYMENTS_USER }}
PIMCORE_TEST: 1
29 changes: 0 additions & 29 deletions .github/workflows/qodana.yml

This file was deleted.

20 changes: 20 additions & 0 deletions .github/workflows/sonar.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Build
on:
push:
branches:
- 1.x
pull_request:
types: [opened, synchronize, reopened]
jobs:
sonarcloud:
name: SonarCloud
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
5 changes: 1 addition & 4 deletions .github/workflows/static-analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,4 @@ on:

jobs:
static-analysis:
uses: pimcore/workflows-collection-public/.github/workflows/reusable-static-analysis-8-2-only.yaml@main
secrets:
COMPOSER_PIMCORE_REPO_PACKAGIST_TOKEN: ${{ secrets.COMPOSER_PIMCORE_REPO_PACKAGIST_TOKEN }}
SSH_PRIVATE_KEY_PIMCORE_DEPLOYMENTS_USER: ${{ secrets.SSH_PRIVATE_KEY_PIMCORE_DEPLOYMENTS_USER }}
uses: pimcore/workflows-collection-public/.github/workflows/reusable-static-analysis-8-2-only-public.yaml@main
625 changes: 0 additions & 625 deletions .qodana-profile.xml

This file was deleted.

21 changes: 21 additions & 0 deletions config/dependencies.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
services:
_defaults:
autowire: true
autoconfigure: true
public: false

# controllers are imported separately to make sure they're public
# and have a tag that allows actions to type-hint services
Pimcore\Bundle\StudioBackendBundle\Dependency\Controller\:
resource: '../src/Dependency/Controller'
public: true
tags: [ 'controller.service_arguments' ]

Pimcore\Bundle\StudioBackendBundle\Dependency\Repository\DependencyRepositoryInterface:
class: Pimcore\Bundle\StudioBackendBundle\Dependency\Repository\DependencyRepository

Pimcore\Bundle\StudioBackendBundle\Dependency\Service\DependencyServiceInterface:
class: Pimcore\Bundle\StudioBackendBundle\Dependency\Service\DependencyService

Pimcore\Bundle\StudioBackendBundle\Dependency\Hydrator\DependencyHydratorInterface:
class: Pimcore\Bundle\StudioBackendBundle\Dependency\Hydrator\DependencyHydrator
28 changes: 28 additions & 0 deletions config/notes.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
services:
_defaults:
autowire: true
autoconfigure: true
public: false

# controllers are imported separately to make sure they're public
# and have a tag that allows actions to type-hint services
Pimcore\Bundle\StudioBackendBundle\Note\Controller\:
resource: '../src/Note/Controller'
public: true
tags: [ 'controller.service_arguments' ]

# Hydrators
Pimcore\Bundle\StudioBackendBundle\Note\Hydrator\NoteHydratorInterface:
class: Pimcore\Bundle\StudioBackendBundle\Note\Hydrator\NoteHydrator

Pimcore\Bundle\StudioBackendBundle\Note\Extractor\NoteDataExtractorInterface:
class: Pimcore\Bundle\StudioBackendBundle\Note\Extractor\NoteDataExtractor

Pimcore\Bundle\StudioBackendBundle\Note\Repository\NoteRepositoryInterface:
class: Pimcore\Bundle\StudioBackendBundle\Note\Repository\NoteRepository

Pimcore\Bundle\StudioBackendBundle\Note\Service\NoteServiceInterface:
class: Pimcore\Bundle\StudioBackendBundle\Note\Service\NoteService

Pimcore\Bundle\StudioBackendBundle\Note\Service\FilterServiceInterface:
class: Pimcore\Bundle\StudioBackendBundle\Note\Service\FilterService
23 changes: 23 additions & 0 deletions config/properties.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
services:
_defaults:
autowire: true
autoconfigure: true
public: false

# controllers are imported separately to make sure they're public
# and have a tag that allows actions to type-hint services
Pimcore\Bundle\StudioBackendBundle\Property\Controller\:
resource: '../src/Property/Controller'
public: true
tags: [ 'controller.service_arguments' ]


Pimcore\Bundle\StudioBackendBundle\Property\Repository\PropertyRepositoryInterface:
class: Pimcore\Bundle\StudioBackendBundle\Property\Repository\PropertyRepository

Pimcore\Bundle\StudioBackendBundle\Property\Service\PropertyServiceInterface:
class: Pimcore\Bundle\StudioBackendBundle\Property\Service\PropertyService

Pimcore\Bundle\StudioBackendBundle\Property\Hydrator\PropertyHydratorInterface:
class: Pimcore\Bundle\StudioBackendBundle\Property\Hydrator\PropertyHydrator

16 changes: 8 additions & 8 deletions config/versions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ services:
public: true
tags: [ 'controller.service_arguments' ]

Pimcore\Bundle\StudioBackendBundle\Version\RepositoryInterface:
class: Pimcore\Bundle\StudioBackendBundle\Version\Repository
Pimcore\Bundle\StudioBackendBundle\Version\Repository\VersionRepositoryInterface:
class: Pimcore\Bundle\StudioBackendBundle\Version\Repository\VersionRepository

Pimcore\Bundle\StudioBackendBundle\Version\Hydrator\VersionHydratorInterface:
class: Pimcore\Bundle\StudioBackendBundle\Version\Hydrator\VersionHydrator
Expand All @@ -38,15 +38,15 @@ services:
class: Pimcore\Bundle\StudioBackendBundle\Version\Publisher\DocumentVersionPublisher

# Services
Pimcore\Bundle\StudioBackendBundle\Version\Hydrator\VersionHydratorServiceInterface:
class: Pimcore\Bundle\StudioBackendBundle\Version\Hydrator\VersionHydratorService
Pimcore\Bundle\StudioBackendBundle\Version\Service\VersionServiceInterface:
class: Pimcore\Bundle\StudioBackendBundle\Version\Service\VersionService
arguments:
$versionHydratorLocator: '@listing.version_hydrator.service_locator'
$versionPublisherLocator: '@version.element_publisher.service_locator'

Pimcore\Bundle\StudioBackendBundle\Version\Publisher\VersionPublisherServiceInterface:
class: Pimcore\Bundle\StudioBackendBundle\Version\Publisher\VersionPublisherService
Pimcore\Bundle\StudioBackendBundle\Version\Service\VersionDetailServiceInterface:
class: Pimcore\Bundle\StudioBackendBundle\Version\Service\VersionDetailService
arguments:
$versionPublisherLocator: '@version.element_publisher.service_locator'
$versionHydratorLocator: '@listing.version_hydrator.service_locator'

#Service Locator
listing.version_hydrator.service_locator:
Expand Down
Loading

0 comments on commit 7723c4a

Please sign in to comment.