Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(MPDZBS-877): zmscitizenapi into next #674

Open
wants to merge 25 commits into
base: next
Choose a base branch
from

Conversation

ThomasAFink
Copy link
Member

Description

Short description or comments

Reference

Issues #XXX

ThomasAFink and others added 20 commits September 10, 2024 14:48
#574)

* endpoint working

* fix unit tests

* one working test for post-reserve

* some clean up

* feat(ZMS-2517): fix up response for the reserve post request

* feat(ZMS-2517): add more unit tests for validations

* feat(ZMS-2517): add more unit tests for validations

* feat(ZMS-2517): Zmscitizenapi Refactor Part 1 of 3 move controllers back to root

* feat(ZMS-2517): Zmscitizenapi Refactor Part 2 of 3 create ZmsApiFacadeService ZmsApiClientService ValidationService MapperService UtilityHelper and delete fragmented services

* feat(ZMS-2517): Zmscitizenapi Refactor Part 3 of 3 clean up validations and unit tests

---------

Co-authored-by: Thomas Fink <thomasafink@Thomass-MacBook-Air.local>
* (feat MPDZBS-877) readd citizenapi to  htaccess

* feat(MPDZBS-877 ZMS-2517): Working Appointment update with too many emails exception

* feat(MPDZBS-877 ZMS-2517): Test rendering working for update appointment test

* feat(MPDZBS-877 ZMS-2517): Add 63 validation unit tests for appointment update

* feat(MPDZBS-877 ZMS-2517): Refactor exception appointmentNotFound

* feat(MPDZBS-877 ZMS-2517): Add two new edge case exception tests

* feat(MPDZBS-877 ZMS-2517): Remove error_logs

---------

Co-authored-by: Thomas Fink <thomasafink@Thomass-MacBook-Air.local>
@ThomasAFink ThomasAFink force-pushed the feature-MPDZBS-877-zmscitizenapi branch from b57e687 to 1a34881 Compare November 6, 2024 15:41
@ThomasAFink ThomasAFink force-pushed the feature-MPDZBS-877-zmscitizenapi branch from 1a34881 to c15dea6 Compare November 6, 2024 15:44
Copy link
Contributor

@tobiasholler tobiasholler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bitte schau nochmal wegen Validation und Error Handling, siehe Kommentare.

Comment on lines +39 to +42
"wget-files": [
"wget https://eappointment.gitlab.io/zmsapi/doc/swagger.json -O public/doc/swagger.json",
"wget https://eappointment.gitlab.io/zmsapi/doc/assets/redoc.min.js -O public/doc/assets/redoc.min.js"
],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ich denke mal, das kann in der zmscitizenapi raus.


* If a new entity definition should be added, the reference must be set here under definitions.

Translated with www.DeepL.com/Translator (free version)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ich denk mal, das kann weg.

Comment on lines +1 to +7
basePath: /terminvereinbarung/api/2
schemes:
- https
consumes:
- application/json
produces:
- application/json
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bitte für zmscitizenapi anpassen, das sind noch die Werte von zmsapi.

Comment on lines +1 to +71
definitions:
apikey:
$ref: "schema/apikey.json"
apiclient:
$ref: "schema/apiclient.json"
appointment:
$ref: "schema/appointment.json"
availability:
$ref: "schema/availability.json"
calendar:
$ref: "schema/calendar.json"
calldisplay:
$ref: "schema/calldisplay.json"
client:
$ref: "schema/client.json"
cluster:
$ref: "schema/cluster.json"
config:
$ref: "schema/config.json"
contact:
$ref: "schema/contact.json"
day:
$ref: "schema/day.json"
department:
$ref: "schema/department.json"
dayoff:
$ref: "schema/dayoff.json"
exchange:
$ref: "schema/exchange.json"
link:
$ref: "schema/link.json"
log:
$ref: "schema/log.json"
mail:
$ref: "schema/mail.json"
mimepart:
$ref: "schema/mimepart.json"
metaresult:
$ref: "schema/metaresult.json"
notification:
$ref: "schema/notification.json"
organisation:
$ref: "schema/organisation.json"
owner:
$ref: "schema/owner.json"
process:
$ref: "schema/process.json"
provider:
$ref: "schema/provider.json"
queue:
$ref: "schema/queue.json"
request:
$ref: "schema/request.json"
requestrelation:
$ref: "schema/requestrelation.json"
scope:
$ref: "schema/scope.json"
session:
$ref: "schema/session.json"
slot:
$ref: "schema/slot.json"
source:
$ref: "schema/source.json"
status:
$ref: "schema/status.json"
ticketprinter:
$ref: "schema/ticketprinter.json"
useraccount:
$ref: "schema/useraccount.json"
workstation:
$ref: "schema/workstation.json"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bitte für zmscitizenapi anpassen, das sind noch die Werte von zmsapi.

Comment on lines +1 to +27
info:
title: ZMS (human waiting queue management) API
x-logo:
url: "./logo.png"
description: |
The ZMS system is intended to manage human waiting queues. It has the following features:

* make appointments via a calender and initiate a process to manage an appointment
* import requests (services) and providers (locations) from external sources
* manage scopes for appointments, including a four level hierarchy of owner->organisation->department->scope
* manage opening hours including closed days
* login-system with different access levels
* pickup for documents
* ticketprinter support for customers without appointments (authenticated, lockable, timeable)
* calldisplay support
* collecting statistics like waiting time or served clients per day
* emergency call for employees

This documentation covers the Citizen Frontend Bürgeransicht API-level access to these features.
termsOfService: 'http://service.berlin.de/terminvereinbarung/'
contact:
name: Mathias Fischer
email: mathias.fischer@berlinonline.de
url: 'http://www.berlinonline.net/unternehmen/team/'
license:
name: Commercial
url: 'http://www.berlinonline.net'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bitte für zmscitizenapi anpassen, das sind noch die Werte von zmsapi.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wieso nimmst du für basic Validation kein Mellon?

@@ -10,7 +10,7 @@
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
forceCoversAnnotation="false"
stopOnFailure="true"
stopOnFailure="false"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Macht das Sinn das auf false zu setzen?

stopOnFailure="true"
stopOnFailure="false"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Macht das Sinn das auf false zu setzen?

@@ -7,7 +7,7 @@
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="true"
stopOnFailure="false"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Macht das Sinn das auf false zu setzen?

stopOnFailure="true"
stopOnFailure="false"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Macht das Sinn das auf false zu setzen?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants