6 FAQs
- How do I specify which field is used for READ operation ?
To specify a field to be used in the READ operation the user must provide the value of the “key” of the “attributes” of the particular field in the input JSON as true. Please refer “fields” in the section JSON Explained.
- Can we edit the generated source code ?
Yes, one can import the generated source code (after running gradle task “gradle eclipse”) from
. Make sure the next tasks “gradle build” , “gradle thirdpartygen” are executed after it.<APITOOLKIT_HOME>/output folder
- Can I run the gradle tasks at any windows location?
No, User must run the gradle tasks at the
<APITOOLKIT_HOME>
. - Is it mandatory to execute gradle thirdpartygen task?
The task thirdpartygen generates xml with mock values only for simulation purpose of third party setup. It further packages these xml into ExtxfaceSimulatorMDB.war which is deployed only in a simulation environment. In environments interacting with actual hosts this is not needed.
- Where are the SQL scripts generated?
At
<APITOOLKIT_HOME>/ output/seed/oracle
. - Can I generate two different services in the same module?
Yes, user just need to place the two JSONs for respective services at
<APITOOLKIT_HOME>/input/json
. - Can I generate two different services in two different modules?
Yes, user just need to write two different JSONs with the required moduleNames in each JSON. Place the two JSONs for respective services at
<APITOOLKIT_HOME>/input/json
. That’s it.