Deploying the Client Application

The following steps describe how to deploy the service application to your Cloud Foundry environment using the cf command line interface tool.

Procedure

  1. Log into your Cloud Foundry environment using the cf command line interface.
  2. Copy the manifest file from the samples directory to the location where you placed your EAR file in the previous section.
  3. Edit the path variable in the manifest-client.yml file.
  4. Set the path to the location of the EAR file.
  5. Check the user provided or managed service name, it should match with the service in your Cloud Foundry environment.
    As the manifest file contains the name of the Eureka service, the EUREKA-Registry service will automatically bind to this application at deployment.
  6. Save the file.
  7. In your Cloud Foundry environment navigate to the directory where you placed your EAR file.
  8. Execute the following command:
    
    cf push -f manifest-client.yml
    
    
    To see the log output use the command cf logs <application name> --recent. For example,
    
    cf logs bwce-helloworld-client --recent
    
    

    When the application deploys successfully, using a browser access the application using it's routable URL.

    You should see the following output:

    "Hello from TIBCO"