Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enterprise support #50

Open
gimler opened this issue Oct 25, 2017 · 5 comments
Open

enterprise support #50

gimler opened this issue Oct 25, 2017 · 5 comments
Assignees

Comments

@gimler
Copy link

gimler commented Oct 25, 2017

Add enterprise url to gemnasium config.

@gravis
Copy link
Member

gravis commented Oct 26, 2017

Hi, we will update the docs in the coming days.
Until then, you may use the env var GEMNASIUM_API_ENDPOINT, and set it to https://your-gemnasium-enterprise.tld/api/v2

thanks

@gravis
Copy link
Member

gravis commented Nov 2, 2017

In the meantime, if you're looking for a solution for Java, you should take a look at our maven plugin: https://github.com/gemnasium/gemnasium-maven-plugin

@gimler
Copy link
Author

gimler commented Nov 6, 2017

i use the latest docker image

docker pull gemnasium/enterprise:latest

env is set

docker exec -it gemnasium
env
GEMNASIUM_API_ENDPOINT=https://my-gemnasium-enterprise.tld/api/v2

i use my api key from Profile settings -> Account -> Api key

curl -vvv --user X:4exxxxxxxxxxxx9dd94fd41e1a882408937955988 -X GET https://my-gemnasium-enterprise.tld/api/v2/projects

< HTTP/1.1 404 Not Found
< Content-Security-Policy: default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval' *.uservoice.com *.stripe.com *.google-analytics.com tag.getdrip.com *.hotjar.com connect.facebook.net; frame-src *.uservoice.com *.stripe.com *.hotjar.com; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; font-src 'self' https://fonts.gstatic.com....
< Content-Type: text/plain; charset=utf-8
< Strict-Transport-Security: max-age=315360000; preload
< Vary: Origin
< X-Content-Type-Options: nosniff
< X-Frame-Options: DENY
< X-Request-Id: 7907cb565368647e201081cdde38409e
< X-Xss-Protection: 1; mode=block
< Date: Mon, 06 Nov 2017 11:43:34 GMT
< Content-Length: 19
< 
404 page not found

@groulot
Copy link
Contributor

groulot commented Nov 6, 2017

Hello,

Toolbelt needs to be adapted for the api V2 used in GEE (Api v1 is going to be deprecated on gemnasium.com).
We’re working on it right now, and expect a new release in the coming days.

@groulot
Copy link
Contributor

groulot commented Nov 13, 2017

Hello,

toolbelt with Gemnasium Enterprise support is available, in this branch : https://github.com/gemnasium/toolbelt/tree/50_api-v2

You can also use our docker image: gemnasium/toolbelt:api-v2

This will be pushed into master later this week probably, after some more testing on our part.

Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants