fribechi opened a new issue #320:
URL: https://github.com/apache/openwhisk-catalog/issues/320


   At the moment Github webhook only works with public GitHub version since it 
has harcoded the GitHub api endpoint as "http://github.com";. 
   Adding a further parameter to make this  able to be modified will enlarge 
the group of people using this feed. 
   For instance such a parameter might be named githubApi and to have 
github.com as default to prevent any change in implementations using current 
version of the feed.
   In github doc we can find that in case of GitHub Enterprise is 
https://[hostname]/api/v3
   ie https://github.myenterprise.com/api/v3.
   Thus just modifying the binding for this package in this way:
   ```
   wsk package bind /whisk.system/github myGit \
     --param githubApi github.myenterprise.com/api/v3
     --param username myGitUser \
     --param repository myGitRepo \
     --param accessToken aaaaa1111a1a1a1a1a111111aaaaaa1111aa1a1a
   ```
   anything will work correctly even in github enterprise


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to