Skip to content

Commit

Permalink
datastore fix for cloudbuild
Browse files Browse the repository at this point in the history
  • Loading branch information
AnkitCLI committed Nov 24, 2024
1 parent 601f62b commit d847f85
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public static String createKind(String kindName) {
FullEntity<IncompleteKey> entity = Entity.newBuilder(incompleteKey)
.set("firstName", PluginPropertyUtils.pluginProp("name"))
.set("age", Integer.parseInt(PluginPropertyUtils.pluginProp("age")))
.set("isValid", PluginPropertyUtils.pluginProp("result").isEmpty())
.set("isValid", Boolean.parseBoolean(PluginPropertyUtils.pluginProp("result")))
.set("postalAdd", Float.parseFloat(PluginPropertyUtils.pluginProp("address")))
// Add other properties as needed
.build();
Expand Down
2 changes: 1 addition & 1 deletion src/e2e-test/resources/pluginParameters.properties
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ bqExecuteInsertFile=testdata/BQExecute/BQExecuteInsertFile
fieldName=_key_
name=Antonio
age=23
result=
result=true
address=123.2
filterOptions=[{"key":"isValid","value":"true"}]
propertyName=firstName
Expand Down

0 comments on commit d847f85

Please sign in to comment.