Source Control

From DreamFactory
Jump to: navigation, search
DreamFactoryFeaturesSource Control
(BitBucket)
(BitBucket)
Line 8: Line 8:
 
Create your BitBucket Account and add in a repository from your GitHub account or create one.  There are plenty of tutorials online on how to do that.  See the bottom of this wiki entry for a list of some resources.
 
Create your BitBucket Account and add in a repository from your GitHub account or create one.  There are plenty of tutorials online on how to do that.  See the bottom of this wiki entry for a list of some resources.
  
*You can see the view of the repo here:
+
*You can see the view of the repo here:
[[File:Bitbucket project.png|center|850px|BitBucket repository Page|alt=BitBucket repository]]
+
  
*Set your BitBucket Permissions:
+
[[File:Bitbucket project.png|center|850px|BitBucket repository Page|alt=BitBucket repository]]
[[File:Bitbucket Permissions.png|center|850px|BitBucket Permissions|alt=BitBucket Permissions]]
+
  
* Bitbucket API Docs:
 
[[File:BitBucket API.png|center|850px|BitBucket API Docs|alt=BitBucket API Docs]]
 
  
*BitBucket Service Creation:
+
*Set your BitBucket permissions if you need to lock down any branches, etc.  Again there are tutorials and docs online that can help sort that out for you.
 +
[[File:Bitbucket Permissions.png|center|850px|BitBucket Permissions|alt=BitBucket Permissions]] 
 +
 
 +
 
 +
*Set up your service as you would any other new service.  Scroll down on the drop-down menu to Source Control and select BitBucket: 
 +
 
 
[[File:BitBucket service.png|center|850px|BitBucket Service|alt=BitBucket Service]]
 
[[File:BitBucket service.png|center|850px|BitBucket Service|alt=BitBucket Service]]
  
* Bitbucket Service Config
+
* Addin your corresponding config details and save the service.  Make sure it is set to active (this is checked by default, but always good to double check): 
 +
 
 
[[File:BitBucket config.png|center|850px|BitBucket Service Config|alt=BitBucket Service Config]]
 
[[File:BitBucket config.png|center|850px|BitBucket Service Config|alt=BitBucket Service Config]]
 +
 +
* Migrate over to the API Docs tab and click on the new service you just created, in this case, mine is called BitBucket: 
 +
 +
[[File:BitBucket API.png|center|850px|BitBucket API Docs|alt=BitBucket API Docs]]
 +
 +
*Make a call to test:
 +
 +
[[File:ApiDocsBitBucket Call.png|center|850px|BitBucket API Docs Get Call|alt=API Docs Get Call]]
 +
 +
You should see a 200 response and a listing of the resources.  You can now create script files and connect them to other services and data sources to modify your request and response data with the pre and post scripting options.  Please see our scripting tutorials for more information.
 +
 +
====Additional Resources====
 +
*[https://confluence.atlassian.com/bitbucket/tutorials-755338051.html BitBucket Tutorials] 
 +
*[https://bitbucket.org/tutorials/ Tutorial Repos]

Revision as of 16:37, 13 July 2018

Under Construction

BitBucket

Note: Currently DreamFactory only supports the BitBucket.org accounts, not the BitBucket Server accounts.

Here are some instructions to get up and running with BitBucket:

Create your BitBucket Account and add in a repository from your GitHub account or create one. There are plenty of tutorials online on how to do that. See the bottom of this wiki entry for a list of some resources.

  • You can see the view of the repo here:
BitBucket repository


  • Set your BitBucket permissions if you need to lock down any branches, etc. Again there are tutorials and docs online that can help sort that out for you.
BitBucket Permissions


  • Set up your service as you would any other new service. Scroll down on the drop-down menu to Source Control and select BitBucket:
BitBucket Service
  • Addin your corresponding config details and save the service. Make sure it is set to active (this is checked by default, but always good to double check):
BitBucket Service Config
  • Migrate over to the API Docs tab and click on the new service you just created, in this case, mine is called BitBucket:
BitBucket API Docs
  • Make a call to test:
API Docs Get Call

You should see a 200 response and a listing of the resources. You can now create script files and connect them to other services and data sources to modify your request and response data with the pre and post scripting options. Please see our scripting tutorials for more information.

Additional Resources