Expression Language ㅇ_ㅇ
분석중
"fileUrlFormat": {
"default": "{{:getEnvValue('core.cluster.api-url-prefix')}}"
},
ProcessUtils.getElValue(Object configValue, ReadContext)
configValue : "{{:getEnvValue('core.cluster.api-url-prefix')}}"
if (StringUtils.contains((String) configValue, "{{:") && StringUtils.contains((String) configValue, "}}")) {
Template template = new Template((String) configValue);
template.parsing();
return template.format(context);
// } if(((String) configValue).contains(".")){
// return context.getContextValue((String) configValue);
}
MethodHelper.execute(methodStr, methodParams, params, context);
apiConfig query
"query": [
{
"method": "matching",
"field": "site",
"value": "{{:_siteId}}"
},
{
"method": "count",
"value": "{{:count}}"
}
]
apiResponse
propertyType
ICE내부
Expressions
{{: }}
Implicit scope Objects
session
context
context.data
request parameters
context.node
parent response result
Value Expressions
session.customer.id
context.pg.orderId
cart.id
price.salePrice
'success'
Method Expressions
{{:getNode('cart',cart.id)}}
{{:notEquals('none',siteProduct.productDetail.optionType)}}