Thursday, December 3, 2015
#458 Provisioning SOA Cloud Service
SOA Cloud Service Provisioning
I just created my SOA / Service Bus instance on SOA CS.
The process is simple and takes circa 1 to 2 hours.
The broad steps are as follows -
- Create Public/private key pair - I used puttyGen for this.
- Create Storage Containers for SOA and DB backup/recovery
- Create Database Cloud Service instance for the SOA repository
- Create SOA Service
Storage Service
You have 2 options here -
- Use the REST APIs provided
- Use a tool such as CloudBerry
REST API
You need to make 3 REST calls -
- get authorization token
- create SOA container (using the authorization token)
- create DB container (using the authorization token)
Here is the first call -
curl -v -s -X GET -H "X-Storage-User: Storage-yourIdentityDomain:yourUsername" -H "X-Storage-Pass: yourPassword" https://yourIdentityDomain.storage.oraclecloud.com/auth/v1.0
Note the values of X-Auth-Token and X-Storage-Url in the response. These will be used when creating the SOA and DB containers.
The second and third calls -
curl -v -s -X PUT -H "X-Auth-Token: X-Auth-Token" X-Storage-Url/mySOAContainer
curl -v -s -X PUT -H "X-Auth-Token: X-Auth-Token" X-Storage-Url/myDBContainer
That's it for the storage service.
DB Cloud Service
I click the Create Service button.
You see above, I need to enter my public key.
I also need to enter the Cloud Storage Container details for DB backup etc.
It will be in the format Storage-yourIdentityDomain/myDBContainer
Here's one I created earlier -
SOA Cloud Service
I click Create Instance.
Again, I use the public key.
I also need to specify the storage container for mySOAContainer.
It will be in the format Storage-yourIdentityDomain/mySOAContainer.
And that's it - wait for the magic to happen.
Once configured, you can access the usual consoles -
Here is the em console -
I will cover deployment ot SOA CS in a future post.
Friday, November 27, 2015
Tuesday, November 24, 2015
#456 Oracle BAM for right time operational intelligence
The release of SOA Suite 12.2.1 is a good time to revisit BAM.
You can use the tool to analyze data
- before,
- during
- and after business events.
BAM 12.2.1. in a major development of BAM 12.1.3 as is really worth look at.
In this introductory post I discuss the architecture and detail a simple example.
Before we get into the tool itself, I strongly suggest you look at the BAM Users Guide.
Let's create one, but first I need a project -
Now what is this Create BPM Example ?
This essentially creates a project with data objects for Oracle Business
Process Management (BPM) processes. An example in a later post!
Note: we have pre-seeded data objects -
Note: Twenty seven ready-to-use fact and dimension physical data objects and logical
data objects created as part of BPM, SOA, and BAM installation.
These can be added to the project, if required. Or else, I can create a new one.
Now the creation of data objects is done by the Administrator, the idea being
that a data object can be used in one or more projects.
So we already have our project - let's create the data object -
I click on the Administrator tab.
I add the following columns -
I add some data via the Data link -
Now I go back to the Designer and add this Data Object to the project.
Here is the query result -
Now I want to visualize this -
Check out the Properties -
Check out the Runtime-Interaction -
Here we have the ability to turn this "static" query into a continuous query, thus providing
a self-updating business view. More about that in a later post.
Now I want to use this Business View in a Dashboard -
I add my Supplier View -
I add a couple of more rows to the data object -
You can use the tool to analyze data
- before,
- during
- and after business events.
BAM 12.2.1. in a major development of BAM 12.1.3 as is really worth look at.
In this introductory post I discuss the architecture and detail a simple example.
BAM Architecture and Concepts
Before we get into the tool itself, I strongly suggest you look at the BAM Users Guide.
Chapter 1 - Understanding BAM - is well worth reading. Doc available here
Here is a precis of the Architecture section -
BAM leverages MDS to store artifact metadata - data objects etc.
The Persistence Engine is Coherence based, storing inserts, updates and deletes to data objects.
The Advanced Continuous Query Service(CQS) is essentially BAM's wrapper around the CQL engine (OEP).
When you create a Query in BAM, tables are created in CQS. The CQS listens for data changes in the Persistence Engine and passes them on to the CQL engine for processing. CQS gets the result back and passes it on to the Report Cache.
The Report Cache receives and caches query results and pushes the results on to the Dashboards.
Dashboards provide data visualisation.
The Alert Service validates query results against alert rules. e.g. alert the sales manager on orders over €10000.
Now to the tool itself -
BAM Composer
Designer
Data
To quote the ORCL docs -
Data objects in BAM are based on the process star schema. This is the star schema
standard adapted for use in process analytics. Fact tables contain measures such as process running times, and dimension tables contain dimensions such as process names.
Let's create one, but first I need a project -
Now what is this Create BPM Example ?
This essentially creates a project with data objects for Oracle Business
Process Management (BPM) processes. An example in a later post!
Note: we have pre-seeded data objects -
Note: Twenty seven ready-to-use fact and dimension physical data objects and logical
data objects created as part of BPM, SOA, and BAM installation.
These can be added to the project, if required. Or else, I can create a new one.
that a data object can be used in one or more projects.
So we already have our project - let's create the data object -
I click on the Administrator tab.
I add the following columns -
I add some data via the Data link -
Now I go back to the Designer and add this Data Object to the project.
Business Queries
I add one - for sales by Supplier
Here is the query result -
Now I want to visualize this -
Business Views
Check out the Properties -
Check out the Runtime-Interaction -
Here we have the ability to turn this "static" query into a continuous query, thus providing
a self-updating business view. More about that in a later post.
Now I want to use this Business View in a Dashboard -
I add my Supplier View -
I add a couple of more rows to the data object -
Wednesday, November 18, 2015
#455 PCS Notifications
Simple example -
A loan request is entered by jcooper, kicking off an approvals process -
jstein, the approver, gets an email -
Here is the email body -
jstein can click on the Workspace application link in the email.
Select Email as Notification Mode.
This should then pre-populate the URL, User and Password fields.
You can then register your own email address - I used my own private GMAIL address.
As the above dialogue says, you then receive an email
from Oracle Cloud asking you to confirm use of this email address -
After you confirm, you will receive another email -
That's it!
Now you can configure Notifications for your human tasks -
A loan request is entered by jcooper, kicking off an approvals process -
jstein, the approver, gets an email -
Here is the email body -
jstein can click on the Workspace application link in the email.
Notification Setup
Login to Workspace as an Admin user - click on Configuration - Settings -
Select Email as Notification Mode.
This should then pre-populate the URL, User and Password fields.
You can then register your own email address - I used my own private GMAIL address.
As the above dialogue says, you then receive an email
from Oracle Cloud asking you to confirm use of this email address -
After you confirm, you will receive another email -
That's it!
Now you can configure Notifications for your human tasks -
Subscribe to:
Posts (Atom)
