-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
307 implement project endpoints (#308)
* add models * initialize project service * add dao * rename and import correctly * inject space dao * list endpoint working * add example; get/post endpoints working now * add delete endpoint * write patch endpoints * put endpoint working * patch endpoint is working * add dataset endpoints work * deleting is working * placeholder * write readme * internal calc status doesn't work yet * live calc is working * live calculation all works * live calculating revert back to todos * add endpoints to manage each of the resources * update readme * update mock * Add visualization (#316) * visualization model * add to model * add model and endpoint for visualization * posting visualization bug * merge subclass to just one for union implementation * add embedded annotation to layer class * add logic to only add layer doesn't already exist * add readme * add docker build and github action * indentation * upload artifact use v3 since v2 deprecated * indentation again * download artifact needs to be v3 too * no types * add search endpoint * remove the typ method from mock
- Loading branch information
1 parent
24af4df
commit b681b6f
Showing
32 changed files
with
3,076 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
FROM jetty:11.0.15-jre11 | ||
|
||
# Set user to root so logs store in previous location | ||
USER root | ||
|
||
# TODO we could compile the service here so this works standalone | ||
|
||
# Working Directory | ||
WORKDIR /home/incore | ||
|
||
# Copy service war | ||
COPY server/project-service/build/libs/project-service.war /home/incore/lib/ | ||
|
||
# Copy service context to jetty webapps | ||
COPY docker/project.xml /var/lib/jetty/webapps/ | ||
|
||
# create data directory mounting point | ||
RUN mkdir /home/incore/data && mkdir /home/incore/data/incore_data | ||
|
||
# Reset WORKDIR so jetty runs correctly | ||
WORKDIR /var/lib/jetty | ||
|
||
ENV JETTY_PORT 8080 | ||
|
||
EXPOSE 8080 | ||
CMD ["java", "-Djava.io.tmpdir=/home/incore/", "-jar", "/usr/local/jetty/start.jar", "jetty.http.port=8888"] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "https://www.eclipse.org/jetty/configure_10_0.dtd"> | ||
<Configure class="org.eclipse.jetty.webapp.WebAppContext"> | ||
<Set name="contextPath">/project/</Set> | ||
<Set name="war">/home/incore/lib/project-service.war</Set> | ||
</Configure> |
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
Oops, something went wrong.