Het Order Registratie Component verzorgt de afhandeling van bestellingen met uitzondering van facturatie en betalingen. Het biedt in samenwerking met het PDC een multi-tenant en omnichannel oplossing voor het verkopen van producten en diensten. Hierbij worden offers (te kopen resources vanuit het PC) toegevoegd aan een order, waarbij het Order Registratie Component de geldigheid van de aanbieding controleert en een eventuele prijs en betaling berekeningen uitvoert.
Omdat orders ook de status “basket” kunnen hebben, neemt het component hierbij essentiële validatie van de frontend over, waardoor ontwikkelaars worden ontlast en organisaties verzekerd worden van een propere berekening.
In tandem met het VRC voorziet het order component ook in de directe afhandeling van een order. Voor een simpele bestelling kan er hierbij worden gedacht aan een orderpick proces, maar voor complexe bestellingen kunnen ook zaken of processen worden opgestart.
We differentiate between two way's of installing this component, a local installation as part of the provided developers toolkit or an helm installation on an development or production environment.
First make sure you have docker desktop running on your computer. Then clone the repository to a directory on your local machine through a git command or git kraken (ui for git). If successful you can now navigate to the directory of your cloned repository in a command prompt and execute docker-compose up.
$ docker-compose up
This will build the docker image and run the used containers and when seeing the log from the php container: "NOTICE: ready to handle connections", u are ready to view the documentation at localhost on your preferred browser.
As a haven compliant commonground component this component is installable on kubernetes trough helm. The helm files can be found in the api/helm folder. For installing this component trough helm simply open your (still) favorite command line interface and run
$ helm install [name] ./api/helm --kubeconfig kubeconfig.yaml --namespace [name] --set settings.env=prod,settings.debug=0,settings.cache=1
For an in depth installation guide you can refer to the installation guide contained with the helm files, it also contains a short tutorial on getting your cluster ready to expose your installation to the world
This component adheres to international, national and local standards (in that order), notable standards are:
- Any applicable W3C standard, including but not limited to rest, JSON-LD and WEBSUB
- Any applicable schema standard
- OpenAPI Specification
- GAIA-X
- Publiccode, see the publiccode for further information
- Forum Stanaardisatie
- NL API Strategie
- Common Ground Realisatieprincipes
- Haven
- NLX
- Standard for Public Code, see the compliancy scan for further information.
This component is based on the following schema.org sources:
You can find the data model, OAS documentation and other helpfull developers material like a postman collection under api/public/schema, development support is provided trough the samenorganiseren slack channel.
Couple of quick tips when you start developing
- If you not yet have setup the component locally read the Tutorial for setting up your local environment.
- You can find the other components on Github.
- Take a look at the commonground componenten catalogus to prevent development collitions.
- Use Commongroun.conduction.nl for easy deployment of test environments to deploy your development to.
- For information on how to work with the component you can refer to the tutorial here.
First of al please read the Contributing guideline's ;)
But most imporantly, welcome! We strife to keep an active community at commonground.nl, please drop by and tell is what you are thinking about so that we can help you along.
Information about the authors of this component can be found here
Copyright © Utrecht 2019