Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [basyx-dev] Enabling persistence for BaSyx AAS data over AKS using Azure Cosmos DB API for MongoDB
  • From: <Daniel.Espen@xxxxxxxxxxxxxxxxxx>
  • Date: Thu, 3 Feb 2022 13:24:07 +0000
  • Accept-language: de-DE, en-US
  • Delivered-to: basyx-dev@xxxxxxxxxxx
  • Ironport-data: A9a23:htKnLqsbduts8NTszOxeFXZyl+fnVORZMUV32f8akzHdYApBsoF/q tZmKWmHM6uDamX3Kdt0PYWx8x8EusOAyYNlGVM6rHs2FC0XgMeUXt7xwmUckM+xwm0vaGo9s q3yv/GZdJhcokf0/0zrb/69xZVF/fngqoDUUYYoAQgsA180IMsdoUg7wbRh2NYz2YLR7z6l4 LseneWPYDdJ5BYpagr424rbwP+4lK2v0N+wlgVWicFj5DcypVFMZH4sDf3Zw0/Df2VhNrXSq 9AvbF2O1jixEx8FUrtJm1tgG6EAaua60QOm0hK6V0U+6/RPjnRa70o1CBYTQX5LkGyorY9S8 dhUsK2qWSIvDPDjxftIBnG0EwkmVUFH0LzcZH6yrIqSwlbLNXX2yuhoDEY4MJde9usf7WNmr KFDbmFTKEnY3KTsqF64YrEEasALAMDtPY4b/Fx71TzfJfcrWp2FTb/D+NlY2zk9nIZCEJ4yY uJAMWE/PUqdM3WjPH8GMrs3vtm0mUD6XBlFqgOP/IcV7276mVkZPL/FaoOOI4faFK25hH2wr Gvd7nS8DhwEHNGUzTud6X/qgfXA9R4XQ6oUD/u5++VnxlOJz3EVCBoYWEH9rfTRZlOCt8x3E lAPowsc8osL+VWuf8PtehuK/VHZoUtJMzZPKNES5AaIw6vSxg+WAGkYUzJMAOAbWN8KqS8Ci g7VxI+3bdB7mOLKFizAnluBhW7qURX5O1PucgcoYGPpCfHAqYAogwjUSt9+DKOviLUZ8hmun G7U90DSa50pjcMK0aGy+1yCuzylooqhc+LYzgPMGGOo9Q4/apSseoqo7lbW97BMIe51r2VtX lBYy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/vhF7bAP3YkGlGnHH+u7vWAz7iNlMs+WIf+nC A7xI1OZG6NuA==
  • Ironport-sdr: PVIzzAz9uqmCX6nhMYazEJad3xw8PG0M1MC/A+d9IJRlEuKDO/4oGIthsY2Gx7rG0LJLxZvCr/ T3HFtsw/A3YqOUuznngCNVn2yWf/qxCeo=
  • List-archive: <https://www.eclipse.org/mailman/private/basyx-dev/>
  • List-help: <mailto:basyx-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/basyx-dev>, <mailto:basyx-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/basyx-dev>, <mailto:basyx-dev-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AQHYFzO6ZMcggHbJhkiLJRzioGEN6qyB08YA
  • Thread-topic: [basyx-dev] Enabling persistence for BaSyx AAS data over AKS using Azure Cosmos DB API for MongoDB

Hello Adwait,

 

Currently, it is possible to configure the components with environment variables instead of property files. Here you can find an example that shows how to do that:

-          https://github.com/eclipse-basyx/basyx-java-examples/blob/development/basyx.docker/simple-deployment/docker-compose.yml

The only “configuration” you cannot include as an environment variable is an actual .aasx-File.

 

To connect to any MongoDB, you can set up the connection using the MongoDB-Connection string:

https://wiki.eclipse.org/BaSyx_/_Documentation_/_Components_/_MongoDB

https://docs.mongodb.com/manual/reference/connection-string/


Since Azure Cosmos DB API for MongoDB should be compatible with the MongoDB API, using it should work by default. Yet, we did not test the Azure Cosmos DB API for MongoDB in specific. Therefore, we would be glad to get your hands-on input and feedback about this.

 

Best Regards

Daniel Espen

 

--

Daniel Espen

Engineer

Dept. Virtual Engineering

 

Fraunhofer IESE

Fraunhofer-Platz 1 | 67663 Kaiserslautern

+49 631 6800-2131

Daniel.Espen@xxxxxxxxxxxxxxxxxx

www.iese.fraunhofer.de

 

 

 

Von: basyx-dev <basyx-dev-bounces@xxxxxxxxxxx> Im Auftrag von adwait churi
Gesendet: Dienstag, 1. Februar 2022 07:19
An: basyx developer discussions <basyx-dev@xxxxxxxxxxx>
Betreff: [basyx-dev] Enabling persistence for BaSyx AAS data over AKS using Azure Cosmos DB API for MongoDB

 

Hi Basyx community,

 

Good Day!

 

With reference to "Aasx_PackEx_Tutorial_-_EN_-_51_Connect_AASX_Server_Repository" earlier email, we have requirement of persisting the BaSyx AAS data in AKS [Azure Kubernetes services].

 

Our Understanding - To enable data persistence, AAS server image should be imported along configurations shown below [attached for reference]

1] aas.properties - aas.backend=MongoDB

2] mongodb.properties

 

Question

1] Is there a possibility to upload these configurations in a yml file while uploading eclipsebasyx/aas-server:latest image over AKS?

2] If configuration in yml file is possible, then please provide guiding steps to achieve this. The yml configuration should align to Question 4] , to have data persisted in Azure Cosmos DB API for MongoDB.

3] If configuration in yml file is not possible, then please suggest alternate way where DockerHub / Azure Container Service / Azure Container Instance or Java Codebase customization is not required.

4] Can we use Azure Cosmos DB API for MongoDB to store data from BaSyx AAS image deployed over AKS? 

 

Best Regards,

Adwait


Back to the top