Comments (8)
The fix was merged and the SNAPSHOT images were updated.
from basyx-java-server-sdk.
Thank you very much for pointing this out. We are aware of this issue - Azure Cosmos DB does not support text based indexing which we are using at the moment. We will look for alternatives and update the images.
from basyx-java-server-sdk.
The new Docker images did not work for me. I set up a Azure Cosmos DB for Mongo DB and tried to connect a submodel repository and an aas repository. Both fail, the logs are attached.
docker-compose:
networks:
basyx:
internal: false
services:
submodel-repo:
container_name: submodel-repo
image: eclipsebasyx/submodel-repository:2.0.0-SNAPSHOT
environment:
BASYX_BACKEND: MongoDB
SPRING_DATA_MONGODB_DATABASE: submodels
SPRING_DATA_MONGODB_URI: mongodb://${MONGODB_USERNAME}:${MONGODB_PASSWORD}@${MONGODB_HOST}:${MONGODB_PORT}/?tls=true
ports:
- 8081:8081
networks:
- basyx
aas-repo:
container_name: aas-repo
image: eclipsebasyx/aas-repository:2.0.0-SNAPSHOT
ports:
- 8082:8081
environment:
BASYX_BACKEND: MongoDB
SPRING_DATA_MONGODB_DATABASE: shells
SPRING_DATA_MONGODB_URI: mongodb://${MONGODB_USERNAME}:${MONGODB_PASSWORD}@${MONGODB_HOST}:${MONGODB_PORT}/?tls=true
networks:
- basyx
aas-repo.log
submodel-repo.log
from basyx-java-server-sdk.
Unfortunately CosmosDB is again handling something differently than MongoDB. This issue was already reported in a separate ticket, see #80
from basyx-java-server-sdk.
Thanks for the quick answer and pointing that out. For the AAS Repo I am having the same issue as in the other ticket but the submodel repo does not even connect to Azure Cosmos DB. There seems to be another issue:
The bean 'getSubmodelServiceFactory', defined in class path resource [org/eclipse/digitaltwin/basyx/submodelrepository/MongoDBSubmodelRepositoryConfiguration.class], could not be registered. A bean with that name has already been defined in class path resource [org/eclipse/digitaltwin/basyx/submodelrepository/component/SubmodelRepositoryConfiguration.class] and overriding is disabled.
from basyx-java-server-sdk.
@mm-mse Are you trying to run directly the code form IDE or you are using the Docker? Is your docker image updated?
I haven't tested it with the docker, but I can run the code directly without any issue.
Regarding Azure Cosmos DB compatibility issue, follow the other issue. #80
from basyx-java-server-sdk.
Thanks for the quick answer and pointing that out. For the AAS Repo I am having the same issue as in the other ticket but the submodel repo does not even connect to Azure Cosmos DB. There seems to be another issue:
The bean 'getSubmodelServiceFactory', defined in class path resource [org/eclipse/digitaltwin/basyx/submodelrepository/MongoDBSubmodelRepositoryConfiguration.class], could not be registered. A bean with that name has already been defined in class path resource [org/eclipse/digitaltwin/basyx/submodelrepository/component/SubmodelRepositoryConfiguration.class] and overriding is disabled.
This was fixed in PR #82. However, we did not push a new snapshot version until now. This will happen at the end of this week.
from basyx-java-server-sdk.
alright, thanks. I was using the latest docker image
from basyx-java-server-sdk.
Related Issues (20)
- Docker HealthCheck failing after enabling authorization HOT 2
- Event Bus for Registry and Environment HOT 4
- Graceful failure/conflict strategy on finding existing semantic IDs in MongoDB HOT 3
- Compilation failure when mvn install HOT 2
- How to add an example file to 'test_demo_full_example.xml' HOT 8
- Upload AAS endpoint CORS HOT 5
- 424 Error when delegating an Operation HOT 5
- Superpath methods missing from the AAS Repository? HOT 1
- Internal Server error on updating $value of file SubmodelElement HOT 7
- SubmodelElementCollection valueOnly serialization HOT 1
- Error on retrieving files from the /attachment endpoint after restarting BaSyx HOT 1
- Dependency Conflict with Spring Boot HOT 2
- Registry - RBAC Authorization HOT 5
- In submodel service, what's the purpose of `inputVariables` and `outputVariables` of the operation SME? HOT 2
- Submodel service cannot create and update submodel elements HOT 3
- AASX contains wrong Relationship namespace for Asset Interfaces Description (Version 1.0) HOT 3
- AASX file cannot be uploaded again after deleting the AASs and Submodels HOT 3
- Multiple Repository Endpoints For Registry Integration
- GUI "Error while parsing the Submodel References!" HOT 6
- Error on starting AAS HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from basyx-java-server-sdk.