-
Notifications
You must be signed in to change notification settings - Fork 4
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
Delete bills #8
Delete bills #8
Commits on Jan 7, 2018
-
Introduce UnknownExpenseExcpetion
If an expense cannot be found within a nobt the UnknownExpenseException can be thrown
Configuration menu - View commit details
-
Copy full SHA for 66040bb - Browse repository at this point
Copy the full SHA 66040bbView commit details -
To remove an expense from a nobt a new Enpoint is provided
Configuration menu - View commit details
-
Copy full SHA for f1e4ea1 - Browse repository at this point
Copy the full SHA f1e4ea1View commit details
Commits on Jan 9, 2018
-
Add VirtualBeanPropertyWriter for Expense-links
The VirtualBeanPropertyWriter allows us to add dynamic properties every time Jackson serializes an instance of our Expense. Through the built-in attribute-passing mechanism of Jackson, we pass the PropertyWriter an instance of our LinkFactory so that the logic for actually creating the link lives outside of the PropertyWriter and can be easily tested. We can now also use the "delete"-link in the ApiDocumentationTest to delete the expense.
Configuration menu - View commit details
-
Copy full SHA for c4c5627 - Browse repository at this point
Copy the full SHA c4c5627View commit details
Commits on Jan 14, 2018
-
Add support for a scheme-overriding header
The new config value allows to define an HTTP-header that will is used to override the scheme of generated links, if it contains a value. This is needed for our production environment at AWS because our application sits behind a load-balancer that accepts all requests forwards them to our application. The load-balancer accepts HTTPS requests but forwards them as HTTP. Thus, generated links would be invalid if we use the scheme of the current request to generate the link.
Configuration menu - View commit details
-
Copy full SHA for 68a0a18 - Browse repository at this point
Copy the full SHA 68a0a18View commit details
Commits on Jan 17, 2018
-
Configuration menu - View commit details
-
Copy full SHA for cc5860b - Browse repository at this point
Copy the full SHA cc5860bView commit details
Commits on Jan 28, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 1189594 - Browse repository at this point
Copy the full SHA 1189594View commit details -
Configuration menu - View commit details
-
Copy full SHA for ee2f22b - Browse repository at this point
Copy the full SHA ee2f22bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5381c7f - Browse repository at this point
Copy the full SHA 5381c7fView commit details -
Configuration menu - View commit details
-
Copy full SHA for ad90115 - Browse repository at this point
Copy the full SHA ad90115View commit details -
Configuration menu - View commit details
-
Copy full SHA for ba9bea4 - Browse repository at this point
Copy the full SHA ba9bea4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4758bb1 - Browse repository at this point
Copy the full SHA 4758bb1View commit details -
Wrap expenses in DeletedExpense upon deletion
This prevents DeletedExpenses to render a link for deleting them.
Configuration menu - View commit details
-
Copy full SHA for c7db496 - Browse repository at this point
Copy the full SHA c7db496View commit details -
Store instant of deletion instead of deleted-flag
This way, we also know when an expense was deleted.
Configuration menu - View commit details
-
Copy full SHA for fb56bb7 - Browse repository at this point
Copy the full SHA fb56bb7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3be7fff - Browse repository at this point
Copy the full SHA 3be7fffView commit details