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

Cleanup bootstrap package. #13053

Merged
merged 1 commit into from Aug 22, 2015
Merged

Cleanup bootstrap package. #13053

merged 1 commit into from Aug 22, 2015

Conversation

rmuir
Copy link
Contributor

@rmuir rmuir commented Aug 22, 2015

Cleanup the bootstrap package a bit:

  • makes most classes final and package private
  • removes duplicate and confusing multiple entry points
  • adds javadocs to some classes like JarHell,Security
  • adds a public class BootStrapInfo that exposes any stats
    needed by outside code.

Closes #13044

* makes most classes final and package private
* removes duplicate and confusing multiple entry points
* adds javadocs to some classes like JarHell,Security
* adds a public class BootStrapInfo that exposes any stats
  needed by outside code.
@dakrone
Copy link
Member

dakrone commented Aug 22, 2015

Looks good to me

rmuir added a commit that referenced this pull request Aug 22, 2015
@rmuir rmuir merged commit 980f49b into elastic:master Aug 22, 2015
@rmuir rmuir added the v2.1.0 label Aug 22, 2015
@vinhn
Copy link

vinhn commented Aug 22, 2015

Privatizing these kinds of things may make it harder for users to extend/customize the ES code, or to support other creative use cases like ES embedded inside another app/container.

@rmuir
Copy link
Contributor Author

rmuir commented Aug 22, 2015

This code is not extendable. Its not intended for extension.
Embedding inside a container is not supported.

@bleskes
Copy link
Contributor

bleskes commented Aug 24, 2015

@vinhn if you want to embed an ES node, org.elasticsearch.node.NodeBuilder is the way to go.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants