Invalidate Dynamic Logic Integration Point
This integration point provides the ability to invalidate all the dynamic logic, in order to re-compile the groovy logic. This is important for scenarios where a groovy logic imports other common logic and changes to common logic should also re-compile the= Invalidate Dynamic Logic
This API provides the ability to invalidate all the dynamic logic, in order to re-compile the groovy logic. This is important for scenarios where a groovy logic imports other common logic and changes to common logic should also re-compile the logics that have used or imported the common logic.
This API invalidates all the logic so that they get re-compiled.
Operations
The operations are protected by the HTTP API access restriction 'dynamiclogic IP'.
The endpoint is available at the following location:
This specific API supports the following operation:
|
Invalidates all dynamic logic. |
When the operation is called, it fetches all the dynamic logic and invalidates them. It also recompiles them to be ready for use on next invocation.
Examples
Dylo A is imported in Dylo B. Dylo A is updated. For the change in Dylo A to be effictive in Dylo B, invoke invalidateall
. Once invalidateall
is invoked in JVM’s life cycle, the dynamic logic changes are reflected immediately without making a call to invalidateall
again.
The invalidateall
operation will still be required in some cases, for example when Dylo A is imported in Dylo B, as per the following sequence.
-
Invoke
invalidateall
. -
Update something in B.
-
Run Dylo B.
-
Update Dylo A.
-
Run Dylo B.
The change made in Dylo A is not reflected.
In this case invalidateall
is required.
Response Messages
The integration point provides HTTP status codes as defined in the Developer Guide in section Response Messages.
Authorization
This API requires a grant for access restriction dynamiclogic IP
. logics that have used or imported the common logic.
This API invalidates all the logic so that they get re-compiled.
The integration point provides HTTP status codes as defined in the Developer Guide in section Response Messages.
The operations are protected by the HTTP API access restriction 'dynamiclogic IP'.
The endpoint is available at the following location:
http://[hostName]:[portNumber]/[api-context-root]/dynamiclogic