Giter Site home page Giter Site logo

vng-realisatie / notificaties-api Goto Github PK

View Code? Open in Web Editor NEW
1.0 5.0 3.0 1.72 MB

Referentieimplementatie van de notificatierouteringcomponent (NRC).

Home Page: https://notificaties-api.vng.cloud

License: Other

Dockerfile 0.86% JavaScript 1.28% Batchfile 0.22% Shell 1.40% Python 88.77% HTML 4.50% SCSS 2.99%

notificaties-api's Introduction

Notificaties API

Version: 1.0.0
Source:https://github.com/VNG-Realisatie/notificaties-api
Keywords:zaken, zaakgericht werken, GEMMA, notificaties

Introductie

De Notificaties API is routeert berichten van componenten (publishers) naar andere componenten (subscribers) volgens het publish-subscribe patroon. Berichten zijn informatie-arm en bevatten daarom geen inhoudelijke informatie.

Elk component kan een kanaal aanmaken waar het berichten op publiseert met door het component gedefinieerde attributen. Op dit kanaal kan een ander component zich abonneren met filters op de attributen.

Het is aan de subscriber om, bij het ontvangen van een bericht, de bron te bevragen naar de informatie waar dan ook de juiste autorisaties voor nodig zijn.

API specificaties

Lint OAS Generate SDKs Generate Postman collection

Versie Release datum API specificatie Autorisaties Notificaties
master n.v.t. ReDoc, Swagger (verschillen) Scopes Berichtkenmerken
1.0.0 2019-11-18 ReDoc, Swagger Scopes Berichtkenmerken

Zie ook: Alle versies en wijzigingen

Ondersteuning

Versie Release datum Einddatum ondersteuning Documentatie
1.x 2019-11-18 (nog niet bekend) Documentatie

Referentie implementatie

Build status Coverage Docker image Code style Supported Python version

Referentieimplementatie van de Notificaties API. Ook wel Notificatierouteringscomponent (NRC) genoemd.

Ontwikkeld door Maykin Media B.V. in opdracht van VNG Realisatie.

Deze referentieimplementatie toont aan dat de API specificatie voor de Notificaties API implementeerbaar is, en vormt een voorbeeld voor andere implementaties indien ergens twijfel bestaat.

Deze component heeft ook een demo omgeving waar leveranciers tegenaan kunnen testen.

Links

Licentie

Copyright © VNG Realisatie 2018 - 2020

Licensed under the EUPL

notificaties-api's People

Contributors

annashamray avatar dependabot[bot] avatar joeribekker avatar joerivrij avatar matthijsbekendam avatar sergei-maertens avatar sonnyba avatar stevenbal avatar voles avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

notificaties-api's Issues

Implementeren nieuwe NRC specs

Zie README van de nieuwe specificatie. Dit zal uiteindelijk een nieuwe major release met zich meebrengen omdat er over wordt gestapt op Cloud Events en daardoor breaking changes zal bevatten.

Veld omschrijving toevoegen

Het lijkt me handig om bij een notificatie een veld omschrijving beschikbaar te hebben. Dit veld dient als human-readable description. Dit veld kan gebruikt worden in een mailnotificatie of in de applicatie om een gebruiker in eenvoudige en begrijpelijke taal uit te leggen waar de notificatie over gaat.

Ik heb zitten denken of je hiervoor het vel actie kunt gebruiken, maar dat lijkt me niet wenselijk aangezien dit veld een andere functie heeft.

When visualizing the notification log, a success HTTP status code is not marked as such

Given that a notification is delivered to NRC and forwarded to subscribers, there are a couple of options:

  • subscriber replies with a 4xx status code -> should be marked as error
  • subscriber replies with a 5xx status code -> should be marked as error
  • subscriber replies with a 200 status code -> OK, response is discarded
  • subscriber replies with a 204 status code -> OK, response is empty
  • subscriber replies with a 3xx status code -> unexpected, mark as error

The key takeaway is that any 2xx status code should be reported as OK, which currently isn't the case.

aanmaakDatum hernoemen naar (iets als) datumTijdstipGebeurtenis

Voorstel: aanmaakDatum hernoemen naar (iets als) datumTijdstipGebeurtenis.

Een veldnaam als datumTijdstipGebeurtenis is beschrijvender dan aanmaakDatum. Dit omdat aanmaakdatum in combinatie met een create-gebeurtenis suggereert dat je bij een mutatie of verwijdering een datumVerwijdering of datumMutatie kunt verwachten.

Daarnaast suggereert datum (niet zijnde datumTijdstip) dat je geen tijdstip hoeft te verwachten terwijl dit wel relevant is om de volgordelijkheid van de notificaties te bepalen.

Documentatie bijwerken

Bv de README.rst van deze repository beschrijft alleen nog maar de 1.x versie van de Notificaties API.

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.