Giter VIP home page Giter VIP logo

aas-connect-repository's Introduction

AAS Connect Backend Service

This service provides a publicly available REST and GraphQL APIs for managing Asset Administration Shells (AAS) and AAS Submodel Templates and AAS Submodel Instances, stored in a Neo4j Graph Database.

The provided REST endpoints fully comply with the AAS OpenAPI Specification published by the IDTA.

Prerequisites

  1. An installed and running recent version of the Docker Engine.
  2. Optional: A valid, personal GraphQL Frontend License Key, if you wish to use the GraphQL Frontend for accessing the GraphQL interface.
    Please refer to https://graphqlfrontend.com/ on how to obtain one.

Getting Started

  1. Clone this repository to your local machine.
  2. Optional: Open the file .env.sample with a text editor and replace the placeholder {YOUR_FRONTEND_LICENSE_KEY} with your personal GraphQL Frontend License Key and save the file as .env.
  3. Run the following command in the repository root directory to download all dependencies and start the AAS Connect Backend Service
docker compose up -d

When the start-up completed, you will be able to access the following services in the browser:

To stop the services, run the following command in the repository root directory:

docker compose down

All persistent data is stored outside the container in the neo4j/data and the neo4j/logs directory.

Next Steps

For submitting your first Asset Administration Shell (AAS) you follow this procedure (which might be automatized by your client application):

  1. Create Submodel Templates for each submodel your AAS uses, using the POST /api/v1/submodel endpoint.
    The Submodel object provided in the body must have the kind property set to Template and the id should be the unique global identifier of the submodel template(!) used for creating this submodel and must differ from the id used in the submodel in the AAS.
    Templates need only to be created once and can be reused for multiple Submodel instances.
  2. Create Submodel Instances for each submodel your AAS uses, using the POST /api/v1/submodel endpoint.
    The Submodel object provided in the body must have the kind property set to Instance. The id should be the same as the one used in the submodel in the AAS.
  3. Create the Asset Administration Shell using the POST /api/v1/shells endpoint.
    The id's of the submodels referenced in the submodels object property of the AssetAdministrationShell object in the request body must be the ones of the Submodel Instances created in step 2. understanding how all components work together.

Copyright

Copyright (c) 2024 FoP Consult GmbH. All rights reserved.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.