Fusion Applications Social Network Integration is a new sample the A-Team have produced and published as a downloadable solution, complete with source code.
As announced in this blog article, we have recently announced the availabiltiy of a code sample which demostrates how a customer can integrate Oracle Fusion Applications with Microsoft Teams. The sample implements a range of functionality from allowing users the ability to create conversations for a business object , receiving change events from Oracle Fusion etc.
This document details the architecture and design patterns used in this solution and should be read in conjunction to the documentation available in the code sample. The code sample is downloadable from https://www.oracle.com/middleware/technologies/fusion-applications-downloads.html
For this solution we implemented the following design principles:
The user interface is built using the Oracle VBCS service. This is a low code development environment which integrates natively with Oracle Integration Cloud Integration and natively supports single sign on with Oracle Fusion. Oracle Integration Cloud Service comes in a licensable SKU which includes Visual Builder Cloud Service, this is advantageous as it means VBCS and Integration cloud are hosted on the same server and only one single sign on association needs to be done with Oracle Fusion.
Oracle VBCS also comes with an inbuilt 5GB fully manage database, this is used to store metadata (not conversation data) . This database is fully managed by Oracle VBCS.
When the VBCS page is embeded the VBCS application it makes calls to Oracle Integration Cloud. These calls only three parameters to be passed (to OIC)
OIC uses these values to validate that the user has access to the object and for the creation of the conversations in Microsoft Teams.
The Integration layer used in this solution is called “Oracle Integration Cloud”, aka OIC, which is a part of Integration Cloud Service. This service provides several REST endpoints that VBCS can call and in turn calls to Microsoft Teams are performed.
The API used between VBCS and OIC is generic and not specific to Microsoft Teams as the backend. In the future it would be possible to switch out Microsoft Teams and implement an integration layer for Slack, Zoom etc for very little, if any, changes to the UI.
OIC provides several integration flows but the most important one is the one which queries conversation data.
When we call OIC requesting conversation data, VBCS passes the objectId, objectType and a JWT token.
OIC then does several steps:
The integration layer also contains APIS for the creation of channels, the querying of Microsoft Teams metadata etc. For more information please see the documentation in the download package.
The embedded VBCS Database contains three business objects. We use these objects to store metadata for the integration. The most important one being the mapping between the fusion object ID / Type tuple and the Microsoft Teams team id. The inbuilt 5Gb database will be suitable for most users but if needed VBCS runtime allows us to associate an Autonomous Oracle Database to VBCS for customers who require greater database storage.
For Application Composer (aka App Composer) the UI is a traditional web mash up where we embed the VBCS UI within a mashup. We pass the object type and object ID using a very simple groovy script.
For page composer objects things are a little different. On the desired page we use page composer to add a html component to the page.
This html component contains html, and CSS, to:
For more information please see the installation guide for the Fusion Applications and Microsoft Teams Integration, whilst this document focuses on the installation of the sample it also contains all the technical details on how the solution works. The sample can be downloaded from https://www.oracle.com/middleware/technologies/fusion-applications-downloads.html
25+ years of Oracle experience, specialising in Technical design and design authority of Oracle Technology solutions, specialising in integrating technology with Oracles SaaS products.
Extensive credible communication skills at all levels, from hard core developers to C-Level executives.
Specialities: Oracle Fusion Apps Integration, Oracle Cloud products, SaaS Integration architectures, Engaging with SIs & ISVs, Technical Enablement, Customer Design Reviews, advisory and project coaching.
TOGAF 9 Architect and Oracle Cloud Infrastructure Architect Certified