Can't set a default value for a place holder after upgrading to version 14.5 (Spring 5.1.7)
GS-13906
ReplicaNoProgressException timing is wrong
GS-13874
Durable Notification with FIFO order cause memory leak in rare conditions
GS-13808
IllegalArgumentException: A metric named process_cpu_time-total already exists when deploy a pu.
GS-13187
InsightEdge new User Interface (UI)
GS-13908
Enforcing per core XAP license for XAP users
GS-13898
Aggregation sum ignores task transactions
GS-13850
Upgrade Apache Curator to 4.2.0
GS-13796
After network recovery reconnected Space instance was stuck verifying last primary state
GS-13782
web-ui directories are exposed by this url: http://localhost:8099/images/
GS-13605
Static Analysis improvements
GS-13507
xap demo CLI command sometimes does not performs space deploy on busy machine
GS-13504
RocksDB Off-heap cache update optimization
GS-13435
Abridged deployment of Space with MemoryXtend
GS-13426
Native support for Scala Case Class
GS-13425
XAP_GSM_OPTIONS are not honored
GS-13298
mvn install doesn't work for 10.1.0-12630-RELEASE
GS-13272
Notifications are not received when using SSL and slow consumers
GS-13150
CLI for Grid Management
GS-13025
New MemoryXtend Metrics
GS-13024
Web UI doesn't start because of pu-common
GS-13014
Remove v1 Rest module
GS-13910
enableExternalClient not working in Bluemix
GS-13904
BeanLevelPropertyPlaceholderConfigurer does not allow default values anymore in XAP 14.5
GS-13897
In case DocumentWrapper class name is given as document type name, reading the object from jdbc client will cause different type desc between operation and server tuse usability issue
GS-13896
Inconsistent query results (A and B) doesn't return same results as (B and A) in certain condition
GS-13895
In Linux version=3.10.0-693.17.1.el7.x86_64 GSA will not start due to problem in Oshi
GS-13892
support - SparkR
GS-13890
Deployment of pu fail after fixing previous pu jar and allocating on same GSC
GS-13889
ArrayIndexOutOfBoundsException when writing object using java 8 byte code features with a space class which uses the @SpaceClassConstructor annotation
GS-13886
Upgrade zookeeper to 3.5.x
GS-13885
Change with id query for specific id using super class doesn't work as expected
GS-13882
Support close method to space iterator when data was not consumed
GS-13878
Tableau integration groupby and filtering
GS-13872
NPE in Webster getting sla file in rare condition
GS-13865
AnalyticXtreme Batch index
GS-13855
REST service disclosures internal IP address
GS-13852
GSC stdio is sometimes closed too early causing shutdown to hang forever
GS-13849
helm install fails with helm v. 2.14
GS-13846
REST API does not support write
GS-13836
Implement SaveRddByOrder or alternatively loadDaraFrame with ordered=true
GS-13824
Can't query scala written objects to space with web-ui
GS-13823
Overriding port number configurations in k8s deployment
GS-13819
Modify XSDs links and links to documentation in scripts/readme/code
GS-13811
XAP web examples in insightedge use ports occupied by spark master and worker (8080,8081)
GS-13809
In webui remember sort order
GS-13804
Can't execute " ./insightedge demo " on mac due to Permission denied
GS-13800
Add option for routing implemented for broadcasts of remote services
GS-13798
Replace GS_LOGGING_CONFIG_FILE
GS-13794
DOC: REST and CLI - new upload pu resource convention
GS-13788
issue 1 of 190

Can't set a default value for a place holder after upgrading to version 14.5 (Spring 5.1.7)

Description

Up to version 14.2 (Spring 4.3.17) there was an option to set a default value for a placeholder located in the sla.xml or pu.xml
After upgrading to 14.5, the deployment failed with the following Spring Exception:

Deploying [PlaceHolderTest-1.0-SNAPSHOT.jar] with name [PlaceHolderTest-1.0-SNAPSHOT] under groups [yuval-pc] and locators [jini://yuval-pc:4174/]
Error deploying [-properties, embed://numberOfPartitions=2, /Users/yuval/Workspace/xap-support/PlaceHolderTest/target/PlaceHolderTest-1.0-SNAPSHOT.jar]:org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'SLA': Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type 'java.lang.String' to required type 'int' for property 'numberOfInstances'; nested exception is java.lang.NumberFormatException: For input string: "${numberOfPartitions:10}"

When the placeholder is in the sal.xml the exception is raised in the cli.
When the placeholder is in the pu.xml the exception is raised in the GSC log.

After removing the "10" e.g:number-of-instances="${numberOfPartitions}" the deployment of 2,1 succeeded. PlaceHolderTest project is attached.
Reproduction:
1. run mvn install
2. start the grid:
./gs.sh host run-agent --manager --gsc=2
3. run the deploy command:
./gs.sh --cli-version=1 deploy -properties embed://numberOfPartitions=2 /Users/yuval/Workspace/xap-support/PlaceHolderTest/target/PlaceHolderTest-1.0-SNAPSHOT.jar

Workaround

None

Acceptance Test

None

Status

Assignee

Unassigned

Reporter

Yuval Dori

Labels

None

Priority

Critical

SalesForce Case ID

12554, 12540

Fix versions

None

Commitment Version/s

None

Due date

None

Product

None

Edition

Premium

Platform

All