To create an Object Service, you can specify the endpoint details in the Object Service definition.
To create an object service, follow these steps:
Click the Objects tab.
For example, you can create objects services for the following three endpoint types:
Integration and Orchestration Services
Note: You can associate the sample data at the design time of the service in Quantum Fabric, and you can import the sample data at the run time in the App Services Console as well.
For more information on generating sample data for Storage Object services, refer to How to Create Storage Object Services with Sample Data using Quantum Fabric.
Note: If your database (RDBMS/MongoDB) is configured with a proxy server, you must select an environment and then click Test Connection to test the database connectivity. The environment should be => V8 SP3 or later
. If the entered details are correct, the system displays the message: Valid Database connection detail.
None
1
in the database. The soft deleted data is not available for the app user.Important: Quantum recommends you to use the Soft Delete option along with the Offline enabled mode to ensure the data is in sync with the device and the server.
When you select the Offline enabled check box, the Soft Delete option is selected automatically.
Important: When you select the Hard Delete option after selecting the Offline enabled check box, the following waring message appears: Warning! Hard Deleting Records in Offline mode is not Recommended. It will make local storage inconsistent with the backend.
Click OK to continue enabling the Hard Delete option.
Note: You can also use the Hard Delete option from the App Services Console. For example, an app is created with the Delete strategy settings set to the default Soft Delete option but you want to delete some records permanently. In this case, you use the Hard Delete option by passing the X-Kony-Soft-Delete
header parameter set to false
with the delete request call. The delete request body must contain the primary key of the records that you want to delete.
For more information on how to use the Hard Delete option using the App Service Console, refer to App Services Console > Object Services > Hard Delete option using the X-Kony-Soft-Delete header parameter for Storage Services.
Preprocessor and Postprocessor enable you to include any business logic on the data while transferring between external data source and the mobile device. Preprocessor is executed after service validation and authentication. Postprocessor is executed after the run time processing. Preprocessor and Postprocessor give you more control over request and response.
To invoke preprocessor and postprocessor in an object service, you must specify a JAR file to associate with this service. Select from the Select existing JAR list, or click IMPORT to add a new JAR file.
In the Total Rate Limit text box, enter a required value. This will limit the total number of requests processed by this API.
To override throttling, refer to Override API Throttling Configuration.
Note: In case of On-premises, the number of nodes in a clustered environment is set by configuring the KONY_SERVER_NUMBER_OF_NODES
property in the Admin Console. This property indicates the number of nodes configured in the cluster. The default value is 1.
Refer to The Runtime Configuration tab on the Settings screen of App Services.
The total limit set in the Quantum Fabric Console will be divided by the number of configured nodes. For example, a throttling limit of 600 requests/minute with three nodes will be calculated to be 200 requests/minute per node.
This is applicable for Quantum Fabric Cloud and On-premises.
You can now Configure a Data Model.
Copyright © 2020 Temenos AG. All rights reserved. |