Unable to create Endevor connection in Bridge for Git
search cancel

Unable to create Endevor connection in Bridge for Git

book

Article ID: 394915

calendar_today

Updated On:

Products

Endevor

Issue/Introduction

Unable to create Endevor connection after login to Endevor Bridge for Git.   It appears user do not have admin's privilege, however user ID is under the administrators list in application.yml. 

Environment

Endevor V19

B4G 2.15.9

Cause

MAPPING_ADMIN has been defined as the default role for new users in application.yml, only system admin has the ability to create Endevor connection in Bridge for Git. 

Found misconfiguration in application.yml.

app:
  # Local working directory path. It must be a permanent directory
  workdir: "C:\\XXX\\XXX\\Endevor-Git\\"

  git-bridge:
    # Instance URL (e.g http://<external-URL>)
    url: http://xx.xxx.xxx.xx

    # (Optional) Define the identifier for the Bridge for Git instance. Maximum 8 characters
    identifier:

  security:
    auth-provider: GITHUB
    

    # Administrator usernames. They are case sensitive and they must match the git server usernames.
    administrators:
      #- <admin 1>
      #- <admin 2>
      #- <admin ...>
      #- <admin n>
       - admin1                      << this has been misconfigured using TSO ID - it should be Git UserID
       - admin2

    # Default role to be assigned to new users (Allowed values: DEVELOPER, MAPPING_ADMIN)
    default-role: MAPPING_ADMIN

Resolution

Update application.yml - put corresponding git userID under git.security.administrators section.  

Restart Bridge for Git after the change made in the application.yml. 

Additional Information