-
Notifications
You must be signed in to change notification settings - Fork 50
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 #104 from vitrivr/dev
Changes in package Structure, VBS 20 & ICME and cottontaildb (Cineast 3)
- Loading branch information
Showing
888 changed files
with
26,637 additions
and
115,034 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,51 +1,64 @@ | ||
*.orig | ||
*.class | ||
|
||
# Mobile Tools for Java (J2ME) | ||
.mtj.tmp/ | ||
|
||
# Proto Files | ||
*.bin | ||
|
||
# Package Files # | ||
*.jar | ||
*.war | ||
*.ear | ||
|
||
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml | ||
hs_err_pid* | ||
build | ||
bin | ||
.gradle | ||
.project | ||
.classpath | ||
.settings/ | ||
|
||
##IntelliJ | ||
.idea | ||
cineast.iml | ||
|
||
##Data | ||
/proto/ | ||
/representative_frames/ | ||
/thumbnails/ | ||
/queryImages/ | ||
|
||
##Framecache | ||
/framecache_* | ||
|
||
##Art-UI | ||
/cache/ | ||
/mycache/ | ||
|
||
##Tensorflow | ||
*.tfmodel | ||
/data/ | ||
/retrieval_results/ | ||
retrieval_results_* | ||
out/ | ||
basel-historic-images/ | ||
index* | ||
|
||
##JSON | ||
/db/**/*.json | ||
# Cineast Caches | ||
cineast_cache* | ||
|
||
*.orig | ||
*.class | ||
*.log | ||
|
||
# Mobile Tools for Java (J2ME) | ||
.mtj.tmp/ | ||
|
||
# Proto Files | ||
*.bin | ||
|
||
# Package Files # | ||
*.jar | ||
*.war | ||
*.ear | ||
|
||
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml | ||
hs_err_pid* | ||
build | ||
bin | ||
.gradle | ||
.project | ||
.classpath | ||
.settings/ | ||
|
||
##IntelliJ | ||
.idea | ||
cineast.iml | ||
|
||
##Data | ||
/proto/ | ||
/representative_frames/ | ||
/thumbnails/ | ||
/queryImages/ | ||
|
||
##Framecache | ||
/framecache_* | ||
|
||
##Art-UI | ||
/cache/ | ||
/mycache/ | ||
|
||
##Tensorflow | ||
*.tfmodel | ||
/data/ | ||
/retrieval_results/ | ||
retrieval_results_* | ||
out/ | ||
basel-historic-images/ | ||
index* | ||
|
||
##JSON | ||
/db/**/*.json | ||
|
||
/benchmark-default.csv | ||
|
||
*.hogcb | ||
*.surfcb | ||
*.pb | ||
|
||
##macOS | ||
.DS_Store |
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,6 +1,10 @@ | ||
[submodule "adampro-grpc"] | ||
path = adampro-grpc | ||
[submodule "cineast-core/cottontaildb-proto"] | ||
path = cineast-core/cottontaildb-proto | ||
url = https://github.com/vitrivr/cottontaildb-proto.git | ||
[submodule "cineast-core/adampro-grpc"] | ||
path = cineast-core/adampro-grpc | ||
url = https://github.com/vitrivr/ADAMpro-Protobuf.git | ||
[submodule "cottontaildb-proto"] | ||
path = cottontaildb-proto | ||
url = https://github.com/ppanopticon/cottontaildb-proto | ||
|
||
[submodule "cineast-api/cineast-proto"] | ||
path = cineast-api/cineast-proto | ||
url = https://github.com/vitrivr/cineast-proto.git |
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,43 @@ | ||
FROM openjdk:14-buster AS build | ||
|
||
RUN apt-get update && \ | ||
apt-get install -y maven | ||
COPY . /cineast-src | ||
RUN cd /cineast-src && \ | ||
./gradlew :cineast-core:generateProto && \ | ||
./gradlew getExternalFiles && \ | ||
./gradlew fatJar | ||
|
||
FROM openjdk:14-slim-buster | ||
|
||
RUN mkdir -p /opt/cineast | ||
|
||
COPY --from=build \ | ||
/cineast-src/cineast.json \ | ||
/opt/cineast/cineast.json | ||
|
||
COPY --from=build \ | ||
/cineast-src/cineast-runtime/build/libs/cineast-runtime-*-full.jar \ | ||
/opt/cineast/cineast-cli.jar | ||
|
||
COPY --from=build \ | ||
/cineast-src/cineast-api/build/libs/cineast-api-*-full.jar \ | ||
/opt/cineast/cineast-api.jar | ||
|
||
COPY --from=build \ | ||
/cineast-src/resources \ | ||
/opt/cineast/resources | ||
|
||
RUN printf '#!/bin/bash\n\ | ||
if [ "$1" != "api" ] && [ "$1" != "cli" ]; then\n\ | ||
echo "Usage: $0 api|cli" >&2\n\ | ||
exit 1\n\ | ||
fi\n\ | ||
cd /opt/cineast/ && java -jar cineast-$1.jar ${@:2}'\ | ||
> /opt/cineast/bootstrap.sh | ||
RUN chmod +x /opt/cineast/bootstrap.sh | ||
|
||
EXPOSE 4567 | ||
EXPOSE 4568 | ||
|
||
ENTRYPOINT ["/opt/cineast/bootstrap.sh"] |
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.