diff --git a/README.md b/README.md index 280bd7b25e83..780cdb2e69da 100644 --- a/README.md +++ b/README.md @@ -64,4 +64,4 @@ As we've been working, we've come up with a bunch of questions that we wanted to ### Questions? Feedback? -Let us know in the [forums](https://discuss.opendistrocommunity.dev/). w00t!!! \ No newline at end of file +Let us know in the [forums](https://discuss.opendistrocommunity.dev/). w00t!!! diff --git a/packages/osd-opensearch/src/artifact.js b/packages/osd-opensearch/src/artifact.js index e5140a6203b6..fd5007ec2bdc 100644 --- a/packages/osd-opensearch/src/artifact.js +++ b/packages/osd-opensearch/src/artifact.js @@ -27,10 +27,8 @@ const { createHash } = require('crypto'); const path = require('path'); const asyncPipeline = promisify(pipeline); -const DAILY_SNAPSHOTS_BASE_URL = - 'https://storage.googleapis.com/opensearch-dashboards-ci-opensearch-snapshots-daily'; -const PERMANENT_SNAPSHOTS_BASE_URL = - 'https://storage.googleapis.com/opensearch-dashboards-ci-opensearch-snapshots-permanent'; +const DAILY_SNAPSHOTS_BASE_URL = ''; +const PERMANENT_SNAPSHOTS_BASE_URL = ''; const { cache } = require('./utils'); const { resolveCustomSnapshotUrl } = require('./custom_snapshots'); diff --git a/packages/osd-opensearch/src/artifact.test.js b/packages/osd-opensearch/src/artifact.test.js index e6a6ce8e4c66..a1116782efdf 100644 --- a/packages/osd-opensearch/src/artifact.test.js +++ b/packages/osd-opensearch/src/artifact.test.js @@ -33,10 +33,8 @@ const MOCK_VERSION = 'test-version'; const MOCK_URL = 'http://127.0.0.1:12345'; const MOCK_FILENAME = 'test-filename'; -const DAILY_SNAPSHOT_BASE_URL = - 'https://storage.googleapis.com/opensearch-dashboards-ci-opensearch-snapshots-daily'; -const PERMANENT_SNAPSHOT_BASE_URL = - 'https://storage.googleapis.com/opensearch-dashboards-ci-opensearch-snapshots-permanent'; +const DAILY_SNAPSHOT_BASE_URL = ''; +const PERMANENT_SNAPSHOT_BASE_URL = ''; const createArchive = (params = {}) => { const license = params.license || 'default'; diff --git a/packages/osd-opensearch/src/cli_commands/source.js b/packages/osd-opensearch/src/cli_commands/source.js index bd7cb5177c13..19b49531e126 100644 --- a/packages/osd-opensearch/src/cli_commands/source.js +++ b/packages/osd-opensearch/src/cli_commands/source.js @@ -24,7 +24,7 @@ const { Cluster } = require('../cluster'); exports.description = 'Build and run from source'; exports.help = (defaults = {}) => { - const { license = 'basic', password = 'changeme', 'base-path': basePath } = defaults; + const { license = 'oss', password = 'changeme', 'base-path': basePath } = defaults; return dedent` Options: diff --git a/packages/osd-opensearch/src/cluster.js b/packages/osd-opensearch/src/cluster.js index 4577fa73bca9..8d0fdb5aa50a 100644 --- a/packages/osd-opensearch/src/cluster.js +++ b/packages/osd-opensearch/src/cluster.js @@ -291,9 +291,9 @@ exports.Cluster = class Cluster { this._process = execa(OPENSEARCH_BIN, args, { cwd: installPath, env: { - ...(installPath - ? { OPENSEARCH_TMPDIR: path.resolve(installPath, 'OPENSEARCH_TMPDIR') } - : {}), + //...(installPath + //? { OPENSEARCH_TMPDIR: path.resolve(installPath, 'OPENSEARCH_TMPDIR') } + //: {}), ...process.env, ...(options.bundledJDK ? { JAVA_HOME: '' } : {}), ...(options.opensearchEnvVars || {}), diff --git a/plugins/.empty b/plugins/.empty deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/scripts/opensearch.js b/scripts/opensearch.js index 1da68c1e5160..29d991dc04a9 100644 --- a/scripts/opensearch.js +++ b/scripts/opensearch.js @@ -25,7 +25,7 @@ var osdOpenSearch = require('@osd/opensearch'); osdOpenSearch .run({ - license: 'basic', + license: 'oss', password: 'changeme', version: pkg.version, 'source-path': resolve(__dirname, '../../opensearch'), diff --git a/test/common/config.js b/test/common/config.js index 1e20033330ab..cde268bdfa32 100644 --- a/test/common/config.js +++ b/test/common/config.js @@ -50,7 +50,7 @@ export default function () { `--home.disableWelcomeScreen=true`, // Needed for async search functional tests to introduce a delay `--data.search.aggs.shardDelay.enabled=true`, - `--security.showInsecureClusterWarning=false`, + //`--security.showInsecureClusterWarning=false`, // '--telemetry.banner=false', // '--telemetry.optIn=false', // These are *very* important to have them pointing to staging diff --git a/test/common/services/index.ts b/test/common/services/index.ts index d9863353b371..e733b117a6f4 100644 --- a/test/common/services/index.ts +++ b/test/common/services/index.ts @@ -19,9 +19,9 @@ import { DeploymentProvider } from './deployment'; import { LegacyOpenSearchProvider } from './legacy_opensearch'; -import { OpenSearchearchProvider } from './opensearch'; +import { OpenSearchProvider } from './opensearch'; import { OpenSearchArchiverProvider } from './opensearch_archiver'; -import { OpenSearchDashboardsServerProvider } from './opensearch_dasboards_server'; +import { OpenSearchDashboardsServerProvider } from './opensearch_dashboards_server'; import { RetryProvider } from './retry'; import { RandomnessProvider } from './randomness'; import { SecurityServiceProvider } from './security'; @@ -29,7 +29,7 @@ import { SecurityServiceProvider } from './security'; export const services = { deployment: DeploymentProvider, legacyOpenSearch: LegacyOpenSearchProvider, - opensearch: OpenSearchearchProvider, + opensearch: OpenSearchProvider, opensearchArchiver: OpenSearchArchiverProvider, opensearchDashboardsServer: OpenSearchDashboardsServerProvider, retry: RetryProvider, diff --git a/test/common/services/legacy_es.ts b/test/common/services/legacy_opensearch.ts similarity index 100% rename from test/common/services/legacy_es.ts rename to test/common/services/legacy_opensearch.ts diff --git a/test/common/services/opensearch_archiver.ts b/test/common/services/opensearch_archiver.ts index f83422ef769f..c84707e478cf 100644 --- a/test/common/services/opensearch_archiver.ts +++ b/test/common/services/opensearch_archiver.ts @@ -22,7 +22,7 @@ import { OpenSearchArchiver } from '@osd/opensearch-archiver'; import { FtrProviderContext } from '../ftr_provider_context'; // @ts-ignore not TS yet -import * as OpenSearchDashboardsServer from './opensearch_dasboards_server'; +import * as OpenSearchDashboardsServer from './opensearch_dashboards_server'; export function OpenSearchArchiverProvider({ getService, diff --git a/test/common/services/opensearch_dashboards_server/index.ts b/test/common/services/opensearch_dashboards_server/index.ts index 7326cf64bd66..23ba236b81fb 100644 --- a/test/common/services/opensearch_dashboards_server/index.ts +++ b/test/common/services/opensearch_dashboards_server/index.ts @@ -17,6 +17,6 @@ * under the License. */ -export { OpenSearchDashboardsServerProvider } from './opensearch_dasboards_server'; +export { OpenSearchDashboardsServerProvider } from './opensearch_dashboards_server'; // @ts-ignore export { extendOpenSearchArchiver } from './extend_opensearch_archiver'; diff --git a/test/functional/apps/timelion/_expression_typeahead.js b/test/functional/apps/timeline/_expression_typeahead.js similarity index 100% rename from test/functional/apps/timelion/_expression_typeahead.js rename to test/functional/apps/timeline/_expression_typeahead.js diff --git a/test/functional/apps/timelion/index.js b/test/functional/apps/timeline/index.js similarity index 100% rename from test/functional/apps/timelion/index.js rename to test/functional/apps/timeline/index.js diff --git a/test/security_functional/config.ts b/test/security_functional/config.ts index 8f141dd160b0..d7ac4b0197f3 100644 --- a/test/security_functional/config.ts +++ b/test/security_functional/config.ts @@ -45,7 +45,7 @@ export default async function ({ readConfigFile }: FtrConfigProviderContext) { ...functionalConfig .get('osdTestServer.serverArgs') .filter((arg: string) => !arg.startsWith('--security.showInsecureClusterWarning')), - '--security.showInsecureClusterWarning=true', + // '--security.showInsecureClusterWarning=true', // Required to load new platform plugins via `--plugin-path` flag. '--env.name=development', ],