-
Notifications
You must be signed in to change notification settings - Fork 5
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 #52 from RADAR-base/release-0.2.0
Release 0.2.0
- Loading branch information
Showing
86 changed files
with
2,233 additions
and
1,340 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,3 +1,7 @@ | ||
.idea | ||
.gradle* | ||
build | ||
/.idea/ | ||
/.gradle* | ||
/.git* | ||
/out/ | ||
/config/ | ||
/build/ | ||
/libs/ |
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 |
---|---|---|
|
@@ -24,3 +24,4 @@ backend.log | |
smtp.env | ||
|
||
/out/ | ||
/libs/ |
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
Validating CODEOWNERS rules …
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,4 +1,4 @@ | ||
# These owners will be the default owners for everything in the repo. | ||
# Unless a later match takes precedence, they will be requested for review when someone | ||
# opens a pull request. | ||
* @blootsvoets @nivemaham @fnobilia | ||
* @blootsvoets @nivemaham @yatharthranjan |
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,13 +1,50 @@ | ||
FROM confluentinc/cp-base:3.3.0 | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
ENV TERM=dumb | ||
FROM openjdk:8-alpine AS builder | ||
|
||
RUN mkdir /code | ||
WORKDIR /code | ||
|
||
COPY gradle /code/gradle | ||
COPY gradle.properties build.gradle settings.gradle gradlew /code/ | ||
RUN ./gradlew downloadDependencies | ||
COPY src /code/src | ||
ENV GRADLE_OPTS -Dorg.gradle.daemon=false -Dorg.gradle.project.profile=prod | ||
|
||
ENTRYPOINT ["./gradlew"] | ||
COPY ./gradle/wrapper /code/gradle/wrapper | ||
COPY ./gradlew /code/ | ||
RUN ./gradlew --version | ||
|
||
COPY ./gradle/profile.prod.gradle /code/gradle/ | ||
COPY ./build.gradle ./gradle.properties ./settings.gradle /code/ | ||
|
||
RUN ./gradlew downloadRuntimeDependencies | ||
|
||
COPY ./src/ /code/src | ||
|
||
RUN ./gradlew distTar && \ | ||
tar xf build/distributions/*.tar && \ | ||
rm build/distributions/*.tar | ||
|
||
FROM confluentinc/cp-base:3.3.1 | ||
|
||
MAINTAINER Nivethika M <[email protected]> , Joris Borgdorff <[email protected]> | ||
|
||
LABEL description="RADAR-CNS Backend streams and monitor" | ||
|
||
ENV KAFKA_REST_PROXY http://rest-proxy:8082 | ||
ENV KAFKA_SCHEMA_REGISTRY http://schema-registry:8081 | ||
|
||
COPY --from=builder /code/radar-backend-*/bin/* /usr/bin/ | ||
COPY --from=builder /code/radar-backend-*/lib/* /usr/lib/ | ||
|
||
# Load topics validator | ||
COPY ./src/main/docker/radar-backend-init /usr/bin | ||
|
||
CMD ["radar-backend-init"] |
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.