Skip to content

Add loadOnStartup attribute to @EndpointServlet #16053

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

Closed
wants to merge 2 commits into from

Conversation

juliojgd
Copy link
Contributor

loadOnStartup property was missing from EndpointServlet and cannot
be set inside ServletEndpointRegistrar. Now it can be set and register
a Servlet with that integer property ready to act upon registration

Fixes #15672

loadOnStartup property was missing from EndpointServlet and cannot
be set inside ServletEndpointRegistrar. Now it can be set and register
a Servlet with that integer property ready to act upon registration

Fixes spring-projects#15672
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Feb 27, 2019
@wilkinsona wilkinsona added type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged labels Feb 28, 2019
@wilkinsona wilkinsona added this to the 2.2.x milestone Feb 28, 2019
It was importing ServletRegistration and it is not needed.

Refers to spring-projects#16053
@juliojgd
Copy link
Contributor Author

I removed an unused import in EndpointServlet.

@juliojgd
Copy link
Contributor Author

juliojgd commented Mar 1, 2019

@wilkinsona It seems that the concourse build failed because of changes in hateoas module (not made by my commits). It will be marked OK in following builds or is any further action required by me?

@wilkinsona
Copy link
Member

There were some breaking API changes in recent HATEOAS snapshots. We've adapted to them on master now. No need for you to take any further action. We'll rebase your changes prior to merging them. Thanks for asking.

@snicoll snicoll self-assigned this Mar 5, 2019
@snicoll snicoll modified the milestones: 2.2.x, 2.2.0.M1 Mar 5, 2019
snicoll pushed a commit that referenced this pull request Mar 5, 2019
loadOnStartup property was missing from EndpointServlet and cannot be set
inside ServletEndpointRegistrar. Now it can be set and register a Servlet
with that integer property ready to act upon registration.

See gh-16053
@snicoll snicoll closed this in 4f029d6 Mar 5, 2019
snicoll added a commit that referenced this pull request Mar 5, 2019
* pr/16053:
  Polish "Add loadOnStartup property to EndpointServlet"
  Add loadOnStartup property to EndpointServlet
@snicoll
Copy link
Member

snicoll commented Mar 5, 2019

@juliojgd thank you very much for making your first contribution to Spring Boot. This work is now merged in master.

@juliojgd
Copy link
Contributor Author

juliojgd commented Mar 6, 2019

@snicoll Thank you very much for your review. I hope I will be contributing again. :)

@juliojgd juliojgd deleted the 15672 branch March 6, 2019 13:00
@wilkinsona wilkinsona changed the title Adds loadOnStartup property to EndpointServlet Add loadOnStartup attribute to @EndpointServlet Mar 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants