Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Commit

Permalink
Support lifecycle for aurora
Browse files Browse the repository at this point in the history
  • Loading branch information
thinker0 committed Jul 23, 2020
1 parent eb5090b commit d502c35
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion heron/config/src/yaml/conf/aurora/heron.aurora
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs = [
service = True,
task = heron_task,
instances = '{{NUM_CONTAINERS}}',
announce = Announcer(primary_port = 'http', portmap = {'health': 'http'}),
announce = Announcer(primary_port = 'http', portmap = {'admin': 'http', 'health': 'http'}),
health_check_config = HealthCheckConfig(
health_checker = HealthCheckerConfig(
http = HttpHealthChecker(endpoint='/health', expected_response='ok', expected_response_code=200)
Expand Down
2 changes: 2 additions & 0 deletions heron/shell/src/python/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@
(r"^/filestats/(.*)", handlers.FileStatsHandler),
(r"^/download/(.*)", handlers.DownloadHandler),
(r"^/killexecutor", handlers.KillExecutorHandler),
(r"^/quitquitquit", handlers.KillExecutorHandler),
(r"^/abortabortabort", handlers.KillExecutorHandler),
(r"^/health", handlers.HealthHandler),
]

Expand Down

0 comments on commit d502c35

Please sign in to comment.