Property Definitions
All the Oracle Health Insurance applications rely on system properties to enable unique behavior. The Installation Guide contains an exhaustive list of the system properties.
This API retrieves the system property definitions, including the relevant characteristics.
Operations
This specific API supports the following operations
|
|
|
|
|
|
GET (all)
This method returns all the system property definitions ordered by name.
Example of a Response Message for the System Property Definitions
{ "items": [ { "name" : "ohi.policies.calculate.commission", "description" : "This property can be set to true if a license for commission calculation is present.", "deprecated" : false, "mandatory" : false, "defaultValue" : "false", "possibleValues" : "true or false", "accessMode" : "Protected", "changeEffective" : "AfterRestart" }, { "name" : "ohi.policies.calculate.leapyear.fiscalyear.startmonth", "description" : "Can be set to let the fiscal year start at another month than January. Used for leap year detection. If for example set to 4, the period of 2019-04-01 to 2020-03-31 is now the leap year. \nIf this property is not specified, days in a year is considered as 365 for non-contracted policies.", "deprecated" : false, "mandatory" : false, "defaultValue" : null, "possibleValues" : "Positive integer, values between 1 and 12", "accessMode" : "Public", "changeEffective" : "NextExecution" }, ... ] }
This operation returns a status described in Response Messages, typically 200
.
Attribute | Description |
---|---|
name |
The unique name of the property. This name may include a placeholder like
|
description |
Describes the purpose of the property and actual value that the property must use for placeholders. |
deprecated |
|
mandatory |
|
defaultValue |
The property uses this value when there is no explicit value. |
possibleValues |
A list of the values for this property. |
accessMode |
|
changeEffective |
Shows when a changed value takes effect. The values are:
|
The Immediate value of the ChangeEffective attribute does not influence the polling delay for reading the properties file.
It only defines when changes that polling detects effectuates in the application.
|
Get (subset)
This operation returns only the system property definitions that have their name, starting with the given prefix, ordering each value by name.
Use the query parameter "name" to filter the results on their prefix.
This enables you to filter the results on properties starting with the prefix, for example, ohi.environment
.
This operation returns a status as described in the Response Messages.
If it finds at least one matching property the value is typically 200
. 204
if there is no match.
GET (one)
This operation returns the property if the property name exactly matches the path parameter {property}
.
This operation returns a status as described in Response Messages.
If it finds a matching property, the value is typically 200
.
If it does not find a property with that name, then it is 404
.