File tree Expand file tree Collapse file tree
src/main/java/com/gojek/feast Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33set -e
44set -o pipefail
55
6- export REVISION=dev
7-
86if ! cat /etc/* release | grep -q stretch; then
97 echo ${BASH_SOURCE} only supports Debian stretch.
108 echo Please change your operating system to use this script.
@@ -92,7 +90,7 @@ Building jars for Feast
9290 --output-dir /root/
9391
9492# Build jars for Feast
95- mvn --quiet --batch-mode --define skipTests=true --define revision= $REVISION clean package
93+ mvn --quiet --batch-mode --define skipTests=true clean package
9694
9795echo "
9896============================================================
@@ -144,7 +142,7 @@ management:
144142 enabled: false
145143EOF
146144
147- nohup java -jar core/target/feast-core-$REVISION .jar \
145+ nohup java -jar core/target/feast-core-* -SNAPSHOT .jar \
148146 --spring.config.location=file:///tmp/core.application.yml \
149147 & > /var/log/feast-core.log &
150148sleep 35
@@ -198,7 +196,7 @@ spring:
198196 web-environment: false
199197EOF
200198
201- nohup java -jar serving/target/feast-serving-$REVISION .jar \
199+ nohup java -jar serving/target/feast-serving-* -SNAPSHOT .jar \
202200 --spring.config.location=file:///tmp/serving.warehouse.application.yml \
203201 & > /var/log/feast-serving-warehouse.log &
204202sleep 15
Original file line number Diff line number Diff line change 33set -e
44set -o pipefail
55
6- export REVISION=dev
7-
86if ! cat /etc/* release | grep -q stretch; then
97 echo ${BASH_SOURCE} only supports Debian stretch.
108 echo Please change your operating system to use this script.
@@ -79,7 +77,7 @@ Building jars for Feast
7977 --output-dir /root/
8078
8179# Build jars for Feast
82- mvn --quiet --batch-mode --define skipTests=true --define revision= $REVISION clean package
80+ mvn --quiet --batch-mode --define skipTests=true clean package
8381
8482ls -lh core/target/* jar
8583ls -lh serving/target/* jar
@@ -135,7 +133,7 @@ management:
135133 enabled: false
136134EOF
137135
138- nohup java -jar core/target/feast-core-$REVISION .jar \
136+ nohup java -jar core/target/feast-core-* -SNAPSHOT .jar \
139137 --spring.config.location=file:///tmp/core.application.yml \
140138 & > /var/log/feast-core.log &
141139sleep 35
@@ -189,7 +187,7 @@ spring:
189187
190188EOF
191189
192- nohup java -jar serving/target/feast-serving-$REVISION .jar \
190+ nohup java -jar serving/target/feast-serving-* -SNAPSHOT .jar \
193191 --spring.config.location=file:///tmp/serving.online.application.yml \
194192 & > /var/log/feast-serving-online.log &
195193sleep 15
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ build-cli:
3232 $(MAKE ) -C cli build-all
3333
3434build-java :
35- mvn clean verify -Drevision= $( VERSION )
35+ mvn clean verify
3636
3737build-docker :
3838 docker build -t $(REGISTRY ) /feast-core:$(VERSION ) -f infra/docker/core/Dockerfile .
Original file line number Diff line number Diff line change 2121 <modelVersion >4.0.0</modelVersion >
2222
2323 <parent >
24- <groupId >feast</groupId >
24+ <groupId >dev. feast</groupId >
2525 <artifactId >feast-parent</artifactId >
26- <version >${revision} </version >
26+ <version >0.3.6-SNAPSHOT </version >
2727 </parent >
2828
2929 <name >Feast Core</name >
4848
4949 <dependencies >
5050 <dependency >
51- <groupId >feast</groupId >
51+ <groupId >dev. feast</groupId >
5252 <artifactId >feast-ingestion</artifactId >
5353 <version >${project.version} </version >
5454 </dependency >
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ public FeastResourceCollector feastResourceCollector(
6666 /**
6767 * Register custom Prometheus collector that exports metrics about JVM resource usage.
6868 *
69- * @return @{link { @link JVMResourceCollector} }
69+ * @return { @link JVMResourceCollector}
7070 */
7171 @ Bean
7272 public JVMResourceCollector jvmResourceCollector () {
Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ public GetFeatureSetResponse getFeatureSet(GetFeatureSetRequest request) {
143143 * possible if a project name is not set explicitly
144144 *
145145 * <p>The version field can be one of - '*' - This will match all versions - 'latest' - This will
146- * match the latest feature set version - '< number> ' - This will match a specific feature set
146+ * match the latest feature set version - '< number> ' - This will match a specific feature set
147147 * version. This property can only be set if both the feature set name and project name are
148148 * explicitly set.
149149 *
Original file line number Diff line number Diff line change @@ -49,8 +49,9 @@ public class PackageUtil {
4949 * handled by default in Apache Beam.
5050 *
5151 * <pre>
52- * @ code
52+ * < code>
5353 * URL url = new URL("jar:file:/tmp/springexample/target/spring-example-1.0-SNAPSHOT.jar!/BOOT-INF/lib/beam-sdks-java-core-2.16.0.jar!/");
54+ * </code>
5455 * String resolvedPath = resolveSpringBootPackageClasspath(url);
5556 * // resolvedPath should point to "/tmp/springexample/target/spring-example-1.0-SNAPSHOT/BOOT-INF/lib/beam-sdks-java-core-2.16.0.jar"
5657 * // Note that spring-example-1.0-SNAPSHOT.jar is extracted in the process.
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ WORKDIR /build
1212# the existing .m2 directory to $FEAST_REPO_ROOT/.m2
1313#
1414ENV MAVEN_OPTS="-Dmaven.repo.local=/build/.m2/repository -DdependencyLocationsEnabled=false"
15- RUN mvn --also-make --projects core,ingestion -Drevision=$REVISION \
15+ RUN mvn --also-make --projects core,ingestion \
1616 -DskipTests=true --batch-mode package
1717#
1818# Unpack the jar and copy the files into production Docker image
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ WORKDIR /build
1212# the existing .m2 directory to $FEAST_REPO_ROOT/.m2
1313#
1414ENV MAVEN_OPTS="-Dmaven.repo.local=/build/.m2/repository -DdependencyLocationsEnabled=false"
15- RUN mvn --also-make --projects serving -Drevision=$REVISION \
15+ RUN mvn --also-make --projects serving \
1616 -DskipTests=true --batch-mode package
1717
1818# ============================================================
Original file line number Diff line number Diff line change 2121 <modelVersion >4.0.0</modelVersion >
2222
2323 <parent >
24- <groupId >feast</groupId >
24+ <groupId >dev. feast</groupId >
2525 <artifactId >feast-parent</artifactId >
26- <version >${revision} </version >
26+ <version >0.3.6-SNAPSHOT </version >
2727 </parent >
2828
2929 <name >Feast Ingestion</name >
You can’t perform that action at this time.
0 commit comments