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

Adapt selenium tests to work with openshift.io REST API #8396

Merged
merged 3 commits into from
Jan 22, 2018
Merged

Conversation

dmytro-ndp
Copy link
Contributor

@dmytro-ndp dmytro-ndp commented Jan 22, 2018

What does this PR do?

It involves notion "user's offline token" which is used on OSIO to obtain access token to Che by functional tests. Next environment variables hold offline token for different users:

  • CHE_TESTUSER_OFFLINE__TOKEN: offline token of default tests user;
  • CHE_ADMIN_OFFLINE__TOKEN: offline token of admin user;
  • CHE_SECOND_TESTUSER_OFFLINE__TOKEN: offline token of second test user.

Default values of offline tokens are empty values "".

It uses special service to exchange offline token to access token, and URL to such service is hold by environment variable: CHE_OFFLINE_TO_ACCESS_TOKEN_EXCHANGE_ENDPOINT.

What issues does this PR fix or reference?

#8108

Dmytro Nochevnov added 3 commits January 18, 2018 17:46
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
@dmytro-ndp dmytro-ndp added status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. kind/task Internal things, technical debt, and to-do tasks to be performed. team/production labels Jan 22, 2018
@dmytro-ndp dmytro-ndp merged commit 8919144 into master Jan 22, 2018
@dmytro-ndp dmytro-ndp deleted the che-8108 branch January 22, 2018 13:07
@benoitf benoitf added this to the 6.0.0-M5 milestone Jan 22, 2018
@benoitf benoitf removed the status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. label Jan 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/task Internal things, technical debt, and to-do tasks to be performed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants