Comments (2)
This requires to match two kind of metadata information:
- blocks loaded in the streaming analytics engine
- blocks retrieved from github repositories
The metadata for blocks from 1. are in the form:
{
"consumesInput": true,
"id": "apama.analyticsbuilder.blocks.PositionInput",
"inputs": [],
"parameters": [
{
"semanticType": "c8y_deviceOrGroupId",
"id": "deviceId",
"name": "Input Source",
"type": "any",
"description": "Defines the device or group of devices from which the position is received.",
"extendedDescription": "This can be a single device, or an object that references or contains a group of devices."
},
]
}
The metadata for blocks from 2. are in the form:
{
"name": "CreateEvent.mon",
"path": "samples/blocks/CreateEvent.mon",
"sha": "8b5c00f296baffbafb03a70d3444b47e85ddf133",
"size": 6139,
"url": "https://api.github.com/repos/SoftwareAG/apama-analytics-builder-block-sdk/contents/samples/blocks/CreateEvent.mon?ref=rel/10.18.0.x",
"html_url": "https://github.com/SoftwareAG/apama-analytics-builder-block-sdk/blob/rel/10.18.0.x/samples/blocks/CreateEvent.mon",
"git_url": "https://api.github.com/repos/SoftwareAG/apama-analytics-builder-block-sdk/git/blobs/8b5c00f296baffbafb03a70d3444b47e85ddf133",
"download_url": "https://raw.githubusercontent.com/SoftwareAG/apama-analytics-builder-block-sdk/rel/10.18.0.x/samples/blocks/CreateEvent.mon",
"type": "file",
"_links": {
"self": "https://api.github.com/repos/SoftwareAG/apama-analytics-builder-block-sdk/contents/samples/blocks/CreateEvent.mon?ref=rel/10.18.0.x",
"git": "https://api.github.com/repos/SoftwareAG/apama-analytics-builder-block-sdk/git/blobs/8b5c00f296baffbafb03a70d3444b47e85ddf133",
"html": "https://github.com/SoftwareAG/apama-analytics-builder-block-sdk/blob/rel/10.18.0.x/samples/blocks/CreateEvent.mon"
}
}
In order to get the complete block name (monitor) one has to parse the content of the EPL from github.
from cumulocity-analytics-management.
This feature is added to the latest release.
from cumulocity-analytics-management.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cumulocity-analytics-management.