Skip to content

Commit 8602715

Browse files
committed
fix tests
Signed-off-by: Oleksii Moskalenko <moskalenko.alexey@gmail.com>
1 parent 56ede26 commit 8602715

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

‎serving/src/main/java/feast/serving/config/ServingServiceConfigV2.java‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
import org.springframework.context.ApplicationContext;
3333
import org.springframework.context.annotation.Bean;
3434
import org.springframework.context.annotation.Configuration;
35+
import org.springframework.context.annotation.Lazy;
3536

3637
@Configuration
3738
public class ServingServiceConfigV2 {
@@ -40,6 +41,7 @@ public class ServingServiceConfigV2 {
4041
@Autowired private ApplicationContext context;
4142

4243
@Bean
44+
@Lazy(true)
4345
public BigtableDataClient bigtableClient(FeastProperties feastProperties) throws IOException {
4446
BigTableStoreConfig config = feastProperties.getActiveStore().getBigtableConfig();
4547
String projectId = config.getProjectId();

‎serving/src/main/java/feast/serving/service/OnlineServingServiceV2.java‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,9 @@ public GetOnlineFeaturesResponse getOnlineFeatures(GetOnlineFeaturesRequestV2 re
8989
entry ->
9090
Pair.of(
9191
entry.getKey(),
92-
// TODO: Is there a better default value to set
9392
getMetadata(
94-
ValueProto.Value.newBuilder().build(),
95-
true,
93+
entry.getValue(),
94+
false,
9695
false)))
9796
.collect(Collectors.toMap(Pair::getLeft, Pair::getRight)))
9897
.collect(Collectors.toList());

0 commit comments

Comments
 (0)