This project both specifies the HEI Admin API and implements it in Java.
Releases are published here as Docker images. Feel free to use them.
We welcome contributions.
RESTful API for managing a school
License: MIT License
This project both specifies the HEI Admin API and implements it in Java.
Releases are published here as Docker images. Feel free to use them.
We welcome contributions.
Filter by ref, by first name and by name.
To address in this ticket if possible: #38
For the moment, we manually attach AmazonCognitoPowerUser
ContainingIgnoreCase
Do not forget to precise this in the OpenAPI spec.
In particular, there are some parameters that should be required and aren't yet.
For the moment, AmazonEventBridgeFullAccess policy is manually attached to taskRole through AWS Console.
Sentry warning spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning
Vlad is against it, but we don't mind: we choose simplicity over performance on this one.
https://vladmihalcea.com/the-open-session-in-view-anti-pattern/
Commit 74166d4 uses the Cognito emulator from https://github.com/jagregory/cognito-local. Unfortunately, that emulator does not support AdminInitiateAuth
which makes it impossible to get authentication token. Keep an eye on that project, they might eventually implement that feature.
Alternately, Localstack provides support for Cognito. However, they do so in the Pro version only https://localstack.cloud/features/.
Nb of users that can be created in batch is bounded by the number of events we can send at once. This is because send multiple batch of events and that some of them fail, we have now way of taking back all the other events that were successfully sent. As EventBridge.PutEvents can only handle 10 events at once, we must limit user creation to 10 users
https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_PutEvents.html
In particular, document how to get Cognito tokens?
Related issue: #10
Should be LATE but is UNPAID https://dev.admin.hei.school/#/fees/student1_id--91229af6-4815-46bf-8056-224d598f37cd/show
Our current pagination is translated into offset-limit pagination by Postgres.
The more P=page*pageSize increase, the longer Postgres takes to process the request.
In particular, P could lead to a full scan.
To prevent this, P should be bounded.
Eg: P_MAX=1_000 ensures that a query will never scan more than P_MAX+MAX_PAGE_SIZE.
P_MAX=1_000 is large enough to cover all the use cases of the API.
* We don't expect consumers to dump the whole database
* Consumers are only expected to find users by weak comparison on
* ref
* firstname
* name
Do not persist fee.status and fee.remaining_due in db. Just compute them on the flight, in memory.
Do not create new flyway script migration. Just edit the current v0.3 then manually fix dev db accordingly.
When done, squash obtained commit with the fees commit in dev
https://www.baeldung.com/spring-boot-bean-validation
Answer Bad request and put the criminal field in the message
Fee.comment should be moved into CreateFee.comment
Same for Payment
How to automatically fix checkstyle warnings and errors?
Are the following suspicious Sentry issues coming from some misconfigured tests?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.