I am trying to do intergadget communication between two gadgets, a date range picker and an batch record line trending.
The information I found is from other products from WSO2, not for DAS 3.1.0
Is it posible to do intergadget communication between a date range and a batch record line trending?
If so, does someone have an example working of this?
Its very important for our company to know this answers, because we are trying to use the WSO2 products, but we can't if we aren't able to show the historic data in the dashboard.
For this you need to add pub-sub connection between the gadgets.
You can get the information related to inter-gadget communication on below links.
https://medium.com/#megala.11/how-to-visualize-wso2-apim-statistics-in-das-c349b3fd83a
https://docs.wso2.com/display/DS200/Configuring+Gadgets+for+Inter-gadget+Communication
https://docs.wso2.com/display/DS200/Inter-gadget+Communication
I am trying to run a stored procedure in WSO2 CEP with SQL Server 2016. Is this possible? I already looked through the documentation on this which is scarce. there is only one sample with connection to SQL Server.
Although, it looks like it is limited to selects, inserts and deletes.
I was not able to find any documentation on other driver functionality through CEP.
Also, I did find some information on other WSO2 Services, not wso2 CEP, which might allow me to run the stored procedures. If you have any information on that and who to plug CEP with those services It would help as well.
WSO2CEP is a real time analytics product which provides few SQL operations with RDBMS publisher to publish events as mentioned in the documentation [1].
Only work around would be modifying existing query defined output-event-adapters.xml file located in <CEP-Location>/repository/conf direcory. Inside the file locate <adapterConfig type="rdbms"> element and you will find properties of SQL operations such as update into like below.
<property key="updateTableRow">UPDATE $TABLE_NAME SET $COLUMN_VALUES WHERE $CONDITION</property>
You can change above like below to execute stored procedure
<property key="updateTableRow">EXEC $TABLE_NAME $COLUMN_VALUES</property>
Then in RDBMS publisher you need to change execution.mode as update.
[1] https://docs.wso2.com/display/CEP400/RDBMS+Event+Publisher
I am running the WSO2 API Manager which is then posting it's stats to BAM. However the usage stats per subscriber per API call is taking ages and eating up large amount of CPU. I am guessing since unlike most calls it is not date based the data is to large and I was wondering as I use MySql as the DB for BAM if there is a way to wipe data from it. I have found a few ways to clear the Casandra on BAM but nothing about also clearing the statistics from MySql
Thanks
If you don't need your old data you can simply drop the column families related to apim_stat in cassandra.
And then you can delete data from apim_stat tables
API_DESTINATION_SUMMARY
API_FAULT_SUMMARY
API_REQUEST_SUMMARY
API_RESPONSE_SUMMARY
API_Resource_USAGE_SUMMARY
API_THROTTLED_OUT_SUMMARY
API_VERSION_USAGE_SUMMARY
In my ESB 4.8.0, Dss is 3.1.0
I wish to insert the data reliably into database,for that i am getting one array list from client. That array i need to insert into 3 different tables.Each table gave to me returned generated key.which will help to insert into 2nd table,same process for 3rd table. for this i am using 3 different insertion operations in wso2esb using wso2dss,the insertion is happening nicely ..
#My issue is while i am inserting into 2nd or 3rd table the error has been occurred due to network issue or any data related issue. In that case my transaction could be roll back.i have done in transaction mediator but it's helpful for within the sequence . it's not reflecting to any other sequence , so how could i do this.
Please help me solve this.
My Array:-
{"uuid":"d5ec4a32-c75d-40e7-a28d-3bc363adea11","clientobservation":"client feedback","AuditeeName":"kmkale","auditorobservation":"Auditor feedback",
"QuestionsLists":{"QuestionsList":
[{"remark":"null","userid":0,"sectionQuestionMapId":423681068369563,"sectionId":377627438253095,"DataSize":0.0,"QuestionId":423547939522200,"pageId":0,"Rank":0.0,"auditid":1387444552915,"DataType":0,"answer":1,"IsAVPT":0,"chekBoxValue":0,"QuestionType":0,"IsFollowup":0,"LovType":0,"IsRemarks":0,"IsOptional":0},
{"remark":"null","userid":0,"sectionQuestionMapId":423681072203654,"sectionId":377627438777413,"DataSize":0.0,"QuestionId":423547939522435,"pageId":0,"Rank":0.0,"auditid":1387444552915,"DataType":0,"answer":1,"IsAVPT":0,"chekBoxValue":0,"QuestionType":0,"IsFollowup":0,"LovType":0,"IsRemarks":0,"IsOptional":0},
{"remark":"null","userid":0,"sectionQuestionMapId":423681072236423,"sectionId":377627438777413,"DataSize":0.0,"QuestionId":423547939522436,"pageId":0,"Rank":0.0,"auditid":1387444552915,"DataType":0,"answer":1,"IsAVPT":0,"chekBoxValue":0,"QuestionType":0,"IsFollowup":0,"LovType":0,"IsRemarks":0,"IsOptional":0},
{"remark":"null","userid":0,"sectionQuestionMapId":423681072269192,"sectionId":377627438777413,"DataSize":0.0,"QuestionId":423547939522437,"pageId":0,"Rank":0.0,"auditid":1387444552915,"DataType":0,"answer":0,"IsAVPT":0,"chekBoxValue":0,"QuestionType":0,"IsFollowup":0,"LovType":0,"IsRemarks":0,"IsOptional":0}
]},"DeviceId":"000000000000000","OUID":419978955163229,"longitude":0.0,"PartyBranchId":420523188651661,"PartyId":0,"ClientId":414474781000924,"TaskID":-1,"TemplateId":377557205353500,"Timestamp":1387444552915,"AuditorId":417823541659158,"AuditId":1387444552915,"latitude":0.0,"PScore":10,"syncStatus":0,"AScore":6}
For local transactions to work, you have to install DSS features in ESB and do the same thing instead of calling a remote DSS server. Because everything needs to be handled through a single thread and having DSS inside ESB is the only way to achieve this.
I am writing some business flow using WSO2 Process Server. I want to start a process when there is any new entry in a specific table. i.e. we do DB Polling in oracle process.
So whenever there is a new entry in table, i need to fetch those data and start processing on those data using BPEL.
The above explained scenario can be achieved using task component of WSO2 ESB. Using task component we can schedule the call to a proxy service after certain interval and we can use that proxy to fetch the data from database.