Skip to content

Commit

Permalink
IBX-1853: Changed services names to FQCN or rebranded ones (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
ViniTou authored Jan 20, 2022
1 parent 1e93e2e commit 482107d
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 49 deletions.
10 changes: 5 additions & 5 deletions src/bundle/Resources/config/services/data_loaders.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ services:

Ibexa\GraphQL\DataLoader\RepositoryContentTypeLoader:
arguments:
$contentTypeService: '@ezpublish.siteaccessaware.service.content_type'
$contentTypeService: '@ibexa.siteaccessaware.service.content_type'

Ibexa\GraphQL\DataLoader\SearchContentLoader:
arguments:
$searchService: '@ezpublish.siteaccessaware.service.search'
$searchService: '@ibexa.siteaccessaware.service.search'

Ibexa\GraphQL\DataLoader\SearchLocationLoader:
arguments:
$searchService: '@ezpublish.siteaccessaware.service.search'
$locationService: '@ezpublish.siteaccessaware.service.location'
$urlAliasGenerator: '@ezpublish.urlalias_generator'
$searchService: '@ibexa.siteaccessaware.service.search'
$locationService: '@ibexa.siteaccessaware.service.location'
$urlAliasGenerator: '@Ibexa\Core\MVC\Symfony\Routing\Generator\UrlAliasGenerator'
38 changes: 19 additions & 19 deletions src/bundle/Resources/config/services/mutations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ services:
Ibexa\GraphQL\Mutation\InputHandler\FieldType\Author:
class: 'Ibexa\GraphQL\Mutation\InputHandler\FieldType\FromHash'
arguments:
$fieldType: '@ezpublish.fieldType.ezauthor'
$fieldType: '@Ibexa\Core\FieldType\Author\Type'
tags:
- { name: ibexa.graphql.field_type.input.handler, fieldtype: 'ezauthor' }

Expand All @@ -24,41 +24,41 @@ services:
Ibexa\GraphQL\Mutation\InputHandler\FieldType\Boolean:
class: 'Ibexa\GraphQL\Mutation\InputHandler\FieldType\FromHash'
arguments:
$fieldType: '@ezpublish.fieldType.ezboolean'
$fieldType: '@Ibexa\Core\FieldType\Checkbox\Type'
tags:
- { name: ibexa.graphql.field_type.input.handler, fieldtype: 'ezboolean' }

Ibexa\GraphQL\Mutation\InputHandler\FieldType\Country:
class: 'Ibexa\GraphQL\Mutation\InputHandler\FieldType\FromHash'
arguments:
$fieldType: '@ezpublish.fieldType.ezcountry'
$fieldType: '@Ibexa\Core\FieldType\Country\Type'
tags:
- { name: ibexa.graphql.field_type.input.handler, fieldtype: 'ezcountry' }

Ibexa\GraphQL\Mutation\InputHandler\FieldType\Date:
arguments:
$fieldType: '@ezpublish.fieldType.ezdate'
$fieldType: '@Ibexa\Core\FieldType\Date\Type'
tags:
- { name: ibexa.graphql.field_type.input.handler, fieldtype: 'ezdate' }

Ibexa\GraphQL\Mutation\InputHandler\FieldType\DateAndTime:
class: 'Ibexa\GraphQL\Mutation\InputHandler\FieldType\Date'
arguments:
$fieldType: '@ezpublish.fieldType.ezdatetime'
$fieldType: '@Ibexa\Core\FieldType\DateAndTime\Type'
tags:
- { name: ibexa.graphql.field_type.input.handler, fieldtype: 'ezdatetime' }

Ibexa\GraphQL\Mutation\InputHandler\FieldType\Float:
class: 'Ibexa\GraphQL\Mutation\InputHandler\FieldType\FromHash'
arguments:
$fieldType: '@ezpublish.fieldType.ezfloat'
$fieldType: '@Ibexa\Core\FieldType\Float\Type'
tags:
- { name: ibexa.graphql.field_type.input.handler, fieldtype: 'ezfloat' }

Ibexa\GraphQL\Mutation\InputHandler\FieldType\Email:
class: 'Ibexa\GraphQL\Mutation\InputHandler\FieldType\FromHash'
arguments:
$fieldType: '@ezpublish.fieldType.ezemail'
$fieldType: '@Ibexa\Core\FieldType\EmailAddress\Type'
tags:
- { name: ibexa.graphql.field_type.input.handler, fieldtype: 'ezemail' }

Expand All @@ -69,28 +69,28 @@ services:
Ibexa\GraphQL\Mutation\InputHandler\FieldType\Integer:
class: 'Ibexa\GraphQL\Mutation\InputHandler\FieldType\FromHash'
arguments:
$fieldType: '@ezpublish.fieldType.ezinteger'
$fieldType: '@Ibexa\Core\FieldType\Integer\Type'
tags:
- { name: ibexa.graphql.field_type.input.handler, fieldtype: 'ezinteger' }

Ibexa\GraphQL\Mutation\InputHandler\FieldType\ISBN:
class: 'Ibexa\GraphQL\Mutation\InputHandler\FieldType\FromHash'
arguments:
$fieldType: '@ezpublish.fieldType.ezisbn'
$fieldType: '@Ibexa\Core\FieldType\ISBN\Type'
tags:
- { name: ibexa.graphql.field_type.input.handler, fieldtype: 'ezisbn' }

Ibexa\GraphQL\Mutation\InputHandler\FieldType\Keyword:
class: 'Ibexa\GraphQL\Mutation\InputHandler\FieldType\FromHash'
arguments:
$fieldType: '@ezpublish.fieldType.ezkeyword'
$fieldType: '@Ibexa\Core\FieldType\Keyword\Type'
tags:
- { name: ibexa.graphql.field_type.input.handler, fieldtype: 'ezkeyword' }

Ibexa\GraphQL\Mutation\InputHandler\FieldType\MapLocation:
class: 'Ibexa\GraphQL\Mutation\InputHandler\FieldType\FromHash'
arguments:
$fieldType: '@ezpublish.fieldType.ezgmaplocation'
$fieldType: '@Ibexa\Core\FieldType\MapLocation\Type'
tags:
- { name: ibexa.graphql.field_type.input.handler, fieldtype: 'ezgmaplocation' }

Expand All @@ -100,13 +100,13 @@ services:

Ibexa\GraphQL\Mutation\InputHandler\FieldType\Relation:
arguments:
$fieldType: '@ezpublish.fieldType.ezobjectrelation'
$fieldType: '@Ibexa\Core\FieldType\Relation\Type'
tags:
- { name: ibexa.graphql.field_type.input.handler, fieldtype: 'ezobjectrelation' }

Ibexa\GraphQL\Mutation\InputHandler\FieldType\RelationList:
arguments:
$fieldType: '@ezpublish.fieldType.ezobjectrelationlist'
$fieldType: '@Ibexa\Core\FieldType\RelationList\Type'
tags:
- { name: ibexa.graphql.field_type.input.handler, fieldtype: 'ezobjectrelationlist' }

Expand All @@ -120,40 +120,40 @@ services:

Ibexa\GraphQL\Mutation\InputHandler\FieldType\RichText\HtmlRichTextConverter:
arguments:
$xhtml5Converter: '@ezrichtext.converter.input.xhtml5'
$xhtml5Converter: '@ibexa.richtext.converter.input.xhtml5'
tags:
- { name: ibexa.graphql.richtext.input.converter, format: html }

Ibexa\GraphQL\Mutation\InputHandler\FieldType\RichText\MarkdownRichTextConverter:
arguments:
$xhtml5Converter: '@ezrichtext.converter.input.xhtml5'
$xhtml5Converter: '@ibexa.richtext.converter.input.xhtml5'
tags:
- { name: ibexa.graphql.richtext.input.converter, format: markdown }

Ibexa\GraphQL\Mutation\InputHandler\FieldType\Selection:
class: 'Ibexa\GraphQL\Mutation\InputHandler\FieldType\FromHash'
arguments:
$fieldType: '@ezpublish.fieldType.ezselection'
$fieldType: '@Ibexa\Core\FieldType\Selection\Type'
tags:
- { name: ibexa.graphql.field_type.input.handler, fieldtype: 'ezselection' }

Ibexa\GraphQL\Mutation\InputHandler\FieldType\TextBlock:
class: 'Ibexa\GraphQL\Mutation\InputHandler\FieldType\FromHash'
arguments:
$fieldType: '@ezpublish.fieldType.eztext'
$fieldType: '@Ibexa\Core\FieldType\TextBlock\Type'
tags:
- { name: ibexa.graphql.field_type.input.handler, fieldtype: 'eztext' }

Ibexa\GraphQL\Mutation\InputHandler\FieldType\TextLine:
class: 'Ibexa\GraphQL\Mutation\InputHandler\FieldType\FromHash'
arguments:
$fieldType: '@ezpublish.fieldType.ezstring'
$fieldType: '@Ibexa\Core\FieldType\TextLine\Type'
tags:
- { name: ibexa.graphql.field_type.input.handler, fieldtype: 'ezstring' }

Ibexa\GraphQL\Mutation\InputHandler\FieldType\Url:
class: 'Ibexa\GraphQL\Mutation\InputHandler\FieldType\FromHash'
arguments:
$fieldType: '@ezpublish.fieldType.ezurl'
$fieldType: '@Ibexa\Core\FieldType\Url\Type'
tags:
- { name: ibexa.graphql.field_type.input.handler, fieldtype: 'ezurl' }
42 changes: 21 additions & 21 deletions src/bundle/Resources/config/services/resolvers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ services:
- { name: overblog_graphql.resolver, alias: "LocationChildren", method: "resolveLocationChildren" }
- { name: overblog_graphql.resolver, alias: "LocationsByContentId", method: "resolveLocationsByContentId" }
arguments:
$locationService: '@ezpublish.siteaccessaware.service.location'
$contentService: '@ezpublish.siteaccessaware.service.content'
$locationService: '@ibexa.siteaccessaware.service.location'
$contentService: '@ibexa.siteaccessaware.service.content'

Ibexa\GraphQL\Resolver\ContentResolver:
tags:
Expand All @@ -25,9 +25,9 @@ services:
- { name: overblog_graphql.resolver, alias: "ContentReverseRelations", method: "findContentReverseRelations" }
- { name: overblog_graphql.resolver, alias: "CurrentVersion", method: "resolveCurrentVersion" }
arguments:
$contentService: '@ezpublish.siteaccessaware.service.content'
$searchService: '@ezpublish.siteaccessaware.service.search'
$contentTypeService: '@ezpublish.siteaccessaware.service.content_type'
$contentService: '@ibexa.siteaccessaware.service.content'
$searchService: '@ibexa.siteaccessaware.service.search'
$contentTypeService: '@ibexa.siteaccessaware.service.content_type'

Ibexa\GraphQL\Resolver\DomainContentResolver:
tags:
Expand All @@ -38,7 +38,7 @@ services:
- { name: overblog_graphql.resolver, alias: "DomainRelationFieldValue", method: "resolveDomainRelationFieldValue" }
- { name: overblog_graphql.resolver, alias: "MainUrlAlias", method: "resolveMainUrlAlias" }
arguments:
$repository: "@ezpublish.siteaccessaware.repository"
$repository: '@ibexa.siteaccessaware.repository'

Ibexa\GraphQL\Resolver\ItemResolver:
tags:
Expand All @@ -60,13 +60,13 @@ services:

Ibexa\GraphQL\Mutation\Authentication:
arguments:
$authenticator: '@?ezpublish_rest.session_authenticator'
$authenticator: '@?ibexa.rest.session_authenticator'
tags:
- { name: overblog_graphql.mutation, alias: "CreateToken", method: "createToken" }

Ibexa\GraphQL\Mutation\UploadFiles:
arguments:
$repository: '@ezpublish.siteaccessaware.repository'
$repository: '@ibexa.siteaccessaware.repository'
tags:
- { name: overblog_graphql.mutation, alias: "UploadFiles", method: "uploadFiles" }

Expand All @@ -87,7 +87,7 @@ services:
- { name: overblog_graphql.resolver, alias: "ContentTypesFromGroup", method: "resolveContentTypesFromGroup" }
- { name: overblog_graphql.resolver, alias: "ContentTypeGroupByIdentifier", method: "resolveContentTypeGroupByIdentifier" }
arguments:
$contentTypeService: '@ezpublish.siteaccessaware.service.content_type'
$contentTypeService: '@ibexa.siteaccessaware.service.content_type'

Ibexa\GraphQL\Resolver\FieldDefinitionResolver:
tags:
Expand All @@ -99,7 +99,7 @@ services:
tags:
- { name: overblog_graphql.resolver, alias: "SectionById", method: "resolveSectionById" }
arguments:
$sectionService: '@ezpublish.siteaccessaware.service.section'
$sectionService: '@ibexa.siteaccessaware.service.section'

Ibexa\GraphQL\Resolver\UrlAliasResolver:
tags:
Expand All @@ -108,32 +108,32 @@ services:
- { name: overblog_graphql.resolver, alias: "LocationUrlAlias", method: "resolveLocationUrlAlias" }
- { name: overblog_graphql.resolver, alias: "ItemUrlAlias", method: "resolveItemUrlAlias" }
arguments:
$urlAliasService: '@ezpublish.siteaccessaware.service.url_alias'
$urlGenerator: '@ezpublish.urlalias_generator'
$siteAccessService: '@ezpublish.siteaccess_service'
$urlAliasService: '@ibexa.siteaccessaware.service.url_alias'
$urlGenerator: '@Ibexa\Core\MVC\Symfony\Routing\Generator\UrlAliasGenerator'
$siteAccessService: '@Ibexa\Core\MVC\Symfony\SiteAccess\SiteAccessService'

Ibexa\GraphQL\Resolver\SearchResolver:
tags:
- { name: overblog_graphql.resolver, alias: "SearchContent", method: "searchContent" }
- { name: overblog_graphql.resolver, alias: "SearchContentOfTypeAsConnection", method: "searchContentOfTypeAsConnection" }
- { name: overblog_graphql.resolver, alias: "SearchLocationsOfTypeAsConnection", method: "searchLocationsOfTypeAsConnection" }
arguments:
$searchService: '@ezpublish.siteaccessaware.service.search'
$searchService: '@ibexa.siteaccessaware.service.search'

Ibexa\GraphQL\Resolver\RichTextResolver:
arguments:
- "@ezrichtext.converter.output.xhtml5"
- "@ezrichtext.converter.edit.xhtml5"
- '@ibexa.richtext.converter.output.xhtml5'
- '@Ibexa\FieldTypeRichText\RichText\Converter\Html5Edit'
tags:
- { name: overblog_graphql.resolver, alias: "RichTextXmlToHtml5", method: "xmlToHtml5" }
- { name: overblog_graphql.resolver, alias: "RichTextXmlToHtml5Edit", method: "xmlToHtml5Edit" }
- { name: overblog_graphql.resolver, alias: "RichTextXmlToPlainText", method: "xmlToplainText" }

Ibexa\GraphQL\Resolver\ImageFieldResolver:
arguments:
$imageFieldType: "@ezpublish.fieldType.ezimage"
$variationHandler: "@ezpublish.fieldType.ezimage.variation_service"
$contentService: "@ezpublish.siteaccessaware.service.content"
$imageFieldType: '@Ibexa\Core\FieldType\Image\Type'
$variationHandler: '@ibexa.field_type.ezimage.variation_service'
$contentService: '@ibexa.siteaccessaware.service.content'
tags:
- { name: overblog_graphql.resolver, alias: "ImageVariations", method: "resolveImageVariations" }
- { name: overblog_graphql.resolver, alias: "ImageVariation", method: "resolveImageVariation" }
Expand Down Expand Up @@ -165,14 +165,14 @@ services:

Ibexa\GraphQL\Resolver\ObjectStateGroupResolver:
arguments:
$objectStateService: '@ezpublish.siteaccessaware.service.object_state'
$objectStateService: '@ibexa.siteaccessaware.service.object_state'
tags:
- {name: overblog_graphql.resolver, alias: "ObjectStateGroupById", method: "resolveObjectStateGroupById"}
- {name: overblog_graphql.resolver, alias: "ObjectStateGroups", method: "resolveObjectStateGroups"}

Ibexa\GraphQL\Resolver\ObjectStateResolver:
arguments:
$objectStateService: '@ezpublish.siteaccessaware.service.object_state'
$objectStateService: '@ibexa.siteaccessaware.service.object_state'
tags:
- {name: overblog_graphql.resolver, alias: "ObjectStateById", method: "resolveObjectStateById"}
- {name: overblog_graphql.resolver, alias: "ObjectStateByContentInfo", method: "resolveObjectStateByContentInfo"}
Expand Down
2 changes: 1 addition & 1 deletion src/bundle/Resources/config/services/schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ services:
Ibexa\GraphQL\Schema\Domain\Content\Mapper\FieldDefinition\RelationFieldDefinitionMapper:
decorates: Ibexa\Contracts\GraphQL\Schema\Domain\Content\Mapper\FieldDefinition\FieldDefinitionMapper
arguments:
$contentTypeService: '@ezpublish.siteaccessaware.service.content_type'
$contentTypeService: '@ibexa.siteaccessaware.service.content_type'
$innerMapper: '@Ibexa\GraphQL\Schema\Domain\Content\Mapper\FieldDefinition\RelationFieldDefinitionMapper.inner'

Ibexa\GraphQL\Schema\Domain\Content\Mapper\FieldDefinition\SelectionFieldDefinitionMapper:
Expand Down
6 changes: 3 additions & 3 deletions src/bundle/Resources/config/services/services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ services:

Ibexa\GraphQL\Resolver\SiteaccessGuesser\SiteaccessGuesser:
arguments:
$siteAccessService: '@ezpublish.siteaccess_service'
$configResolver: '@ezpublish.config.resolver'
$provider: '@ezpublish.siteaccess.provider'
$siteAccessService: '@Ibexa\Core\MVC\Symfony\SiteAccess\SiteAccessService'
$configResolver: '@ibexa.config.resolver'
$provider: '@ibexa.siteaccess.provider'
$siteAccessGroups: '%ezpublish.siteaccess.groups%'

Ibexa\GraphQL\Schema\Domain\Content\NameHelper:
Expand Down

0 comments on commit 482107d

Please sign in to comment.