-
Notifications
You must be signed in to change notification settings - Fork 13
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/add picture service #161
base: master
Are you sure you want to change the base?
Conversation
@kirkone There is you working example for reference ;) |
Preview Environment ready at https://52.164.242.212 |
...onebook.Backend.PictureService/Phonebook.Backend.PictureService/BackgroundTasks/PurgeTask.cs
Show resolved
Hide resolved
...nd.PictureService/Phonebook.Backend.PictureService/Controllers/EmployeePicturesController.cs
Outdated
Show resolved
Hide resolved
...nebook.Backend.PictureService/Phonebook.Backend.PictureService/Controllers/UserController.cs
Outdated
Show resolved
Hide resolved
...nebook.Backend.PictureService/Phonebook.Backend.PictureService/Controllers/UserController.cs
Outdated
Show resolved
Hide resolved
...nd.PictureService/Phonebook.Backend.PictureService/Controllers/EmployeePicturesController.cs
Show resolved
Hide resolved
- and add spellchecker to recommended extensions
Create method to get People from PersonBackend Create method to delete pictures of people who left
...nd.PictureService/Phonebook.Backend.PictureService/Controllers/EmployeePicturesController.cs
Outdated
Show resolved
Hide resolved
...nd.PictureService/Phonebook.Backend.PictureService/Controllers/EmployeePicturesController.cs
Outdated
Show resolved
Hide resolved
Create method to get People from PersonBackend Create method to delete pictures of people who left
…ms-MMS/phonebook into feat/add-picture-service
Ready for review |
merge? |
...Phonebook.Backend.PictureService/Phonebook.Backend.PictureService/ConfigureSwaggerOptions.cs
Outdated
Show resolved
Hide resolved
...nd/Phonebook.Backend.PictureService/Phonebook.Backend.PictureService/Helpers/HelpersThing.cs
Outdated
Show resolved
Hide resolved
options.GroupNameFormat = "'v'VVV"; | ||
// note: this option is only necessary when versioning by url segment. the SubstitutionFormat | ||
// can also be used to control the format of the API version in route templates | ||
options.SubstituteApiVersionInUrl = true; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please do not version in the URL. We can have a debate if you want to :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would prefer query string or Header based versioning
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thats the configuration for the Api Explorer. Not for the normal api endpoints. It would very helpful if we can create an "api" route path to make the differenz more clear. Because if you call:
users/whoami
you can do ?api-version=2.0
.
But if you do the same on swagger
it will show version 1. Because swagger works with another behavior without make it clear by the path. And this setting isn't very good documented. It does not a difference at all if you change the value from true to false. So maybe we must create an documentation issue in the apiExplorer project.
So currently there is no plan to change this line, if we doesn't know what is does.
Phonebook.Backend/Phonebook.Backend.PictureService/Phonebook.Backend.PictureService/Startup.cs
Outdated
Show resolved
Hide resolved
Phonebook.Backend/Phonebook.Backend.PictureService/Phonebook.Backend.PictureService/Startup.cs
Outdated
Show resolved
Hide resolved
Please add a secure by default approach for authentication. @GentleJames you can try to set up a build if you want. |
This is solved ;) |
…ist of valid content types, removed unnecessary comments in startup and added trigger paths to the backend build
...PictureService/Phonebook.Backend.PictureService/Configuration/PictureServiceConfiguration.cs
Outdated
Show resolved
Hide resolved
Co-Authored-By: DanielHabenicht <[email protected]>
I have removed @GentleJames from the contributors because he leave the company. So @GentleJames you must fork this repo to contribute again. That's the only thing that has changed for you. P.S.: I will now finishing this PR. Thanks for your help! |
- rename to ImageHelperFuncitons - add documentation about the functionalitiy - centralize some logic.
what is holding us up here? @paule96
As both have to do with making the pictures service kubernetes ready I would like to merge this PR and make a new one for the other changes |
@paule96 ping |
Preview Environment ready at https://pr-161.demo-phonebook.me |
@Zeroks77 you are still welcome to finish this :) |
Preview Environment ready at https://pr-161.demo-phonebook.me |
- also remove auth for now - also remove IIS integration for ever
Preview Environment ready at https://pr-161.demo-phonebook.me |
Preview Environment ready at https://pr-161.demo-phonebook.me |
so I have start the basic implementation of the new auth. I test this if I'm back at work. I late add the same anonymos stuff from the people soft backend. |
Preview Environment ready at https://pr-161.demo-phonebook.me |
hit always save!
Preview Environment ready at https://pr-161.demo-phonebook.me |
Resolves #53
Use Microsoft.AspNetCore.Mvc.Versioning
Use authorization
Add Build