/
Expression Language ㅇ_ㅇ
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)}}
Referencing Objects
, multiple selections available,
Related content
QUERY
QUERY
Read with this
Binding variable(to be deleted)
Binding variable(to be deleted)
More like this
[API 리뷰] 상품 리스트, 조회
[API 리뷰] 상품 리스트, 조회
More like this
apiConfig
apiConfig
More like this