Henri Poeche
Henri Poeche
The compliance tool tests previously relied on handcrafted example fixture files (JSON, XML, AASX) to drive end-to-end assertions. These fixtures duplicated the SDK's own example data and had to be...
In our CI we download the schema files from [`admin-shell-io/aas-specs`](https://github.com/admin-shell-io/aas-specs-metamodel) to use them in the `sdk-test` job. https://github.com/eclipse-basyx/basyx-python-sdk/blob/ca78e9a92e4383914065bdf11c7e3841d449ea36/.github/workflows/ci.yml#L80-L84 For the currently set variable value `AAS_SPECS_RELEASE_TAG: "IDTA-01001-3-1-2"` these URLs do not...
We have some constants that are used throughout the project, like the API base path, the metamodel version, the schema version tag and some more. To reduce maintenance overhead and...
The examples for running the server's Docker container (in `server/example_configurations`) do show basic configuration options but build the images locally. While it is convenient for new developers to have a...
The current implementation of the Discovery API (`server/app/interfaces/discovery.py`) responds in two scenarios with status codes differing from the specification [v3.1.1](https://app.swaggerhub.com/apis/Plattform_i40/DiscoveryServiceSpecification/V3.1.1_SSP-001). 1. `POST /lookup/shells/{aasIdentifier}`: This endpoint should respond with `201` on...
The same issue as described in #662 applies to the `server-docker` stage of the `pr.yml`: > the job checks out the repository shallow, so `setuptools_scm` builds the local SDK as...
To create the Python WSGI application, the docker images execute a script from `server/app/services` (`run_repository.py`, `run_registry.py`, `run_discovery.py`) which sets the global `application` variable. These script's code is written directly to...
## Issue The API object spec [`v3.1.2`](https://app.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.1.1#/components/schemas/ProtocolInformation/properties/securityAttributes) defines for `ProtocolInfromation` an attribute `securityAttributes`. The `ProtocolInformation` class in `server/app/model/endpoint.py` defines this attribute correctly but the serialization through `ServerAASToJsonEncoder` misses this attribute....
We have a test file `sdk/test/examples/test_tutorials.py`, that checks the tutorials under `sdk/basyx/aas/examples` run without errors and produce correct results. Because the tutorials are written as plain script files that do...
## Current Situation The server maps `?level=core` to the SDK's `AASToJsonEncoder.stripped` flag (`is_stripped_request()` in `server/app/interfaces/base.py`). However, the "stripped" encoder does not implement `Level=Core` as specified by [IDTA-01002](https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.1.1/specification/interfaces-operation-parameters.html#enumeration-level). Concretely, `stripped=True` (`sdk/basyx/aas/adapter/json/json_serialization.py`):...