Giter VIP home page Giter VIP logo

biamex's Introduction

SwitchYard on OpenShift Express

This template helps you get up and running quickly with a SwitchYard application on OpenShift Express.

Create an account at http://openshift.redhat.com/

Use the 'rhc' client tool to create a new application. These instructions assume the name 'swydapp' is used, but you can use any name you like. The application type can be 'jboss-as7' or 'jbosseap-6.0'. To include the SwitchYard modules in your application instance, include 'switchyard-0.6' in the list of cartridges as well.

rhc app create swydapp jbosseap-6.0 switchyard-0.6

Add this upstream SwitchYard repo

cd swydapp
git remote add upstream -m master git://github.com/jboss-switchyard/switchyard-openshift.git
git pull -s recursive -X theirs upstream master
git apply standalone.diff
git add .
git commit -m 'Added SwitchYard subsystem'

Then push the repo to origin

git push

That's it, you can now checkout your application at:

http://swydapp-$yourdomain.rhcloud.com

Samples deployed with your application

This repository will deploy a sample called osdemo.jar binary deployment. You can checkout the SOAP WSDL of this sample at

http://swydapp-$yourdomain.rhcloud.com/OrderService/OrderService?wsdl

You can test this application using your favourite SOAP client. A valid SOAP request is shown here:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
   xmlns:urn="urn:switchyard-quickstart:bean-service:1.0">
   <soapenv:Header/>
   <soapenv:Body>
      <urn:submitOrder>
         <order>
            <orderId>1</orderId>
            <itemId>BUTTER</itemId>
            <quantity>20</quantity>
         </order>
      </urn:submitOrder>
   </soapenv:Body>
</soapenv:Envelope>

Source development

This repository is also a barebone SwitchYard application for source development. Read more at the cloud link of your application from here, once it is deployed.

http://swydapp-$yourdomain.rhcloud.com

Remember to enable openshift profile, if you update the source files, by renaming the pom.xml's profile from

<id>switchyard</id>

We encourage developers to create an openshift account if they want to make use of the Biamex cloud facilties.

You can create an account at: http://www.openshift.com/

Once you have created and account you can send a request to join the core development team which will give you access to the cloud services.

You will need to identify your personal SSH Key via the openshift website and then you can checkout the code and begin developing.

cd workspace
git clone ssh://<YourSSHKey>@helloworldwebapp-biamex.rhcloud.com/~/git/helloworldwebapp.git/

5369f9d4c81c7a9de131a24cd485c4479dac8765

biamex's People

Contributors

mageshbk avatar cunningt avatar

Stargazers

Del Sozou avatar

Watchers

Del Sozou avatar Hussein Badakhchani avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.