WSO2 DAS. Metadata and Rules management - wso2

I implemented a CEP demo case using WSO2 DAS:
Several event sources, realtime analytics using SiddhiQL (with queries to external data sources and applying ML models from WSO2 ML), WSO2 Dashboard.
Everything works perfectly. Great solution!
But I could't find some important (for me) features:
Metadata management. My simple case consists more than 50 objects
(streams, ex. plans, publishers, receivers). How can I manage and
support objects in complex projects (> 500 obj)? There are no
projects, tree views, libraries, object filtering,
enabling/disabling, doc labels/boxes, etc. External metadata
management tool, extensions? Any other idea?
Rules management. Rules library? GUI for creating rules for business
users? Is it possible to integrate WSO2 CEP with BRMS Tool (e.g.
JBoss Drools)?

There is no out of box metadata management feature in the WSO2CEP/WSO2DAS but for complex projects you can maintain c-apps and deploy c-apps in the runtime. Please refer DAS documentation for more details [1]. You can make analytics artifacts as a project using WSO2 developer studio which is based on Eclipse [2]
Rules related DAS artifacts could be configured by using Template Manager. This UI is for business users. Technical users can define a template for a scenario by specifying configurable values. Then business users can give values for those. As an example in a siddhi query which is checking temprature is greater than 30 degree, the value 30 could make as configurable in the template. So those 30 value could be given from template manager UI. Likewise other artifacts like spark scripts, gadgets could make configurable with templates. For more details again refer documentation [3]. There is also a blog written to explain this very briefly, you can refer that too [4], but please note that templates and configurations in the latest DAS310 is different from the blog post content
[1] https://docs.wso2.com/display/DAS300/Packaging+Artifacts+as+a+C-App+Archive
[2] https://docs.wso2.com/display/DVS380/Creating+an+Analytics+Project
[3] https://docs.wso2.com/display/DAS310/Managing+DAS+Artifacts+via+Template+Manager
[4] http://blog.tharik.org/2015/09/user-friendly-execution-management-with.html

Related

Can I bind UI components to models with Amplify Studio without DataStore enabled?

I'm exploring using AWS Amplify for a personal project. I'm finding many tutorials for data binding, using collections, building forms with the Amplify UI... all features that I am excited to use. However, I'm struggling to figure out how to use many of Amplify Studio's features without enabling Amplify DataStore, a feature that I do not need for my project (and would prefer the simplicity of an architecture without it).
I can't seem to find any documentation anywhere (in AWS docs, stackoverflow answers, google searches...) that says enabling DataStore is required to bind my models to my UI components using Amplify's UI Library.
The only message that comes close is Enable DataStore to edit your data model visually on the Data tab in Amplify Studio, suggesting that enabling DataStore is required to modify the schema.graphql file using the UI, which feels very arbitrary to me.
I can't understand why DataStore would be mandatory for so many of Amplify Studio's features, and since I can't find any documentation specifying this... I feel like I'm misunderstanding something. But Amplify Studio also seems to be hinting that DataStore is indeed required.
Can I leverage AWS Amplify Studio's UI Library feature to bind my UI components to my data models without enabling DataStore?
Digging more through the AWS documentation, I came across this:
https://docs.amplify.aws/console/data/data-model/#data-modeling-in-amplify-studio
All data models built with Studio work with Amplify DataStore out-of-the-box.
Another way to word that could be:
Building a data model with Amplify Studio requires enabling Amplify DataStore for your project.
Looks like I have to accept enabling Amplify DataStore for my project in order to leverage the rest of Amplify Studio's features.

how do you integrate gamification with sharepoint

I am planning to use open source gamification - rails based Gioco gem to for enteprise productivity and collaboration applications. I am starting with Sharepoint. While I have supporting material for gamification strategies and use of commercial software apps such as Badgeville, how can I integrate using REST/JSON API with Sharepoint?
Ideally I am looking to generate points on the gamification when users tag, upload, comment on Sharepoint and Yammer. So user action should trigger the REST API.
RedCritter has pre-built integration with SP2013 which is very easy to deploy. There are also pre-built integrations for workflow management tools like Nintex to reward granular behaviors within SharePoint.
https://redcritterconnecter.com/solutions
This is going to be tough. There are far too many places in SharePoint you'd have to handle. While SharePoint does have various event handlers which you can hook up to trigger your code, they would have to be installed farm-wide in all sites, all lists and document libraries, independently. Then you would have to somehow hook up various web parts.
Alternate strategies:
try to handle everything client-side in JavaScript — tedious in nature, error-prone, can't catch everything (e.g. Office integration beyond reach)
turn on auditing everywhere and generate info from audit logs — will be behind in time in respect to user actions, won't catch everything again (e.g. various user interface operations that don't trigger audit records)
In any case, your SharePoint farm admin won't fall in love with this. Most likely you will cause them a lot of troubles and headaches, not speaking about unwanted interferences with 3rd party solutions deployed on the farm.
My recommendation: don't waste your time, it's not worth it.
I would have to agree with Ondrej - SharePoint is fully of proprietary functionality that will be a challenge to work with. I know you had your heart set on going open source, but I know that Badgeville specifically has a SharePoint connector which might get you what you need.
http://badgeville.com/products/integration-catalog/badgeville-for-sharepoint

