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

Refactor into individual executables #48

Merged
merged 12 commits into from Mar 23, 2015

Conversation

bifurcation
Copy link
Contributor

This PR pulls apart the boulder-start executable into a collection of individual executables. This entails a little bit of repetition (which is minimized through the new /cmd/ module), but has the benefit that each executable only has the business logic for its component and RPC logic for its dependencies. So for example, the VA executable has the code to do validation, but none of the RA or CA logic.

This also changes the configuration for the executables, so that they all rely on a single configuration file format. Each executable draws what it needs from the file, so the same file can be used to configure all authorities in a boulder instance, or different config files can be provided to different executables to segment information.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 77.59% when pulling 5a6fdfc on bifurcation:exec-refactor into 8dc0012 on letsencrypt:master.

@jcjones
Copy link
Contributor

jcjones commented Mar 22, 2015

hooo boy, time to rework the Docker infrastructure.... Opened Issue #50.

)

func main() {
app := cmd.NewAppShell("boulder-sa")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo? should be boulder-wfe?

jcjones pushed a commit that referenced this pull request Mar 23, 2015
@jcjones jcjones mentioned this pull request Mar 23, 2015
@jsha jsha merged commit 5a6fdfc into letsencrypt:master Mar 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants