buerokratt / Common-Services

Bürokratt Common Services
MIT License
0 stars 9 forks source link

Create a Ruuter service to link text input with national holidays common services #64

Open turnerrainer opened 1 month ago

turnerrainer commented 1 month ago

[!NOTE] This is a sub-issue of #63 and #60

AS A Product Owner I WANT TO test if text input initiates applicable national holidays common services SO THAT I could verify its intended functionality

Acceptance Criteria

DSL

Example

Request

curl localhost:8080/calendar/national-holidays/search
   -H "Content-Type: application/json"
   -d '{"keyword": "#prev_national_holiday"}'

Response

{
    "response": {
        "date": "2024-08-20",
        "name": "taasiseseisvumispäev"
    }
}
matKlju commented 1 month ago

https://github.com/buerokratt/Common-Services/issues/64