Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

After you set the properties in the file, restart the PASOE.


Kinevy Service/Functions

https://devcenter.kinvey.com/rest/guides/flex-services

https://devcenter.kinvey.com/rest/guides/flexservice-runtime

Kinvey Create/Deploy Service

Test collection - kinvey console command

Kinvey Collections

Kinevy collections are essentially data abstractions, representing a group of related data entities. They are defined in the Environment → Data → Collections tab:

Image Added


To define a new collection, click on Add collection. Then, select the data service, environment and service for which you want to define a collection for. Finally, click on activate service.

Image Added


Collections will be used to make data available in the application UI, in grids. This will be explained below.


Kinevy DSO Setup

After we set the Kinvey parameters in the pasoe-config.xml file and we define a kinvey collection, for the dataSource we can use the SimpleSwatBusinessEntity.

...

  • SUBTYPE : 'KinveyCollection' (without the quotes)
  • resourceName: name-of-camunda-collection

Then simply create a DATA link from the DSO to the grid and you should be able to see the collection data.


Kinvey Custom Endpoints

Custom endpoints are defined on the Application Environment settings. They can be called from the frontend using akioma.InvokeServerTask. A custom endpoint is linked to a service flex function. Essentially, when a custom endpoint is called, we are calling the the flex function defined in the service.

...

Click on the add new Endpoint button, give the new endpoint a name and select the Business Logic Type.

In our case, that is Microservice (Execute a handler function running inside a Flex Services Runtime service).

Once the endpoint is created, select the service, then environment and finally the handler function:

...