Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ac0d081a9a | |||
| 164ab92919 | |||
| a6e7d1adb3 |
@@ -565,7 +565,7 @@ public class ApiInterfaceService extends OnlBaseService {
|
|||||||
restOption.setMethod(outboundHttpMethod);
|
restOption.setMethod(outboundHttpMethod);
|
||||||
restOption.setExtraPath(outboundRestPath);
|
restOption.setExtraPath(outboundRestPath);
|
||||||
|
|
||||||
String pathType = outboundRestPath.matches(".*\\{[_a-zA-Z]+\\}.*") ? "variableUrlRequest" : "simpleRequest";
|
String pathType = outboundRestPath.matches(".*\\{.+\\}.*") ? "variableUrlRequest" : "simpleRequest";
|
||||||
restOption.setType(pathType);
|
restOption.setType(pathType);
|
||||||
|
|
||||||
if (StringUtils.isNotBlank(contentType)) {
|
if (StringUtils.isNotBlank(contentType)) {
|
||||||
|
|||||||
+1
-1
@@ -400,7 +400,7 @@ public class SimpleInterfaceService extends OnlBaseService {
|
|||||||
jsonObject.put("method", outboundHttpMethod);
|
jsonObject.put("method", outboundHttpMethod);
|
||||||
jsonObject.put("extraPath", outboundRestPath);
|
jsonObject.put("extraPath", outboundRestPath);
|
||||||
|
|
||||||
String pathType = outboundRestPath.matches(".*\\{[a-zA-Z]+\\}.*") ? "variableUrlRequest" : "simpleRequest";
|
String pathType = outboundRestPath.matches(".*\\{.+\\}.*") ? "variableUrlRequest" : "simpleRequest";
|
||||||
jsonObject.put("type", pathType);
|
jsonObject.put("type", pathType);
|
||||||
restOption = jsonObject.toString();
|
restOption = jsonObject.toString();
|
||||||
return restOption;
|
return restOption;
|
||||||
|
|||||||
@@ -23,7 +23,6 @@
|
|||||||
FLOVRSEVRNAME AS "FAILOVERSVRNM",
|
FLOVRSEVRNAME AS "FAILOVERSVRNM",
|
||||||
HOSTNAME AS "HOSTNAME"
|
HOSTNAME AS "HOSTNAME"
|
||||||
FROM $schemaId$.TSEAIBP03
|
FROM $schemaId$.TSEAIBP03
|
||||||
WHERE ROWNUM = 1
|
|
||||||
</statement>
|
</statement>
|
||||||
|
|
||||||
</sqlMap>
|
</sqlMap>
|
||||||
Reference in New Issue
Block a user