assureit/ads — pull request #102 by hisaboh (2013-07-03 11:51:08+00:00)
Title: added publish monitor feature

Publish monitor to REC when Monitor and Context has MetaData as bellow.

[
{
NodeType: "Monitor",
Description: "description",
ThisNodeId: 1,
Children: [2, 3],
Contexts: [],
MetaData: [
{
Type: "Monitor",
PresetId: "123",
WatchId: "456",
Visible: "true",
},
]
},
{
NodeType: "Context",
Description: "description",
ThisNodeId: 2,
Children: [],
Contexts: [],
MetaData: [
{
Type: "Parameter",
A: "Value A",
B: "Value B",
Visible: "true",
},
{
Type: "LastUpdated",
User: "Shida",
Visible: "false",
},
]
},
{
NodeType: "Context",
Description: "description",
ThisNodeId: 3,
Children: [],
Contexts: [],
MetaData: [
{
Type: "Parameter",
C: "Value C",
A: "Value A2",
Visible: "true",
},
{
Type: "LastUpdated",
User: "Shida",
Visible: "false",
},
]
}
];