-
-
Notifications
You must be signed in to change notification settings - Fork 251
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Resolves issue #1 - Enables Bitbucket Auth and Repo
- Loading branch information
Showing
40 changed files
with
1,135 additions
and
399 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import { Env } from './Env.js'; | ||
|
||
class BitbucketEnv extends Env { | ||
constructor () { | ||
super('Bitbucket'); | ||
} | ||
|
||
get prefix () { | ||
return 'BITBUCKET_'; | ||
} | ||
|
||
get properties () { | ||
return [ | ||
{ key: 'CLIENT_ID', required: false }, | ||
{ key: 'CLIENT_SECRET', required: false }, | ||
{ key: 'SCOPE', required: false }, | ||
{ key: 'ENTERPRISE_HOSTNAME', required: false }, | ||
{ key: 'ENTERPRISE_PROTOCOL', required: false }, | ||
{ key: 'ENTERPRISE_PORT', required: false }, | ||
{ key: 'USE_SEARCH', required: false }, | ||
{ key: 'SEARCH_QUERY', required: false }, | ||
{ key: 'WORKSPACE', required: false } | ||
]; | ||
} | ||
} | ||
|
||
export default BitbucketEnv; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.