Posts

iCal Expressions

  FREQ=DAILY;BYHOUR=4,5,6,7,8,9,10,11,12,13,14,15,16,17,18;BYMINUTE=0,10,20,30,40,50;BYSECOND=0; FREQ=MONTHLY;BYMONTHDAY=1,10,15;BYHOUR=5,10,15,20;BYMINUTE=15; FREQ=YEARLY;INTERVAL=3;BYMONTH=3;BYDAY=2,22; <Every Three years on May 2nd and 22nd > BYYEARDAY BYWEEKNO BYMONTH BYSETPOS WKST FREQ= “SECONDLY” / “MINUTELY” / “HOURLY” / “DAILY”/ “WEEKLY” / “MONTHLY” / “YEARLY” hour = 1DIGIT / 2DIGIT ;0 to 23 weekday = “SU” / “MO” / “TU” / “WE” / “TH” / “FR” / “SA”

Mule - API Designer - RAML - API First Development

Mulesoft support API First development method by using API Designer and Exchange server. This feature help the organizations are define and publish standard and reusable API's.   As part of  API first development strategy, we can define API's , get it reviewed by different LOB, stake holders and publish the final API for discovery and consumption.    This will help the organization to streamline the development process by reusing existing API's and speedup the delivery process.  Mulesoft provides API Designer to design and develop API definitions. API Designer will use RAML specifications to define an API.  API designer will provide mock service capabilities to test the API definition.  We can use the Public endpoints to test the API definitions from Postman or Advanced Rest Client. We can publish the API definition to Mulesoft Exchange server and this will create an API portal . API portal provides a console for documentation, mock service and sharing capabilities.  We can

Database Admin Commands

Use the following commands to test the connection and configurations.  Check the listener status lsnrctl status <Alias_FROM_listener_Or_TNSnames_ORA> iSQL command to access Postgres database. isql <alias_name> -v

Sample JAX-RS REST API Implementation

Image
 We can use different  tools and technologies to create and expose a REST API. In this blog I will explain how to create a simple JAX-RS REST API using JDeveloper.  Open Jdeveloper and create a new ADF REST Web Application Provide an application name - JaxRsSampleApp Provide a package name - xxvk.svn Select Next and Keep the default Project Name  Select Finish This will generate two projects.  RESTModel RESTWebservice Delete the RESTModel project Right click the RESTWebservice project and select new Select Java Class and provide a name. - HelloService Add following  @Path("/services") before the class definition // Note : Path can be anything Select the warning/error next to Path and select add JaxRs package to the project.  As soon as you add the JAX RS package to the project it will generate the main application Java class - GenericApplication with an extend jax.rs.core.Application Delete the default method and add the following sample method to return sample plain text.  R

SOA - Receive Message From EJB

Image
 We can use EJB service to receive message from locally deployed EJB applications. We can use the following steps to create a SOA application to consume message from an EJB. Create a SOA application  Create an empty SOA project Select the SOA project created above , right click and select New option  Select Java class and provide class name and package name and select ok If you get a prompt to select the folder then select project_name/src folder Overwrite the generated class with below sample interface code.            package svn.com.callback;           import java.util.List;           import svn.com.model.XxComStatus;    // POJO class representing incoming message structure.           public interface class_name                {                  public String exec(XxComStatus status);                } Go to SOA composite add select EJB service Provide Service Name - ConsumeEJBMessage Provide a meaningful JNDI Name - ConumeCallbackMessageEJB Provide Java Interface Name as - svn.com.

Oracle Fusion - Enable Federated SSO with Oracle Identity Cloud Service (IDCS) as Identity Provider

Image
In this blog , I will explain what all configurations we need to perform to establish a federated SSO between  IDCS which will act as IdP and Oracle Fusion - SaaS which will act as Service Provider - SP Pre - Configurations :  IDCS :  Get the Oracle IDCS - IDP Metadata XML using this link: https://<IDCS-Service-Instance>.identity.oraclecloud.com/fed/v1/metadata Save the file - IDP_Metadata.xml Note:  In case if you get an error like Page Not Working then follow the below instructions to enable certificate access.  Login to IDCS admin console.  Go to Settings Select Default Settings option Enable - "Access Signing Certificate" Save the changes.  Now access the metadata URL.    Fusion-SaaS: Get Service Provider Meta Data. Use the following URL and download the SP_MetaData.xml https://login-ics-dev1-saasfaprod1.fa.ocs.oraclecloud.com/fed/sp/metadata domain_name : ics-dev1 Get Tenant and Domain Names: Example Fusion URL - https://fa-ics-dev1-saasfaprod1.fa.ocs.oraclecloud.c

OCI - Oracle Gateway

Image
Oracle offers multiple API management tools.  API Platform Cloud Service and Oracle Native Gateway or OCI Gateway are the prominent ones.  API Platform Cloud Service will be managed by customers. Customer is responsible for managing API security and Infrastructure.  Customer needs to provision API PCS and then provision gateway server (Weblogic Server) to deploy all the application API.  API PCS provides a management console to create and manage APIs . API's will be published to gateway servers.  Gateway servers will connect and poll the changes and deploy them on to the server.  Following network flow diagram will show how the traffic flow can be configured and how the gateway servers will interact with management servers and backend applications.  API PCS Oracle offers Gateway - a fully managed service to manage APIs. Here the customer is responsible for creating and managing API definition and security.  Underlying infrastructure is managed by Oracle.   As part of OCI gateway co