spring-attic / gemfire

Apache License 2.0
4 stars 13 forks source link

Gemfire Release 2.14 unable to recognize property place holder #51

Open suresh-chidham opened 4 years ago

suresh-chidham commented 4 years ago

Recently we are testing the upgrade from Gemfire 2.1.2.Build.Snapshot to Gemfire 2.1.4.RELEASE version.

This latest version is not able to recognize property place holder. But old version 2.1.2.Build.snapshot is working fine. We have deployed below stream in PCF environment with this latest version

stream create testgemfire--definition ":SCDF_validUT > testApp--outputType=application/json | TestGemfire--json=true --regionName=Test--keyExpression=payload.getField('id') --hostAddresses=test.xyz.com:10334 --keystoreUri=classpath:gemfire.keystore.jks --truststoreUri=classpath:gemfire.keystore.jks --connectType=locator --spring.cloud.stream.bindings.input.consumer.maxAttempts=1"

In my deploy property test.properties, we have keystore password which will come through cred-hub service. app.TestGemfire.gemfire.security.ssl.sslKeystorePassword=${vcap.services.test-credhub-sb.credentials.keystore-password}

This 2.1.4.RELEASE version, it is not taking this placeholder. But same time 2.1.2.Build.snapshot is replacing this place holder with actual keystore password and it is working in this older version.

What I missed here. Please help on this.