license-service/demo — Issue #10: Evaluation timer has to be extended
Author: smeltsov
Created: 2012-02-08 22:27:56+00:00
State: open

Evaluation timer has to be extended. New request "getProductConfiguration" must be sent one time before first validation request for evaluation license:
{
"vendor.vendorRequest": {
"@id": "REQ-${__Random(1,999999999)}",
"@locale": "en",
"vendor.getProductConfiguration": {
"@vendorNumber": "${V_NUMBER}",
"@productNumber": "${P_NUM_EVAL}",
}
}
}

as result, lsda gets JSON response like:
{
: "vendor.vendorResponse":
: {
: : "@id":"REQ-${__Random(1,999999999)}",
: : "@success":"true",
: : "vendor.getProductConfiguration":
: : {
: : : "@xsi.type":"ns4:ProductConfigLMTimeEvaluation",
: : : "@vendorNumber":"${V_NUMBER}",
: : : "@productNumber":"${P_NUM_EVAL}",
: : : "vendor.autoRegisterLicensingEntity":true,
: : : "lm-timeevaluation.evaluationPeriod":
: : : {
: : : : "@unit":"Mins",
: : : : "$":"5.0"
: : : },
: : : "lm-timeevaluation.price":
: : : {
: : : : "@currency":"EUR",
: : : : "$":"0.00"
: : : }
: : }
: }
}

in this case, the data for timer is 5 minutes.