-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/1.6' into 1.x
- Loading branch information
Showing
14 changed files
with
229 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
# Upgrade Notes | ||
|
||
## 1.6.0 | ||
- [General] If you want to use data-hub 1.6 and Pimcore 11, please make sure to require the `pimcore/admin-ui-classic-bundle`. | ||
- [General] If you want to use Datahub 1.6 and Pimcore 11, please make sure to require the `pimcore/admin-ui-classic-bundle`. | ||
- [Config Location] Change default directory for configurations to `var/config/data_hub` | ||
- When using Pimcore 11 configurations from `datahub-configurations.php` are no longer used. To migrate those configurations | ||
- When using Pimcore 11, configurations from `datahub-configurations.php` are no longer used. To migrate those configurations | ||
to the settings store, use the provided `datahub:configuration:migrate-legacy-config` command. | ||
- Added the ability to import and export each type of data-hub configuration. | ||
- Added the ability to import and export each type of Datahub configuration. | ||
Be sure to include the `supported_types` configuration in any custom implementation to use the import functionality! | ||
- Added possibility to disable the introspection for GraphQL via configuration tree. | ||
|
||
## 1.5.0 | ||
- When "Skip Permission Check" is active in a GraphQL configuration, the "Workspaces" settings are also skipped | ||
- It is possible to add more than one API-key per configuration now. Therefore, the API-key gets stored as an array | ||
- It is possible to add more than one API key per configuration now. Therefore, the API keys get stored as an array | ||
in the configuration. Configurations from previous versions are still supported, but they get converted to the new format | ||
as soon as they get saved. | ||
- Added "Translation Listing" and "Translation" to the Generic Types |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,22 @@ | ||
# Basic Principle | ||
|
||
Pimcore Datahub allows defining multiple endpoints that allow data delivery and consumption. These | ||
endpoints are configured via so called configurations that can be added in Pimcore admin user interface: | ||
Pimcore Datahub allows defining multiple endpoints that allow data delivery and consumption. These endpoints are configured via so called configurations that can be added in the Pimcore admin user interface: | ||
|
||
## Adding a new configuration | ||
## Adding a New Configuration | ||
|
||
Open Datahub configuration panel | ||
1. Open the Datahub configuration panel: | ||
|
||
![Configuration Overview](./img/graphql/configuration3.png) | ||
|
||
|
||
Choose endpoint technology | ||
2. Choose an endpoint technology: | ||
|
||
![Add Configuration](./img/add_config.png) | ||
|
||
And get the configuration done by defining | ||
- general settings | ||
- schema configuration | ||
- security definitions | ||
- and additional settings | ||
3. Get the configuration done by defining the followings: | ||
- General settings | ||
- Schema configuration | ||
- Security definitions | ||
- Additional settings | ||
|
||
Example for [GraphQL](./10_GraphQL/README.md) | ||
Here you can find an example for [GraphQL](./10_GraphQL/README.md). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,39 @@ | ||
# Schema Settings | ||
|
||
Schema settings define which data entities (Data Object classes, Assets, Documents) should be exposed via the endpoint. For Assets and Documents, default schemas are provided, for Data Object classes the schema can be defined in the field configuration. | ||
Schema settings define which data entities (Data Object classes, Assets, Documents) should be exposed via the endpoint. For Assets and Documents, default schemas are provided, for Data Object classes the schema can be defined in the field configuration. | ||
|
||
![Add](../../img/graphql/schema_add.png) | ||
|
||
### Field Configuration | ||
## Query Schema | ||
|
||
Define all the fields that you want to make available. In addition, you can employ a set of operators. | ||
Here you can configure which Data Objects Classes can be exposed. | ||
|
||
### Available Fields Configuration | ||
|
||
When adding a new entity with the `Add` button, you can access the `Available Fields Configuration` window with a right-click on the `Settings` icon. You can then define all the target Data Object Class fields you want to make available. | ||
|
||
In addition, you can employ a set of operators. | ||
|
||
![Schema Settings](../../img/graphql/schema.png) | ||
|
||
Please note that not all data types are supported yet! | ||
You will get a notice if you try to add an unsupported data type. | ||
You will get a notice if you try to add an unsupported data type. | ||
|
||
## Mutation Schema | ||
|
||
Here you can decide if Data Objects for the selected class can be created, updated or deleted from the endpoint. | ||
|
||
:::caution | ||
|
||
Be aware that a Data Object deleted from an endpoint will be definitively deleted of Pimcore. | ||
|
||
::: | ||
|
||
### Available Fields Configuration | ||
|
||
As for the `Query Schema` field, you can select the fields you want to expose and/or make available for changes in the `Available Fields Configuration` you can open by clicking on the `Settings` icon. | ||
|
||
## Generic Types | ||
|
||
Here you can define which data types can be created, read, updated or deleted from an endpoint. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.