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

App refactoring #89

Merged
merged 1 commit into from
Jan 12, 2016
Merged

App refactoring #89

merged 1 commit into from
Jan 12, 2016

Conversation

gregdel
Copy link
Member

@gregdel gregdel commented Jan 6, 2016

  • Move the app parts in internal packages and sub applications
  • Use log entries everywhere
  • handle sighup events to reload the app
  • graceful shutdown of all the sub applications

@gregdel gregdel changed the title [WIP] Move server into an app package [WIP] Move the app parts in internal packages Jan 9, 2016
@nduhamel
Copy link
Member

nduhamel commented Jan 9, 2016

+1

@nduhamel
Copy link
Member

nduhamel commented Jan 9, 2016

Try to fix the fake increase of coverage before merge this

@gregdel gregdel changed the title [WIP] Move the app parts in internal packages [WIP] App refactoring Jan 10, 2016
@gregdel gregdel changed the title [WIP] App refactoring App refactoring Jan 10, 2016
@gregdel gregdel force-pushed the appRefactoring branch 3 times, most recently from 56a4a55 to ece070d Compare January 10, 2016 20:11

a.startApps(log)

log.Info("app reloaded")
Copy link
Contributor

Choose a reason for hiding this comment

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

Reloaded but which one?

Copy link
Member Author

Choose a reason for hiding this comment

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

?

Copy link
Member Author

Choose a reason for hiding this comment

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

@gregdel gregdel force-pushed the appRefactoring branch 3 times, most recently from fc4c4b1 to 450bad7 Compare January 11, 2016 20:36
* Use log entries everywhere
* Handle app reload with SIGHUP
* Move all the apps into sub apps
* Each sub app is launched by the main app
* Available sub apps:
    * http server
    * organizer
    * downloader
    * cleaner
PouuleT added a commit that referenced this pull request Jan 12, 2016
@PouuleT PouuleT merged commit dbbc474 into master Jan 12, 2016
@PouuleT PouuleT deleted the appRefactoring branch January 12, 2016 12:54
@PouuleT PouuleT mentioned this pull request Jan 12, 2016
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.

4 participants