anchor.diff:  |===
   
   [[fuse-using-application-templates]]
  -=== Using Application Templates
  +=== OpenShift Source-to-Image (S2I) Workflow
   Applications are created through OpenShift Admin Console and CLI using application templates. If you have a JSON or YAML file that defines a template, you can upload the template to the project using the CLI. This saves the template to the project for repeated use by users with appropriate access to that project. You can add the remote Git repository location to the template using template parameters. This allows you to pull the application source from remote repository and built using source-to-image (S2I) method.
   
   JBoss Fuse Integration Services application templates depend on S2I builder `*ImageStreams*`, which MUST be created ONCE. The OpenShift installer creates them automatically. For users existing OpenShift setups, it can be achieved with the following command:
  
positive.code: 
  $ oc project <projectname>
  ----
  
  . Build and push the project to OpenShift. You can use following maven goals for building and pushing docker images.
  
  
negative.code: 
  The `*ImageStreams*` may be created in a namespace other than *openshift* by changing it in the command and corresponding template parameter `*IMAGE_STREAM_NAMESPACE*` when creating applications.
  
  ==== Create an Application Using Templates
  
  . Create an application template using command `*mvn archetype:generate*`. To create an application, upload the template to your current project’s template library with the following command:
  
  