Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

Table of Contents

...

Open eStudio and perform the following operations:

...

Panel
titleContents

Table of Contents

Integrating GIT into eStudio

...

  1. Close eStudio if it is opened and go to <FioranoInstaller>/eStudio folder.
  2. Open the eStudio.ini file and take a backup of the value stored in "-Djavax.net.ssl.trustStore" and replace the value with cacerts in java folder.
    1. Windows: <FioranoInstaller>\jre1.8.0_121_64\lib\security\cacerts
    2. Linux: <JAVA_HOME>/jre/lib/security/cacerts
  3. Open terminal in <FioranoInstaller>/eStudio folder and start eStudio using eStudio.exe -clean command.
  4. Go to the Help menu and click the Install New Software option to open  the Install New Software the Installation wizard.
    Image Removed 
    Image Added
     
  5. Click the Add button and provide the URL URL "http://download.eclipse.org/releases/neon/ in " in the Add Repository dialog box and click OK.
    Note

    The Name text box may be left blank.

    Image Removed
     

    Select the 
    Image Added

  6. Select the Eclipse Plug-in Development Environment option under the General Purpose Tools  name name and click Next twice.Image Removed
     
  7. Accept the Licence agreement License Agreement and click click Finish.Image Removed
     
  8. When the installation is done, restart eStudio as it prompts to do so.Image Removed
     
  9. Open the Install New Software Installation wizard and , add "http://download.eclipse.org/egit/updates-2.3/. Select all features except EGit Plug-in Import Support and click Finish.
    Image Removed
     /" and select all fields.

    Image Added

  10. Click Next twice, agree to agree to the License Agreement, click Finish, and restart .

  11. A pop-up appears asking whether you trust the certificates. Select all and click OK.

    Image Added

  12. Restart eStudio upon prompting.

...

  1. Close eStudio and replace the -Djavax.net.ssl.trustStore value with the default value "../fmq/profiles/FioranoMQ/certs/jssecacerts".
  2. Open terminal in <FioranoInstaller>/eStudio folder and start eStudio using eStudio.exe -clean command.

Clone GIT Repository

Prerequisite

Before Proceeding, ensure adding a property "make sure set the http.sslVerify property set to "false". To do so, perform the operations below:

  1. Start eStudio with a new workspace.
  2. Open Window > Preferences.
  3. Go to Team > Git > Configuration.
  4. Click the Add Entry button and provide the values as below:
    • Key:  httphttp.sslVerify
    • Value: false
  5. Click Apply and click OK.Image Removed

Cloning and Pushing/Fetching GIT Repository

  1. Open 'Online Event Process Development Perspective' and login Login to EnterpriseServer.
    Warning

    Before performing the below git operations, make sure that Event Processes present in git repository are not present in your Applications.

  2. Open Git Repositories view from Window > Show View > Other > Git > Git Open Git Repositories view from Window > Show View > Other > Git > Git Repositories.
  3. Open File Directory and navigate to %FIORANO_HOME%/runtimedata/eStudio/workspace/.repositories/Online/<uniqueID>/Applications, open terminal and perform the following operations:

    Info
    iconfalse

    Case1: Cloning and pushing Event Processes to git repository.
    Note: Before performing the below git operations, make sure that 'Event Processes' present in git repository are not present in your Applications.

    • git init
    • git remote add origin <repoURL>
    • git
    config --system core.longpaths true (for Windows OS)git remote -v
    • add .
    • git commit -m "<commitmessage>"
    • git branch -M main
    • git push -u origin main

    Case2: Cloning and fetching Event Processes from git repository.

    • git init
    • git remote add origin <repoURL>
    • git pull origin
    master
    Image Removed
    Open eStudio and Refresh 'Event Process Repository'.
    Image Removed
    • main

    Note: While performing above operations, if you are unable to access the github, perform the following operations and continue above steps:

    • git config --global --unset http.proxy
    • git config --global --unset https.proxy

      Image Added

      For github credentials, provide Personal Token generated in github account in place of password since github no longer accepts account passwords when authenticating Git operations on GitHub.com. Generate personal access-token on Github as follows:
      1. In the upper-right corner of any page, click your profile photo, then click Settings.
      2. In the left side bar, click Developer Settings.
      3. In the left side bar, click Personal access tokens.
      4. Select all the scopes and click 'Generate Token'
  4. Open eStudio, login to Enterprise Server, right-click the Event Process Repository node and click Refresh.

    Image Added

  5. Event Process Repository and Git Repositories view views will be updated.
    Image Removed
    Image Added

Configure Push and Fetch

...

Perform the following operations in the Properties panel:

  1. Right-click the property under under Remotes  > origin and select > origin and select the Configure Push option.
    Image Removed
    Image Added

  2. In the the Configure Push dialog dialog box, click the the Add Button and press spacebar in Remote branch textbox Button and press space-bar in Remote branch text-box to select the branch from the options that appear. Click the Save button.
    Image Removed
    Image Added

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

...

Checking Out/Updating the

...

Projects from GIT Repository

  1. Right-click the repository and click the Fetch option.
    Image Removed
    Image Added

  2. Go to Branches > Remote Tracking. Right, right-click the sub node, and click the Checkout Checkout option.
     
    Image Removed
    A pop-up gets
    Image Added

  3. Click the Check out Commit button in the pop-up.

    Image Added

  4. A Pop-up will be displayed; click OK.
    Image Removed
    Image Added

  5. If new event processes are added from git repo to eStudio, refreshing the Event Process Repsoitory node will update the new event processes to the workspace.

Adding an Event Process to GIT

Warningnote

Before adding Adding or committing your changes to GIT Repository, ensure updating make sure to update the local Repository by following . To do so, follow the steps in the section abovethe Checking Out/Updating the Projects from GIT Repository section.

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

  1. Select Select Team  > > Commit.
    Image Removed
    Image Added

  2. In the Commit Changes dialog box, provide some comments that signify the actionthe Git Staging view, select all files related to the Application changed, and click the the related files of the corresponding event process and move from the Unstaged Changes panel to the Staged Changes panel. Provide a description in the Commit Message section and click the Commit and Push button to save the event process in the GIT repository.
    Image Removed
    Info

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


    Image Added

  3. A pop-up appears asking for git credentials. Provide git user credentials, but make sure to provide git token in place of password.

    Image Added
    Anchor
    _GoBack
    _GoBack
Adaptavist ThemeBuilder EngineAtlassian Confluence