Browser plugin to import REST Web Services WADL file and provide invocation page

Looking for a Browser plugin that can parse a REST Web Services wadl file and present a page listing all the services and a way to invoke any of the services setting appropriate parameters.
Try Timboo.com They have about 2,000 different entries for various API Methods as "choreos" for choreographies, and you might find yours already there or you could import your defs into their system. Even DreamFactory.com or apigee.com have similar features. Which service are you interested in? Even Cloud9.com can support most of what you need. Or Node.js or Modulus.com Good luck.

Web Service Responses of Magento API

Can some people offer some light on the following questions? I believe that the following questions are very much debatable, but I just want to know the mere facts which will enlighten me & of course many others viewing this general question post.
Why does Magento API produces Web Service Responses in XML format & not in JSON format? There should be some advantages in producing the responses in XML format. I want to know those advantages mainly.
In Magento terminology, there are two API versions mentioned - "Normal API" (api/soap) & "API v2 (api/v2_soap)". What's the difference (mainly the advantages) between these two versions, & where does WSDL fit in?
If I'm to create a new Web Service, should I be targeting SOAP v1 format, or the SOAP v2 format, or both of these formats?
Can the Web Service create a general definition of WSDL, based on my requirements, in Magento? What I want is that I want to know whether the "wsdl.xml" file (residing in the "etc" folder of the Magento module) for any particular Magento API module can be generated dynamically? If I provide my required API method name, along with all the property names, types, and also the Response data types, then will I get the "wsdl.xml file dynamically generated with all the Complex Types & Methods & Messages properly mentioned?"
If possible, please provide some good links, from where this spider-webs of Magento Web Services can be thoroughly cleared.
Also, please consider my expertise in this field of Web Service as a novice one, so that based on any valuable input, I can re-frame the question.
Help appreciated & thanks a lot to everybody.
My Main point of asking this question is that I want to make new custom APIs which can be used by any systems, whether it be ERP / CRM / SAP / Cloud / anything in general.
P.S.
I tried posting this question in the Programmers Stack Exchange area, but due to the lack of available required tags (like magento, wsdl & soap), I had to post it here. If possible & required, please transfer this question to proper stack exchange area.
API is not for ajax(frontend), but to integrate Magento (frontend shop) with different ERP, CRM, SAP (backend tools) systems - to import data and get reports. That's why it's using XML.
This is not magento's terminology. This is done mainly for legacy support. So you have to use lates one - v2.
What means general definition of WSDL? WSDL describes published functionality - available calls/resources. If you don't need it you need to overwrite configuration files to not publish everything but only necessary ones or do this form admin area.
Could you tell more clear and more technically what do you need to do with API?
The API works great for normal PHP programming where you want to get something out of Magento. 'Normal' API works fine with PHP, furthermore, the resultant XML is very easy to work with in comparison to the XML that gets churned out by other APIs.
Some people have said that the Magento API is slow, which it is. However, if you move the same code into a Magento program then it still takes forever, the API code isn't much of a burden.

How to extend a website?

This is quite a concept idea. I would like to create a website that can be extend by different programmer a bit "a la facebook"
Let's me explain i want to develop a very simple core application that for example would store images and i want to develop or allow external developer to develop web app that would be able to act on the image i can take this example of an OS that would store files and you can "install" different program for example to view the files or edit.
How can i reproduce the model in the Web / cloud plateform using API ?
I hope this question make sense to any body.
Thank you by advance
Web Services. Try looking up REST and SOAP.
The Semantic Web is trying to solve this by publishing structured data with common ontologies.
See this example, describing the user's photos as RDF, using the FOAF ontology:
http://www.semanticoverflow.com/questions/201/describing-in-a-foaf-file-assets-of-a-user-photo-album-video-album-etc
The Semantic Overflow website is an excelent resource to find out more about the semantic web in general, and how creating webservices that use a common set of interfaces can allow a greater reach, because tools don't have to be specific to a website.