Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
Indexer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OSDU
OSDU Data Platform
System
Indexer
Commits
0b91a747
Commit
0b91a747
authored
1 month ago
by
Andrew Case
Browse files
Options
Downloads
Patches
Plain Diff
Updated token name
parent
c24b8e7c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!864
Acceptance test new module
Pipeline
#308552
passed
1 month ago
Stage: build
Stage: coverage
Stage: scan
Stage: publish
Stage: deploy
Changes
2
Pipelines
5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
indexer-acceptance-test/docs/README.md
+3
-3
3 additions, 3 deletions
indexer-acceptance-test/docs/README.md
indexer-acceptance-test/src/test/java/org/opengroup/osdu/util/AnthosHTTPClient.java
+2
-2
2 additions, 2 deletions
...c/test/java/org/opengroup/osdu/util/AnthosHTTPClient.java
with
5 additions
and
5 deletions
indexer-acceptance-test/docs/README.md
+
3
−
3
View file @
0b91a747
...
...
@@ -28,9 +28,9 @@ Authentication can be provided as OIDC config:
|
`ELASTIC_PORT`
| ex
`9243`
| Port Elasticsearch | yes | output of infrastructure deployment |
Or tokens can be used directly from env variables:
| name | value | description | sensitive? | source |
|-------------------|------------|-----------------------|------------|--------|
|
`PRIVILEGED_USER`
|
`********`
| PRIVILEGED_USER Token | yes | - |
| name
| value | description | sensitive? | source |
|-------------------
------
|------------|-----------------------|------------|--------|
|
`PRIVILEGED_USER
_TOKEN
`
|
`********`
| PRIVILEGED_USER Token | yes | - |
#### Entitlements configuration for Integration Accounts
...
...
This diff is collapsed.
Click to expand it.
indexer-acceptance-test/src/test/java/org/opengroup/osdu/util/AnthosHTTPClient.java
+
2
−
2
View file @
0b91a747
...
...
@@ -25,12 +25,12 @@ import lombok.extern.java.Log;
@ToString
public
class
AnthosHTTPClient
extends
HTTPClient
{
public
static
final
String
INTEGRATION_TEST
ER_TOKEN
=
"ROOT_USER_TOKEN"
;
public
static
final
String
PRIVILEGED_US
ER_TOKEN
=
"ROOT_USER_TOKEN"
;
private
static
String
token
=
null
;
private
static
OpenIDTokenProvider
openIDTokenProvider
;
public
AnthosHTTPClient
()
{
token
=
System
.
getProperty
(
INTEGRATION_TEST
ER_TOKEN
,
System
.
getenv
(
INTEGRATION_TEST
ER_TOKEN
));
token
=
System
.
getProperty
(
PRIVILEGED_US
ER_TOKEN
,
System
.
getenv
(
PRIVILEGED_US
ER_TOKEN
));
if
(
Strings
.
isNullOrEmpty
(
token
))
{
openIDTokenProvider
=
new
OpenIDTokenProvider
();
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment