Friday, August 22, 2014

Fuse Service Works with Docker at ATL-JBUG

Next week in Atlanta, Georgia on Thursday, August 28, 2014 from 6:30 PM to 8:30 PM I will be covering Fuse Services Works on Docker with different demo scenarios.  Shadow-soft is sponsoring the meeting.  Find more information at http://www.meetup.com/ATL-JBUG/events/197801982/.

Red Hat JBoss Fuse Service Works is Red Hat’s middleware solution for application integration, messaging, SOA, and service governance requirements. It combines multiple technologies from the middleware portfolio. Camel, CXF and ActiveMQ comprise the core ESB technology, SwitchYard provides the lightweight service development framework, and Overlord provides the design-time and run-time governance.

In this talk, we’ll walk you through the Red Hat Fuse Service Works home-loan application running on Docker. This application processes a home-loan application through the system to arrive at a decision. The application uses multiple technologies, including Camel, business processes, and rules. This will provide an opportunity for some hands-on work and to learn how to:

-Run the Dockerfile to build the Docker image
-Start and interact with the container
-Run the Switchyard application
-Review the SwitchYard application and the components including Camel, business processes, and rules in the application.

Agenda:
630p - 700p - Networking & Pizza
700p - 800p - JBoss FuseService Works with Docker Talk by Kenny Peeples
800p - 830p - Wrap Up / QA

Big Data Webinar Series with Hortonworks and Data Virtualization

I will be doing 2 of the webinars with Hortonworks in September with demonstrations.  As the enterprise's big data program matures and Apache Hadoop becomes more deeply embedded in critical operations, the ability to support and operate it efficiently and reliably becomes increasingly important. To aid enterprise in operating modern data architecture at scale, Red hat and Hortonworks have collaborated to integrate HDP with Red Hat's proven platform technologies.

Join us in this interactive series, as we'll demonstrate how Red Hat JBoss Data Virtualization can integrate with Hadoop through Hive and provide users easy access to data. 
  • Webinar 1, September 3 @10am PST: Red Hat and Hortonworks: Delivering the open modern data architecture
  • Webinar 2, September 10 @10am PST: Red Hat JBoss Data Virtualization and HDP: Evolving your data into strategic asset (demo/deep dive)
  • Webinar 3, September 17 @10am PST: Red Hat JBoss and Hortonworks: Enabling the Data Lake (demo/deep dive)

Wednesday, August 20, 2014

Fuse Service Works Working Session in Madrid

This week we are having some Fuse Service Works Goodness in Madrid with a great group.   In the picture we have myself, Ben Long, Ivan McKinley, Jorges Morales and Jochen Cordes.  We are spending this week talking all things Fuse Service Works.  We have also taken some time in the evening for our host, Jorges, to show us some of the great sites of Madrid.  My favorite has been the King's palace and was going to knock on the door to see if we could hang out with him but that seemed to be frowned upon.  Maybe next time we can hang out with him walking through the palace.  We are discussing some items I have listed below which will be able to share with everyone at some point.  We have had great discussions with Keith Babo, Rob Cernich, Alan Santos and Gary Brown.

Some topics we are discussing this week:
-Migrations to Fuse Service Works
-Fuse Service Works with Docker
-Best Practices and Recommended Guidance for Fuse Service Works
-Use Cases
-Fuse Service Works Documentation
-Fuse Service Works Product Roadmap
-Run Time Governance Technology Deep Dive
-Design Time Governance Technology Deep Dive
-Switchyard Deep Dive
-Demos to share

We look forward to the rest of the week and we will share more of our work over the next couple of months.










Friday, August 15, 2014

Editing the Switchyard Configuration Files

Thanks to Ben Long who handles the Red Hat JBoss Fuse Service Works Documentation, for adding this to the product documentation.  The product documentation can be found at https://access.redhat.com/documentation/en-US/Red_Hat_JBoss_Fuse_Service_Works/. The JBoss Integration and SOA Development plugin from the Integration Stack for JBoss Developer Studio provides a graphical editor for working with the Switchyard Configuration file, switchyard.xml.  The SOA Development Plugin contains tools related to the development of Integration and SOA applications - includes support for BPEL, BPMN2, Drools, ESB, Fuse, Guvnor, jBPM, Savara and Switchyard.  When the plugin is installed and you open the switchyard.xml file, it will be open with the Switchyard Visual Multipage Editor by default.


You will notice the three tabs: Design, Domain, Source.

Design
This is the primary graphical interface for building your SwitchYard application. From here you can interact with and configure each of the application's entities, and add new entities from the Palette. The visual design is automatically converted into XML which you can view from the Source tab.

Domain
In this tab you can set additional configuration such as Domain Properties and Security configurations. You can also enable message tracing from here.

Source
From the Source tab you can see the source XML which is generated automatically from the entities configured in the Design tab







Benefits of using the graphical Editor:

1.  The editor automatically manages dependencies for a project. For example, when you add a new binding or implementation to a composite, the editor will add the necessary info to switchyard.xml and the necessary Maven dependencies to the pom.xml. If you forget to update the pom.xml, the project will not build (validate).

2.  The editor automatically manages namespaces based on the features being used and the configuration level of the project.

3.  The editor provides syntax and semantic validation, such as missing transformations and unused references.

Modifying the switchyard.xml file directly from JBoss Developer Studio:

WARNING: Red Hat recommends using the graphical editor to prevent corruption of the switchyard.xml file.  If the editor does not suit your needs then please consider submitting a request for enhancement.

1. Navigate to the src/main/resources/META-INF/switchyard.xml file in the Project Explorer window.

2. Right-click on the file and select Open with, XML Editor

Two Notes on this:

1. The default editor for this file will now be the XML Editor.  To change it back to the graphical editor, right-click on the file and select Open With, Switchyard Visual Multipage Editor.

2.  Close the switchyard.xml file (as presented by the Switchyard Visual Multipage Editor) before opening it with the XML Editor to avoid synchronization issues.  After completing your source edits, close the file and synchronize the model for the visual editor: right-click on the project in the Project Explorer, then select Mave, Update Project.

Thursday, August 14, 2014

SCAP Security Guide Source Migration

The SCAP Security Guide (SSG) Project has been hosted on FedoraHosted (https://fedorahosted.org/scap-security-guide/).  The scap-security-guide project (SSG) delivers security guidance, baselines, and associated validation mechanisms utilizing the ​Security Content Automation Protocol (SCAP)

The project provides practical security hardening advice for Red Hat products, and also links it to compliance requirements in order to ease deployment activities, such as certification and accreditation. These include requirements in the U.S. government (Federal, Defense, and Intelligence Community) as well as of the financial services and health care industries. For example, high-level and widely-accepted policies such as ​NIST 800-53 provides prose stating that System Administrators must audit "privileged user actions," but do not define what "privileged actions" are. The SSG bridges the gap between generalized policy requirements and specific implementation guidance, in SCAP formats to support automation whenever possible.

The source tree is now hosted on Github (https://github.com/OpenSCAP/scap-security-guide).  You will find JBoss EAP 5 and Fuse 6 SCAP Content in the repository.

As part of this process we'll be starting up Pull Requests, which means we volunteers who are willing to review patch submissions and approve their merge in the GitHub repo. 

Here's how to help:
---The GitHub page is https://github.com/OpenSCAP/scap-security-guide. On that page you'll be able to set your 'Watch' preferences:
* EMailed when ANYTHING happens on the site - tickets, patches, etc
* EMailed when someone asks or mentions the project (e.g., submit a pull request and says @OpenSCAP/scap-security-guide can I get a review plz?"
* EMailed never, ever
If you set your watch permissions to "Watching" you'll receive notes when people issue pull requests. This would be the notification to login and review the patch.
---Join the SSG Content Authors team: https://github.com/orgs/OpenSCAP/teams/ssg-content-authors  This gives you commit rights on the new repo.

Fuse and A-MQ 6.1 Websocket Demo

We have updated the HTML5 Websocket demonstration for Fuse and A-MQ 6.1. The
demonstration is easy to build and run. The quick steps are below as well as the videos.

A-MQ 6.1 Websocket Demonstration Github Repository: https://github.com/kpeeples/jboss-a-mq-websockets-demo
Fuse 6.1 Websocket Demonstration Github Repository: https://github.com/kpeeples/jboss-fuse-websockets-demo

Step 1: See README in 'installs' directory
Step 2: Add the Product
Step 3: Run 'init.sh' & read output
Step 4: Setup JBDS for project import, add the server
Step 5: Import projects
Step 6: Start the server through the command line or JBDS
Step 7: Install the activemq-websocket war file

karaf@root>install -s webbundle:mvn:com.fusesource.examples.websocket/web/1.0/war?Web-ContextPath=/activemq-websocket

Step 8: Start Feeder application, which will populate randomly data (stock prices) and publish them in a topic which is the topic used by websocket to expose the date to the web browser. You will find this in the 'support' directory.

start_feeder.sh

Step 9: Open your web browser and point to the following URL: 

http://localhost:8181/activemq-websocket/stocks-activemq.html

Step 10: Click on connect button, login is 'guest':'password'

consult stock prices!






Videos: