Skip to content

Commit

Permalink
ISPN-13816 Allow HotRod client to use normalizers
Browse files Browse the repository at this point in the history
  • Loading branch information
jabolina authored and wburns committed Apr 15, 2022
1 parent 4eeea40 commit 524226f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ protected EmbeddedCacheManager createCacheManager() throws Exception {

@Override
protected SerializationContextInitializer contextInitializer() {
return Book.Schema.INSTANCE;
return Book.BookSchema.INSTANCE;
}

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ protected EmbeddedCacheManager createCacheManager() throws Exception {

@Override
protected SerializationContextInitializer contextInitializer() {
return Color.Schema.INSTANCE;
return Color.ColorSchema.INSTANCE;
}

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public String getTitle() {
}

@AutoProtoSchemaBuilder(includeClasses = Book.class)
public interface Schema extends GeneratedSchema {
Schema INSTANCE = new SchemaImpl();
public interface BookSchema extends GeneratedSchema {
BookSchema INSTANCE = new BookSchemaImpl();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public void setDescription(String description) {
}

@AutoProtoSchemaBuilder(includeClasses = Color.class)
public interface Schema extends GeneratedSchema {
Schema INSTANCE = new SchemaImpl();
public interface ColorSchema extends GeneratedSchema {
ColorSchema INSTANCE = new ColorSchemaImpl();
}
}

0 comments on commit 524226f

Please sign in to comment.