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

Commit 8f78034

Browse files
authored
Support lifecycle for aurora (#3581)
Co-authored-by: thinker0 <[email protected]>
1 parent f35ba15 commit 8f78034

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

heron/config/src/yaml/conf/aurora/heron.aurora

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs = [
7979
service = True,
8080
task = heron_task,
8181
instances = '{{NUM_CONTAINERS}}',
82-
announce = Announcer(primary_port = 'http', portmap = {'health': 'http'}),
82+
announce = Announcer(primary_port = 'http', portmap = {'admin': 'http', 'health': 'http'}),
8383
health_check_config = HealthCheckConfig(
8484
health_checker = HealthCheckerConfig(
8585
http = HttpHealthChecker(endpoint='/health', expected_response='ok', expected_response_code=200)

heron/shell/src/python/main.py

+2
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@
4141
(r"^/filestats/(.*)", handlers.FileStatsHandler),
4242
(r"^/download/(.*)", handlers.DownloadHandler),
4343
(r"^/killexecutor", handlers.KillExecutorHandler),
44+
(r"^/quitquitquit", handlers.KillExecutorHandler),
45+
(r"^/abortabortabort", handlers.KillExecutorHandler),
4446
(r"^/health", handlers.HealthHandler),
4547
]
4648

0 commit comments

Comments
 (0)