Working with external source code providers
Although microServiceBus.com come with version control, you might consider using tools you’re already familiar with such as GitHub or Azure DevOps.
GitHub and Azure Devops integrations are done on Organization level. It might therefor be more convinient to bind the source code provider to the
ROOT
Organization as all Scripts and Services will then become available for all other Organizations
Tip of the day: Unless you want to keep your Scripts and Services in a separate repo, create a directory in your source control for all mSB files.
Setting up version control for GitHub
Before you begin
- Log in to GitHub. From your profile menu, select
Settings
. Scroll down and selectDeveloper settings
andPersonal access tokens
. ClickGenerate new token
. Give the token a name, set preferred expiration and select the following scopes:- repo:status
- repo_deployment
- public_repo
- admin:repo_hook
- Click the
Generate token
button and copy the token
Edit GitHub settings in microServiceBus.com
- Open microServiceBus.com and navigate to your Organization. Scroll down to the “GitHub integration” feature and click the “Edit” button.
- Provide your access token, Repo and Branch
- If you’re not using a dedicated repo you should set the
File pattern
to match which files you want to bind. E.g. “\/SourceCode\/mSB-files\/” will bind all files in the /SourceCode/mSB-files directory. - Save the settings be hitting the
SAVE
button.
This action will create GitHub Webhooks which will be available in your GitHub repo under Settings
/Webhooks
.
Setting up version control for AzureDevops
- Log in to Azure DevOps and select your instance and project. From the
User settings
menu (next to your profile) selectPersonal Access Tokens
- Give the token a name and select the following scopes:
- Code - Read
- Click “Create” and copy the token.
Edit Azure DevOps settings in microServiceBus.com
- Open microServiceBus.com and navigate to your Organization. Scroll down to the “Azure DevOps integration” feature and click the “Edit” button.
- Provide your access token, Instance, Repo, Branch and Project.
- If you’re not using a dedicated repo you should set the
File pattern
to match which files you want to bind. E.g. “\/SourceCode\/mSB-files\/” will bind all files in the /SourceCode/mSB-files directory. - Save the settings be hitting the
SAVE
button.
This action will create Service hooks which will be available in your Project under Service hooks
.
Related content:
- Home
- Active Directory integration (Single Sign On)
- microServiceBus.com API - TERM OF USE
- Integrate external ticketing system (ServiceNow)
- Integrate SIM card management
- Integrate with Azure Active Directory using ADFS
- Integrate with IoT Hub
- Using microServiceBus API
- Working with external source code providers
- Working with Meter schemas
Report bugs, broken links or missing images.. Create Issue