Currently I'm programming my own app which communicates with TFS which is owned by my university through Azure DevOps REST API 5.1. I'm trying to accomplish my own frontend client which will display and handle project board with a lot of work items. I know how to create, update, get, etc... work items through REST API but now I'm trying to accomplish live updating board. That means if somebody else change something in the board, the changes are displayed immediately also on my instance of client.
Is this accomplished by websocket communication? If not what else is used? I saw that app's on azure devops has websocket functionality, but i have no idea how do i connect to websocket on backend.
I found something called SignalR service, some research about it needed.
Thanks for help!
P.S. I'm not from english speaking country so i'm sorry about my english.
You can check out the service hook and create web hooks in tfs. The web hook can be triggered by multiple workitem events(Work item created/deleted/restored/updated) to send a JSON representation of these events to any service. So that you can accomplish live updating board.
1, First you need to write these endpoint services in your app to receive these posts triggered by the work item events.
2, Create webhook in tfs. Go to Project Settings-->Service hooks-->Create subscription-->Select Web Hooks
Select a Trigger event(eg. work items updated)-->Enter your service endpoint url and other information.
So that when a work item is updated in tfs board. The web hook will be triggered immediately to send out a post to your app service. Then your app service can process the received post and updated the changes on your instance of client.
Related
Do we have webhook available for SAP successfactor?
Do we have any webhook available where I can get the notification if any operation happened in the entity like any object is inserted in the entity then I will get notification?
Yes, it is an inplace functionality called Intelligent Services (can be found in Successfactors within transaction "Intelligent Service Center (ISC)".
There you can subscribe to different events (only the one's provided in the standard, no custom hooks possible). The subscription results in an integration center flow, where data can be passed via different protocolls to a webservice of your choice.
You can also configure a "business rule" with an intelligent service as a starting point.
If any user changes or creates new page in Atlassian Confluence, I would like to automatically send a REST request. I want to use it for pushing auto-messages in messenger (in some public channel). It is useful to see any new changes on wiki.
I found info about REST API for Atlassian Confluence:
https://developer.atlassian.com/server/confluence/confluence-rest-api-examples/
But it is about how to sent requests to Confluence.
Is it possible to generate auto requests from Atlassian Confluence?
Update: I found some information - looks like it is impossible.
https://jira.atlassian.com/browse/CONFSERVER-52487
Am I right?
You are right, unfortunately this functionality does not exist at the moment. The best way would be to write your own Confluence Plugin that binds to certain events. See https://developer.atlassian.com/server/confluence/event-listener-module/ for more information about this. Then you can send the desired requests to your messenger every time the event occurs.
Another option, but unfortunately not free, would be the "Script Runner for Confluence" plugin. This plugin provides at least a simpler way for the above solution. You only have to implement the "send request" part, as the event handling is done by the plugin and can be configured via UI. See http://scriptrunner-docs.connect.adaptavist.com/confluencecloud/script-listeners.html#_set_a_watcher_for_new_blog_posts for more information.
I created a function in azure functions that is triggered by http request.
Also I have a web app that used for clients to subscribe to my app.
My app and web app is written in .net.
My goal is to set a subscription button in the web app, so when the user subscribe it would allow me to get push notifications about new mail in his outlook inbox folder and send http requests to my azure function that includes the content of the newly received mail.
I read the doc about this API but couldnt understand it and what should I do to get my goal. Also I didn't find any examples for this.
How can I achieve my goal?
There are two options you can try for your scenario :
Option 1: you can create Function APP with Outlook connector and Microsoft flow ( you can listen for new emails using Office 365 API -> "When New Email arrives" and also can be posted the payload using http trigger function
Option 2:
Creating Push notification in your app when you received, you can push the payload to
Azure by a wehbook using Webjobs or Functions
Documentation Outlook REST API V2.0 : Push Notification
To play around with REST API use this URL :https://oauthplay.azurewebsites.net
good luck
My company was using a third party tool to download print jobs from Google. This has developed problems so we've written our own. We can register a printer, get notifications via XMPP and download jobs. All good. We'd like to download jobs from the printers already registered via the the third party tool.
We have successfully got the permission of the google account that owns the printer to manage its printers and subsequently downloaded jobs from the printer. This was achieved using a solution that issued /fetch api calls every minute. Of course, Google wants the XMPP method used so we tried to do that. After getting over an authentication issue by adding googletalk to the scope in the oAuth request we fail to get any notifications.
In summary, with our own printer we can fetch, download and get XMPP notifications but with the printer registered with the third party tool (where we don't know the client id and secret but do know the google account) we can fetch and download but not get XMPP notifications. Is there any way round this?
The XMPP messages go to the robot account that owns the printer, so I don't think you should expect to receive XMPP messages without that robot account (and corresponding XMPP JID).
Rather than work around the intentions of the API, I suggest you work with the third party. Maybe they can provide hooks into their notification queue?
I'm working on a Biztalk 2009 proof of concept project and would like to setup a basic approval workflow.
Request Vacation.
Step 1. Request Vacation.
Step 2. Route Request to Manager.
Step 3. Manager Approve / Denies Vacation.
Step 4. Update Vacation Calender / Notify Originator of Approval.
Outside of Biztalk I'll have to provide an interface for requesting vacation and approving vacation.
How do I get the list of items pending approval for my manager?
I'm confused about if the list of pending items should be maintained / queried from Biztalk, or if I need to build a separate set of tables to manage what is awaiting approval.
Any help or suggestions would be greatly appreciated!
At it's core, BizTalk is a messaging bus (okay, not really, but it's a useful abstraction). It doesn't actually store data on its own. In point of fact, I'm not sure based just on this scenario that BizTalk is your best bet. If you have SharePoint, using normal WorkFlows through SharePoint might work better for you.
That said, if the BizTalk decision has been made, I'd do the following:
Interface for requesting / approving
The Approval interface would hook into a data store (probably a SQL DB) to get a list of the "waiting approval" items.
Once the status of the item is set to "Approved" or "Denied" have SQL push data to BizTalk to kick off the rest of the process.
To your specific quesiton: yes, you'll need some place outside of BizTalk to store the requests, and the list of "pending" requests would be better generated from that store.