From 3d11999b9b901ea464028c374f2a1e3500066109 Mon Sep 17 00:00:00 2001 From: Patricia Martinez <32088627+patricia-martinez-imatia@users.noreply.github.com> Date: Mon, 18 Aug 2025 09:25:20 +0200 Subject: [PATCH 1/3] Updated latest versions (#680) --- docs/aditional-information/52-versions.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/docs/aditional-information/52-versions.md b/docs/aditional-information/52-versions.md index f21597022..7d68962fb 100644 --- a/docs/aditional-information/52-versions.md +++ b/docs/aditional-information/52-versions.md @@ -28,14 +28,21 @@ In this section you can check the different releases of **OntimizeWeb** and its + + 15.6.0 + 15.1.0 + 15.0.1
15.0.0 + 15.2.0 + 15.1.2
15.1.1
15.1.0
15.0.0 + 15.1.0 + 15.1.1
15.1.0
15.0.0 + 15.5.8 15.0.0 - 15.0.1
15.0.0 15.1.6
15.1.5
15.1.4
15.1.3
15.1.2
15.1.1
15.1.0
15.0.1
15.0.0 - 15.1.2
15.1.1
15.1.0
15.0.0 15.0.4
15.0.3
15.0.2
15.0.1
15.0.0 - 15.1.1
15.1.0
15.0.0 + 15.5.7 From b8c0a808782686b5b7a2b8e92b39f23cb5ea05fa Mon Sep 17 00:00:00 2001 From: Patricia Martinez <32088627+patricia-martinez-imatia@users.noreply.github.com> Date: Mon, 18 Aug 2025 09:25:43 +0200 Subject: [PATCH 2/3] Migration Guide: Upgrading from 15.x.x to 15.6.0 (#679) * Migration Guide: Upgrading from 15.x.x to 15.6.0 * Updated migration to 15.6.0 --- _data/menu_descriptions.yml | 2 +- docs/aditional-information/19-migrations.md | 4 +- .../20-migrations-to-15.6.0.md | 97 +++++++++++++++++++ docs/aditional-information/migration-page.md | 3 +- 4 files changed, 103 insertions(+), 3 deletions(-) create mode 100644 docs/aditional-information/20-migrations-to-15.6.0.md diff --git a/_data/menu_descriptions.yml b/_data/menu_descriptions.yml index 6dc272541..8c8e09c92 100644 --- a/_data/menu_descriptions.yml +++ b/_data/menu_descriptions.yml @@ -347,7 +347,7 @@ sections: description: "Section that resolves common questions about Ontimize Web" - url: "/versions/" title: "Releases" - description: "Tables of all the Onitimze Web releases and its compatibilities" + description: "Tables of all the Ontimize Web releases and its compatibilities" - url: "/migrations/" title: "Migration guides" description: "Download page of our version migration guides" diff --git a/docs/aditional-information/19-migrations.md b/docs/aditional-information/19-migrations.md index dc3178448..c166fc492 100644 --- a/docs/aditional-information/19-migrations.md +++ b/docs/aditional-information/19-migrations.md @@ -1,7 +1,9 @@ --- layout: default -title: "Migration guides" +title: "Migration guide to version 15" permalink: /migration-8-to-15/ +parent: Migration guides +grandParent: Aditional information nav_exclude: true --- {% include base_path %} diff --git a/docs/aditional-information/20-migrations-to-15.6.0.md b/docs/aditional-information/20-migrations-to-15.6.0.md new file mode 100644 index 000000000..e8f482b40 --- /dev/null +++ b/docs/aditional-information/20-migrations-to-15.6.0.md @@ -0,0 +1,97 @@ +--- +layout: default +title: "Migration Guide: Upgrading from 15.x.x to 15.6.0" +permalink: /migration-15.x.x-to-15.6.0/ +parent: Migration guides +grandParent: Aditional information +nav_exclude: true +--- +{% include base_path %} +{% include toc %} + +## **Proceso de Migración de Ontimize Web 15.x.x a la versión 15.6.0** + +Este proceso cubre **exclusivamente los cambios incompatibles** (*breaking changes*) introducidos en la versión 15.6.0 de Ontimize Web. Úsalo para asegurar una migración completa y segura. + +**Importante:** Al migrar a `ontimize-web-ngx@15.6.0`, los siguientes addons oficiales **también deben actualizarse** para mantener la compatibilidad: + - `ontimize-web-ngx-chart@15.1.0` + - `ontimize-web-ngx-report@15.2.0` + - `ontimize-web-ngx-filemanager@15.1.0` + + +### 1. Cambio de tipo en `servicesConfiguration` en app.config.ts + +* Cambiar la declaración de: + + ```ts + servicesConfiguration?: Object; + ``` + + a: + + ```ts + servicesConfiguration?: OntimizeServiceConfig | JSONAPIServiceConfig; + ``` +* Importar `OntimizeServiceConfig` o `JSONAPIServiceConfig` desde `ontimize-web-ngx`. +* Incluir el tipo de servicio explícitamente si es necesario: + + +### 2. Reemplazo de `OntimizeBaseService` + +* Buscar todas las clases que extienden `OntimizeBaseService` y reemplazarlas por uno de los siguientes servicios, según el caso: + - `OntimizeService` (uso estándar) + - `OntimizeEEService` (para Enterprise Edition) + - `JSONApiService` (para backends JSON:API) + +* Verificar que el constructor use `super(injector)`. + + +### 3. Cambio en el método `getQueryArguments` + +* Actualizar la firma en llamadas al método: + + * `ovrrArgs` ahora es de tipo `OQueryDataArgs`. + * El método ahora devuelve un `OQueryParams`, no un `any[]`. + +* Antes: + +```ts +getQueryArguments(filter: object, ovrrArgs?: any): any[] +``` + +* Después: + +```ts +getQueryArguments(filter: object, ovrrArgs?: OQueryDataArgs): OQueryParams +``` + +### 4. Cambio de nombre OntimizeQueryArgumentsAdapter + +* Renombrar `OntimizeQueryArgumentsAdapter` por `OntimizeRequestArgumentsAdapter` + +### 5. Cambio de interfaz en adaptadores de respuesta + +* Buscar clases que implementan `ServiceResponseAdapter`. + * Reemplazar por `IServiceResponseAdapter`. + * Verificar que implementen el método `adaptResponse()` correctamente. + +* Antes: + +```ts +export class MyAdapter implements ServiceResponseAdapter { + adaptResponse(resp: any): BaseServiceResponse { ... } +} +``` + +* Después: + +```ts +export class MyAdapter implements IServiceResponseAdapter { + adaptResponse(resp: any): BaseServiceResponse { ... } +} +``` + + + + + diff --git a/docs/aditional-information/migration-page.md b/docs/aditional-information/migration-page.md index d7c6f8227..8257ad742 100644 --- a/docs/aditional-information/migration-page.md +++ b/docs/aditional-information/migration-page.md @@ -12,4 +12,5 @@ nav_order: 3 In this page you can view migration guides for specific versions where additional steps are need. -* Migration guide from ontimize web 8 to ontimize web 15 \ No newline at end of file +* Migration guide from ontimize web 8 to ontimize web 15 +* Migration guide from ontimize web 15.x.x to ontimize web 15.6.0 \ No newline at end of file From a4a7250fc8be79d66fca422d7be62ecc5edc99d5 Mon Sep 17 00:00:00 2001 From: Patricia Martinez <32088627+patricia-martinez-imatia@users.noreply.github.com> Date: Mon, 18 Aug 2025 10:05:37 +0200 Subject: [PATCH 3/3] Updating doc with JSON:API adapters (#671) * Updating doc with JSON:API adapters * Added nameConvention * New input configure-service-args * Updated breaking change about type SERVICE_CONFIG * Updated gemfile * Added new section jsonapi services * Updated injection token information * Updated service section * Updated ruby version to 3.2 --- .github/workflows/ci.yml | 2 +- Gemfile.lock | 128 ++++- _data/components/common/attributes.yml | 11 +- _data/components/form.yml | 3 +- _data/components/grid.yml | 2 +- _data/components/list.yml | 2 +- _data/components/ocomboData/00combo.yml | 2 +- .../olistpickerData/00listPicker.yml | 2 +- _data/components/otableData/00table.yml | 2 +- .../09tableColumnRendererService.yml | 2 + _data/components/overviewService.yml | 2 + _data/components/overviewchart.yml | 2 +- _data/components/radio.yml | 2 +- _data/components/service.yml | 2 +- _data/components/serviceBase.yml | 2 + _data/menu_descriptions.yml | 8 + _includes/nav_cards.html | 2 - ...napi_service_request_example_response.json | 128 +++++ assets/images/jsonapi-request.png | Bin 0 -> 16997 bytes assets/images/jsonapi-response.png | Bin 0 -> 53340 bytes assets/images/menus/services/jsonapi.svg | 1 + assets/images/menus/services/jsonapi_dark.svg | 9 + assets/images/menus/services/ontimize.svg | 6 + .../images/menus/services/ontimize_dark.svg | 6 + .../components/jsonapi.md | 37 ++ .../components/report-store.md | 34 +- docs/guide/10-structure.md | 2 +- docs/guide/11-app-config.md | 32 +- docs/guide/15-service.md | 494 ++++++++++-------- docs/guide/services/15d-ontimize.md | 159 ++++++ docs/guide/services/15e-jsonapi.md | 389 ++++++++++++++ 31 files changed, 1205 insertions(+), 268 deletions(-) create mode 100644 assets/examples/jsonapi_service_request_example_response.json create mode 100644 assets/images/jsonapi-request.png create mode 100644 assets/images/jsonapi-response.png create mode 100644 assets/images/menus/services/jsonapi.svg create mode 100644 assets/images/menus/services/jsonapi_dark.svg create mode 100644 assets/images/menus/services/ontimize.svg create mode 100644 assets/images/menus/services/ontimize_dark.svg create mode 100644 docs/addons/ontimize_web_ngx_report/components/jsonapi.md create mode 100644 docs/guide/services/15d-ontimize.md create mode 100644 docs/guide/services/15e-jsonapi.md diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a7b5e9b64..bdf987edc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: - name: Setup Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: '3.1' # Not needed with a .ruby-version file + ruby-version: '3.2' # Not needed with a .ruby-version file bundler-cache: true # runs 'bundle install' and caches installed gems automatically cache-version: 0 # Increment this number if you need to re-download cached gems - name: Build with Jekyll diff --git a/Gemfile.lock b/Gemfile.lock index 2b5f3c5f4..6b14d89c7 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,21 +1,58 @@ GEM remote: https://rubygems.org/ specs: - addressable (2.8.6) - public_suffix (>= 2.0.2, < 6.0) + addressable (2.8.7) + public_suffix (>= 2.0.2, < 7.0) + bigdecimal (3.2.2) colorator (1.1.0) - concurrent-ruby (1.2.3) + concurrent-ruby (1.3.5) em-websocket (0.5.3) eventmachine (>= 0.12.9) http_parser.rb (~> 0) eventmachine (1.2.7) - ffi (1.16.3) + ffi (1.17.2) + ffi (1.17.2-aarch64-linux-gnu) + ffi (1.17.2-aarch64-linux-musl) + ffi (1.17.2-arm-linux-gnu) + ffi (1.17.2-arm-linux-musl) + ffi (1.17.2-arm64-darwin) + ffi (1.17.2-x86-linux-gnu) + ffi (1.17.2-x86-linux-musl) + ffi (1.17.2-x86_64-darwin) + ffi (1.17.2-x86_64-linux-gnu) + ffi (1.17.2-x86_64-linux-musl) forwardable-extended (2.6.0) - google-protobuf (3.25.3-x86_64-linux) + google-protobuf (4.31.1) + bigdecimal + rake (>= 13) + google-protobuf (4.31.1-aarch64-linux-gnu) + bigdecimal + rake (>= 13) + google-protobuf (4.31.1-aarch64-linux-musl) + bigdecimal + rake (>= 13) + google-protobuf (4.31.1-arm64-darwin) + bigdecimal + rake (>= 13) + google-protobuf (4.31.1-x86-linux-gnu) + bigdecimal + rake (>= 13) + google-protobuf (4.31.1-x86-linux-musl) + bigdecimal + rake (>= 13) + google-protobuf (4.31.1-x86_64-darwin) + bigdecimal + rake (>= 13) + google-protobuf (4.31.1-x86_64-linux-gnu) + bigdecimal + rake (>= 13) + google-protobuf (4.31.1-x86_64-linux-musl) + bigdecimal + rake (>= 13) http_parser.rb (0.8.0) - i18n (1.14.4) + i18n (1.14.7) concurrent-ruby (~> 1.0) - jekyll (4.3.3) + jekyll (4.3.4) addressable (~> 2.4) colorator (~> 1.0) em-websocket (~> 0.5) @@ -33,8 +70,8 @@ GEM webrick (~> 1.7) jekyll-include-cache (0.2.1) jekyll (>= 3.7, < 5.0) - jekyll-sass-converter (3.0.0) - sass-embedded (~> 1.54) + jekyll-sass-converter (3.1.0) + sass-embedded (~> 1.75) jekyll-seo-tag (2.8.0) jekyll (>= 3.8, < 5.0) jekyll-watch (2.2.1) @@ -44,8 +81,8 @@ GEM jekyll-include-cache jekyll-seo-tag (>= 2.0) rake (>= 12.3.1) - kramdown (2.4.0) - rexml + kramdown (2.5.1) + rexml (>= 3.3.9) kramdown-parser-gfm (1.1.0) kramdown (~> 2.0) liquid (4.0.4) @@ -55,27 +92,74 @@ GEM mercenary (0.4.0) pathutil (0.16.2) forwardable-extended (~> 2.6) - public_suffix (5.0.5) - rake (13.2.1) + public_suffix (6.0.2) + rake (13.3.0) rb-fsevent (0.11.2) - rb-inotify (0.10.1) + rb-inotify (0.11.1) ffi (~> 1.0) - rexml (3.2.6) - rouge (4.2.1) + rexml (3.4.1) + rouge (4.5.2) safe_yaml (1.0.5) - sass-embedded (1.63.6-x86_64-linux-gnu) - google-protobuf (~> 3.23) + sass-embedded (1.89.2) + google-protobuf (~> 4.31) + rake (>= 13) + sass-embedded (1.89.2-aarch64-linux-android) + google-protobuf (~> 4.31) + sass-embedded (1.89.2-aarch64-linux-gnu) + google-protobuf (~> 4.31) + sass-embedded (1.89.2-aarch64-linux-musl) + google-protobuf (~> 4.31) + sass-embedded (1.89.2-arm-linux-androideabi) + google-protobuf (~> 4.31) + sass-embedded (1.89.2-arm-linux-gnueabihf) + google-protobuf (~> 4.31) + sass-embedded (1.89.2-arm-linux-musleabihf) + google-protobuf (~> 4.31) + sass-embedded (1.89.2-arm64-darwin) + google-protobuf (~> 4.31) + sass-embedded (1.89.2-riscv64-linux-android) + google-protobuf (~> 4.31) + sass-embedded (1.89.2-riscv64-linux-gnu) + google-protobuf (~> 4.31) + sass-embedded (1.89.2-riscv64-linux-musl) + google-protobuf (~> 4.31) + sass-embedded (1.89.2-x86_64-darwin) + google-protobuf (~> 4.31) + sass-embedded (1.89.2-x86_64-linux-android) + google-protobuf (~> 4.31) + sass-embedded (1.89.2-x86_64-linux-gnu) + google-protobuf (~> 4.31) + sass-embedded (1.89.2-x86_64-linux-musl) + google-protobuf (~> 4.31) terminal-table (3.0.2) unicode-display_width (>= 1.1.1, < 3) - unicode-display_width (2.5.0) - webrick (1.8.1) + unicode-display_width (2.6.0) + webrick (1.9.1) PLATFORMS - x86_64-linux + aarch64-linux-android + aarch64-linux-gnu + aarch64-linux-musl + arm-linux-androideabi + arm-linux-gnu + arm-linux-gnueabihf + arm-linux-musl + arm-linux-musleabihf + arm64-darwin + riscv64-linux-android + riscv64-linux-gnu + riscv64-linux-musl + ruby + x86-linux-gnu + x86-linux-musl + x86_64-darwin + x86_64-linux-android + x86_64-linux-gnu + x86_64-linux-musl DEPENDENCIES jekyll (~> 4.3.3) just-the-docs (= 0.8.2) BUNDLED WITH - 2.4.20 + 2.6.9 diff --git a/_data/components/common/attributes.yml b/_data/components/common/attributes.yml index 8fc45faad..68c15e189 100644 --- a/_data/components/common/attributes.yml +++ b/_data/components/common/attributes.yml @@ -465,5 +465,14 @@ default: "[10, 25, 50, 100]", required: "", description: "Page size options separated by ';'." - } + }, + "configure-service-args": { + name: "configure-service-args", + type: "OConfigureServiceArgs", + since: "15.6.0", + default: "no", + required: "", + description: "Allows configure service" + } + } diff --git a/_data/components/form.yml b/_data/components/form.yml index c386946e5..f40a197b1 100644 --- a/_data/components/form.yml +++ b/_data/components/form.yml @@ -185,7 +185,8 @@ attributes: [ type: "(data: any) => OFormValidation", since: "15.4.2", description: "Executes the before-save validation callback for insert and update operations." - +},{ + name: "configure-service-args" }] outputs: [{ diff --git a/_data/components/grid.yml b/_data/components/grid.yml index 758410447..faa0eb343 100644 --- a/_data/components/grid.yml +++ b/_data/components/grid.yml @@ -6,7 +6,7 @@ apiTitle: "OGridComponent" inheritedAttributes: [{ component: "OServiceBaseComponent", path: "components/service/service-base/api", - attributes: ["attr", "service", "service-type", "entity", "query-on-init", "query-fallback-function", "query-on-bind", "pageable", "columns", "keys", "parent-keys", "static-data", "query-method", "paginated-query-method", "query-rows", "store-state", "query-with-null-parent-keys"] + attributes: ["attr", "service", "service-type", "entity", "query-on-init", "query-fallback-function", "query-on-bind", "pageable", "columns", "keys", "parent-keys", "static-data", "query-method", "paginated-query-method", "query-rows", "store-state", "query-with-null-parent-keys", "configure-service-args"] },{ component: "OServiceComponent", path: "components/service/service/api", diff --git a/_data/components/list.yml b/_data/components/list.yml index ceafb6b86..768826842 100644 --- a/_data/components/list.yml +++ b/_data/components/list.yml @@ -5,7 +5,7 @@ apiTitle: "OListComponent" inheritedAttributes: [{ component: "OServiceBaseComponent", path: "components/service/service-base/api", - attributes: ["attr", "service", "service-type", "entity","query-fallback-function", "query-on-init", "query-on-bind", "pageable", "columns", "keys", "parent-keys", "static-data", "query-method", "paginated-query-method", "query-rows", "insert-method", "update-method", "delete-method", "store-state", "query-with-null-parent-keys"] + attributes: ["attr", "service", "service-type", "entity","query-fallback-function", "query-on-init", "query-on-bind", "pageable", "columns", "keys", "parent-keys", "static-data", "query-method", "paginated-query-method", "query-rows", "insert-method", "update-method", "delete-method", "store-state", "query-with-null-parent-keys", "configure-service-args"] },{ component: "OServiceComponent", path: "components/service/service/api", diff --git a/_data/components/ocomboData/00combo.yml b/_data/components/ocomboData/00combo.yml index e59e09853..3bb86ab7b 100644 --- a/_data/components/ocomboData/00combo.yml +++ b/_data/components/ocomboData/00combo.yml @@ -7,7 +7,7 @@ inheritedAttributes: [{ },{ component: "OFormServiceComponent", path: "components/input/overviewservice/api", - attributes: ["static-data", "entity", "service", "columns", "value-column", "value-column-type", "parent-keys", "description-columns", "separator", "query-on-init", "query-on-bind", "query-on-event", "query-method", "service-type", "query-with-null-parent-keys", "set-value-on-value-change", "translate", "sort"] + attributes: ["static-data", "entity", "service", "columns", "value-column", "value-column-type", "parent-keys", "description-columns", "separator", "query-on-init", "query-on-bind", "query-on-event", "query-method", "service-type", "query-with-null-parent-keys", "set-value-on-value-change", "translate", "sort", "configure-service-args"] }] inheritedOutputs: [{ diff --git a/_data/components/olistpickerData/00listPicker.yml b/_data/components/olistpickerData/00listPicker.yml index 82ce273cd..9cd1e8a93 100644 --- a/_data/components/olistpickerData/00listPicker.yml +++ b/_data/components/olistpickerData/00listPicker.yml @@ -7,7 +7,7 @@ inheritedAttributes: [{ },{ component: "OFormServiceComponent", path: "components/input/overviewservice/api", - attributes: ["static-data", "entity", "service", "columns", "value-column", "value-column-type", "parent-keys", "description-columns", "separator", "query-on-init", "query-on-bind", "query-on-event", "query-method", "service-type", "query-with-null-parent-keys", "set-value-on-value-change", "translate", "sort"] + attributes: ["static-data", "entity", "service", "columns", "value-column", "value-column-type", "parent-keys", "description-columns", "separator", "query-on-init", "query-on-bind", "query-on-event", "query-method", "service-type", "query-with-null-parent-keys", "set-value-on-value-change", "translate", "sort", "configure-service-args"] }] attributes: [{ diff --git a/_data/components/otableData/00table.yml b/_data/components/otableData/00table.yml index 6a12ac583..bd7fa1c0f 100644 --- a/_data/components/otableData/00table.yml +++ b/_data/components/otableData/00table.yml @@ -5,7 +5,7 @@ directive: "o-table" inheritedAttributes: [{ component: "OServiceBaseComponent", path: "components/service/service-base/api", - attributes: ["attr", "service", "service-type", "entity", "query-fallback-function", "query-on-init", "query-on-bind", "pageable", "columns", "keys *", "parent-keys", "static-data", "query-method", "paginated-query-method", "query-rows", "insert-method", "update-method", "delete-method", "store-state", "query-with-null-parent-keys"] + attributes: ["attr", "service", "service-type", "entity", "query-fallback-function", "query-on-init", "query-on-bind", "pageable", "columns", "keys *", "parent-keys", "static-data", "query-method", "paginated-query-method", "query-rows", "insert-method", "update-method", "delete-method", "store-state", "query-with-null-parent-keys", "configure-service-args"] },{ component: "OServiceComponent", path: "components/service/service/api", diff --git a/_data/components/otableData/renderers/09tableColumnRendererService.yml b/_data/components/otableData/renderers/09tableColumnRendererService.yml index 08f2a0bdc..0769fa160 100644 --- a/_data/components/otableData/renderers/09tableColumnRendererService.yml +++ b/_data/components/otableData/renderers/09tableColumnRendererService.yml @@ -22,6 +22,8 @@ attributes: [{ name: "query-method" },{ name: "service-type" +},{ + name: "configure-service-args" }] inherit_properties: [{ diff --git a/_data/components/overviewService.yml b/_data/components/overviewService.yml index 1ba0bd127..75159bfef 100644 --- a/_data/components/overviewService.yml +++ b/_data/components/overviewService.yml @@ -79,6 +79,8 @@ attributes: [{ default: "", required: "", description: "Indicates the order ascending or descending of the option values" +},{ + name: "configure-service-args" }] outputs: [{ diff --git a/_data/components/overviewchart.yml b/_data/components/overviewchart.yml index 07e257e0e..5cf40ef63 100644 --- a/_data/components/overviewchart.yml +++ b/_data/components/overviewchart.yml @@ -5,7 +5,7 @@ apiTitle: "OChartComponent" inheritedAttributes: [{ component: "OServiceBaseComponent", path: "components/service/service-base/api", - attributes: ["attr", "service", "service-type", "entity", "query-fallback-function", "query-on-init", "query-on-bind", "pageable", "columns", "keys", "parent-keys", "static-data", "query-method", "query-rows", "store-state", "query-with-null-parent-keys"] + attributes: ["attr", "service", "service-type", "entity", "query-fallback-function", "query-on-init", "query-on-bind", "pageable", "columns", "keys", "parent-keys", "static-data", "query-method", "query-rows", "store-state", "query-with-null-parent-keys", "configure-service-args"] }] attributes: [{ diff --git a/_data/components/radio.yml b/_data/components/radio.yml index afe9f8c95..2dcad1e32 100644 --- a/_data/components/radio.yml +++ b/_data/components/radio.yml @@ -9,7 +9,7 @@ inheritedAttributes: [{ },{ component: "OFormServiceComponent", path: "components/input/overviewservice/api", - attributes: ["static-data", "entity", "service", "columns", "value-column", "value-column-type", "parent-keys", "visible-columns", "separator", "query-on-init", "query-on-bind", "query-on-event", "query-method", "service-type", "query-with-null-parent-keys", "set-value-on-value-change", "translate", "sort"] + attributes: ["static-data", "entity", "service", "columns", "value-column", "value-column-type", "parent-keys", "visible-columns", "separator", "query-on-init", "query-on-bind", "query-on-event", "query-method", "service-type", "query-with-null-parent-keys", "set-value-on-value-change", "translate", "sort", "configure-service-args"] }] inheritedOutputs: [{ diff --git a/_data/components/service.yml b/_data/components/service.yml index 1afa5b450..42021a388 100644 --- a/_data/components/service.yml +++ b/_data/components/service.yml @@ -5,7 +5,7 @@ propertiesColumns: ["Name", "Type", "Required", "Description"] inheritedAttributes: [{ component: "OServiceBaseComponent", path: "components/service/service-base/api", - attributes: ["attr", "static-data", "service", "service-type","query-fallback-function", "query-method", "entity", "keys", "parent-keys", "columns", "query-on-init", "query-on-bind", "query-rows", "insert-method", "update-method", "paginated-query-method", "delete-method", "pageable", "store-state", "query-with-null-parent-keys"] + attributes: ["attr", "static-data", "service", "service-type","query-fallback-function", "query-method", "entity", "keys", "parent-keys", "columns", "query-on-init", "query-on-bind", "query-rows", "insert-method", "update-method", "paginated-query-method", "delete-method", "pageable", "store-state", "query-with-null-parent-keys", "configure-service-args"] }] attributes: [{ diff --git a/_data/components/serviceBase.yml b/_data/components/serviceBase.yml index 990701f8b..4583fc1c1 100644 --- a/_data/components/serviceBase.yml +++ b/_data/components/serviceBase.yml @@ -55,6 +55,8 @@ attributes: [{ description: "Function to execute on query error", type: "Function", default: "No value" +},{ + name: "configure-service-args" } ] diff --git a/_data/menu_descriptions.yml b/_data/menu_descriptions.yml index 8c8e09c92..edbf9d29e 100644 --- a/_data/menu_descriptions.yml +++ b/_data/menu_descriptions.yml @@ -418,3 +418,11 @@ sections: - url: "/addons/report/" title: "Report" imagepath: "/assets/images/menus/addons/report" + "services": + - url: "/guide/service/jsonapi" + title: "JSON:API " + imagepath: "/assets/images/menus/services/jsonapi" + - url: "/guide/service/ontimize" + title: "Ontimize" + imagepath: "/assets/images/menus/services/ontimize" + diff --git a/_includes/nav_cards.html b/_includes/nav_cards.html index fbbef5fa4..696626b64 100644 --- a/_includes/nav_cards.html +++ b/_includes/nav_cards.html @@ -20,8 +20,6 @@ - -