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

Create development mode for the bundle #6

Closed
2 of 5 tasks
henrym2 opened this issue Jul 17, 2020 · 0 comments
Closed
2 of 5 tasks

Create development mode for the bundle #6

henrym2 opened this issue Jul 17, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@henrym2
Copy link
Collaborator

henrym2 commented Jul 17, 2020

Expected Behavior

The Bundle should come with an automatic development mode, such that when the Symfony environment is detected to be in Development mode the bundle reacts accordingly. This should include the in built reporting API, activating logging internally for services like fetch metadata, and including in some level a profiler within symfony's built in profiler service.

Actual Behavior

At present a services_dev.yaml file exists however it is not correctly wired into the container service. This can be used to register specific services such as the profile and report-to controller such that they are not made active in production mode where they might cause resource or information leaks.

Steps to implement a solution:

  • Wire up development services with the services_dev.yaml
  • Create a development configuration tree
  • Implement Symfony's internal logger in required services
  • Ensure that there are no "trailing" routes in production mode
  • Setup and configure a Symfony profiler for a more integrated development experience
@henrym2 henrym2 added the enhancement New feature or request label Jul 17, 2020
@henrym2 henrym2 self-assigned this Jul 17, 2020
@henrym2 henrym2 moved this from To do to In progress in Ise web security bundle Jul 24, 2020
@henrym2 henrym2 added this to the MVP milestone Jul 28, 2020
@henrym2 henrym2 moved this from In progress to In Review in Ise web security bundle Jul 31, 2020
@henrym2 henrym2 closed this as completed Aug 6, 2020
@henrym2 henrym2 moved this from In Review to Done in Ise web security bundle Aug 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

1 participant