Skip to content

Commit

Permalink
MODLD-607: Configure citation team's rancher env in mod-linked-data t…
Browse files Browse the repository at this point in the history
…ests (#1636)
  • Loading branch information
pkjacob authored Nov 28, 2024
1 parent 49b8a07 commit 4e42554
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion mod-linked-data/src/main/resources/karate-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function fn() {
var config = {
baseUrl: 'http://localhost:9130',
admin: {tenant: 'diku', name: 'diku_admin', password: 'admin'},
prototypeTenant: 'fs09000000',
prototypeTenant: 'diku',

testTenant: testTenant ? testTenant : 'testtenant',
testAdmin: {tenant: testTenant, name: 'test-admin', password: 'admin'},
Expand Down Expand Up @@ -97,6 +97,13 @@ function fn() {
}
config.prototypeTenant = '${prototypeTenant}';
karate.configure('ssl',true);
} else if (env === 'rancher') {
config.baseUrl = 'https://folio-dev-citation-okapi.ci.folio.org';
config.admin = {
tenant: 'diku',
name: 'diku_admin',
password: 'admin'
};
} else if (env != null && env.match(/^ec2-\d+/)) {
// Config for FOLIO CI "folio-integration" public ec2- dns name
config.baseUrl = 'http://' + env + ':9130';
Expand Down

0 comments on commit 4e42554

Please sign in to comment.