summaryrefslogtreecommitdiffstats
path: root/platform-logic/restapi-templates/src/main/json/lcm-dmaap-publish-template.json
blob: 67d8b1d402f3c98fa786d2549f5467ab2d08935e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{
    "version": ${lcm-dmaap.version},
    "cambria.partition": ${lcm-dmaap.partition},
    "correlation-id": ${lcm-dmaap.correlation-id},
    "rpc-name": ${lcm-dmaap.rpc-name},
    "type": ${lcm-dmaap.type},
    "body": {
        "output": {
            "common-header": {
                "api-ver": ${lcm-dmaap.api-ver},
                "flags": {
                    "ttl": ${lcm-dmaap.flags.ttl},
                    "force": ${lcm-dmaap.flags.force},
                    "mode": ${lcm-dmaap.flags.mode}
                },
                "originator-id": ${lcm-dmaap.originator-id},
                "request-id": ${lcm-dmaap.request-id},
                "sub-request-id": ${lcm-dmaap.sub-request-id},
                "timestamp": ${lcm-dmaap.timestamp}
            },
            "payload": ${lcm-dmaap.payload},
            "status": {
                "code": ${lcm-dmaap.status.code},
                "message": ${lcm-dmaap.status.message}
            }
        }
    }
}