Overview
Development Description
A function API encapsulates multiple services into one service by compiling function scripts.
The script of a function API is compiled only using JavaScript, which complies with the Java Nashorn standard and supports ECMAScript Edition 5.1. The JavaScript engine runs on the Java VM and can invoke the Java class provided by ROMA Connect to implement specific functions.
The maximum script size supported by a function API is 32 KB.
Common Configuration Reference
You can add global common configurations, such as variables, passwords, and certificates, to the custom backend and reference them in function scripts. For details see. For details, see Adding Custom Backend Configurations.
- Template variable: #{example}
- Password: CipherUtils.getPlainCipherText("example")
- Certificate: CipherUtils.getPlainCertificate("example")
Last Article: Developing Function APIs
Next Article: APIConnectResponse
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.