Below sections illustrate how to configure and use GIT version control in eStudio:

Downloading and Integrating GIT into eStudio

Open eStudio and perform the following operations:

  1. Go to Help menu and click the Install New Software option to open the Install New Software wizard.

     
     
  2. Click the Add button and provide the URL http://download.eclipse.org/releases/neon/ in the Add Repository dialog box and click OK.

    Icon

    The Name text box may be left blank.


     

  3. Select the Eclipse Plug-in Development Environment option under the General Purpose Tools name and click Next twice.


     
  4. Accept the Licence agreement and click Finish.


     
  5. When the installation is done, restart eStudio as it prompts to do so.


     
  6. Open the Install New Software wizard and add http://download.eclipse.org/egit/updates-2.3/. Select all features except EGit Plug-in Import Support and click Finish.


     
  7. Click Next twice, agree to the License Agreement, click Finish, and restart eStudio upon prompting.

Sharing Applications to Git

Prerequisites

Adding a property "http.sslVerify" and setting it to "false"

Before Proceeding, make sure you added a property http.sslVerify property to false. To do so, perform the operations below:

  1. Open WindowPreferences.
  2. Go to Team > GitConfiguration.
  3. Click the Add Entry button and provide the values as below:
    • Key: http.sslVerify
    • Value: false
  4. Click Apply and click OK.

Fetching the FES Unique ID

  1. Open eStudio with a new workspace.
  2. Open Connection Management perspective
  3. Login to FES-JMX with valid credentials.

    Icon

    Replace the value "localhost" in the Provider URL property with the respective IP address while connecting to a remote server.

  4. Navigate to FES-JMX > JMX Connection > Fiorano > Esb > Application > Controller > ApplicationControllerApplicationController.
  5. Right-click the ApplicationController node and click View Operations.
  6. Click getFESId() from the list of operations on the left navigation bar.
  7. Under the Operation tab, click the getFESId() button to invoke the operation to get the unique ID.



  8. Save the Unique ID that appears under the Result tab to use it in the following section.

Sharing applications to GIT

  1. Open Git Repositories view from Window > Show View > Other > Git > Git Repositories.
  2. Click the Clone a Git Repository link and add a clone to this View button.



  3. In the Clone GIT Repository window, provide the URI in the following format and click Next twice:

    URI format

    Icon

    https://github.com/<pathtorepo> 

    Icon
    • The Host and Repository path fields get auto-populated when URI is added.
    • Provide credentials under the Authentication section and enable the Store in Secure Store option to avoid the future screens from prompting for credentials.




  4. In the Local Destination panel, enter the local destination path as follows:
    %FioranoHome%\runtimedata\eStudio\workspace\.repositories\Online\<FESUniqueID>\Applications, and click Finish.

    Icon

    Use the Unique ID generated as illustrated in the Fetching the FES Unique ID section for FESUniqueID in the above path.

    Icon

    A clone of the Git repo will be added to the Git Repositories view.

     

  5. Login into the Enterprise server.

    Icon

    If the event processes from the Git Repository are not reflecting, refresh the Event Process Repository.

Adding an Event Process to Git

Event processes created in eStudio can be committed (exported) to the Git Repository by performing the following actions:

  1. Select Team > Commit.



  2. In the Commit Changes dialog box, provide some comments that signify the action, select all files, and click the Commit and Push button to save the event process in the GIT repository.


    Icon

    Check in the GIT repository to find the event process reflecting there.

     

     

  3. After committing, configure Push. Right-click the property under Remotes > origin and select Configure Push.



  4. In the Configure Push dialog box, click the Add Button and press spacebar in Remote branch textbox to select the branch from the options that appear. Click the Save and Push button.



  5. Configure Fetch also in the same manner as above.


     
  6. Right-click the shared Event Process in the Server Explorer and click Refresh to notice the change in the file name and the icon with the dirty flag.

Checking Out the Project from GIT Repository

To check out a project from GIT repository, follow the steps in the Sharing Applications to Git section and then perform the following actions:

  1. Configure Push and Fetch by following steps 3 -5 in the Adding an Event Process to Git section.
  2. Check out. Right-click the repository and click the Fetch option.



  3. Go to Branches > Remote Tracking. Right-click the sub node and click the Checkout option.
     


 

Adaptavist ThemeBuilder EngineAtlassian Confluence