-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2118 from WikiWatershed/ki/use-akka-http-service
- Loading branch information
Showing
18 changed files
with
56 additions
and
164 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
deployment/ansible/roles/model-my-watershed.beaver/templates/geoprocessing.conf.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
-[/var/log/upstart/geoprocessing.log] | ||
-multiline_regex_before = ^\s+ | ||
-type: geoprocessing | ||
-tags: geoprocessing,beaver |
4 changes: 0 additions & 4 deletions
4
deployment/ansible/roles/model-my-watershed.beaver/templates/spark-jobserver.conf.j2
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
deployment/ansible/roles/model-my-watershed.geoprocessing/defaults/main.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
--- | ||
geop_home: "/opt/geoprocessing" | ||
geop_jar_url: "https://github.com/WikiWatershed/mmw-geoprocessing/releases/download/{{ geop_version }}/mmw-geoprocessing-assembly-{{ geop_version }}.jar" | ||
geop_jar_url: "https://github.com/WikiWatershed/mmw-geoprocessing/releases/download/{{ geop_version }}/api-assembly-{{ geop_version }}.jar" |
3 changes: 3 additions & 0 deletions
3
deployment/ansible/roles/model-my-watershed.geoprocessing/handlers/main.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
--- | ||
- name: Restart geoprocessing service | ||
service: name=geoprocessing state=restarted |
3 changes: 2 additions & 1 deletion
3
deployment/ansible/roles/model-my-watershed.geoprocessing/meta/main.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
--- | ||
dependencies: | ||
- { role: "model-my-watershed.spark-jobserver" } | ||
- { | ||
role: "azavea.java", | ||
java_major_version: "8", | ||
java_version: "8u141*" | ||
} | ||
- { role: "model-my-watershed.base" } | ||
- { role: "model-my-watershed.nginx" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
...nt/ansible/roles/model-my-watershed.geoprocessing/templates/upstart-geoprocessing.conf.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
description "Geoprocessing service" | ||
|
||
{% if ['development', 'test'] | some_are_in(group_names) -%} | ||
start on (vagrant-mounted) | ||
{% else %} | ||
start on (local-filesystems and net-device-up IFACE!=lo) | ||
{% endif %} | ||
|
||
stop on shutdown | ||
|
||
respawn | ||
setuid mmw | ||
chdir {{ geop_home }} | ||
|
||
exec java -jar mmw-geoprocessing-{{ geop_version }}.jar |
4 changes: 0 additions & 4 deletions
4
deployment/ansible/roles/model-my-watershed.spark-jobserver/defaults/main.yml
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
deployment/ansible/roles/model-my-watershed.spark-jobserver/handlers/main.yml
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
deployment/ansible/roles/model-my-watershed.spark-jobserver/meta/main.yml
This file was deleted.
Oops, something went wrong.
42 changes: 0 additions & 42 deletions
42
deployment/ansible/roles/model-my-watershed.spark-jobserver/tasks/main.yml
This file was deleted.
Oops, something went wrong.
17 changes: 0 additions & 17 deletions
17
deployment/ansible/roles/model-my-watershed.spark-jobserver/templates/log4j.properties.j2
This file was deleted.
Oops, something went wrong.
46 changes: 0 additions & 46 deletions
46
...oyment/ansible/roles/model-my-watershed.spark-jobserver/templates/spark-jobserver.conf.j2
This file was deleted.
Oops, something went wrong.
32 changes: 0 additions & 32 deletions
32
...nsible/roles/model-my-watershed.spark-jobserver/templates/upstart-spark-jobserver.conf.j2
This file was deleted.
Oops, something went wrong.