@backstage/plugin-search-backend-module-elasticsearch 1.3.16-next.0 → 1.3.17-next.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # @backstage/plugin-search-backend-module-elasticsearch
2
2
 
3
+ ## 1.3.17-next.1
4
+
5
+ ### Patch Changes
6
+
7
+ - e1f73d0: Added config.d.ts entry with secrets for the shared auth block
8
+ - Updated dependencies
9
+ - @backstage/config@1.2.0-next.1
10
+ - @backstage/backend-common@0.21.4-next.1
11
+ - @backstage/backend-plugin-api@0.6.14-next.1
12
+ - @backstage/integration-aws-node@0.1.10-next.1
13
+ - @backstage/plugin-search-backend-node@1.2.18-next.1
14
+ - @backstage/plugin-search-common@1.2.11-next.1
15
+
3
16
  ## 1.3.16-next.0
4
17
 
5
18
  ### Patch Changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-search-backend-module-elasticsearch",
3
- "version": "1.3.16-next.0",
3
+ "version": "1.3.17-next.1",
4
4
  "main": "../dist/alpha.cjs.js",
5
5
  "types": "../dist/alpha.d.ts"
6
6
  }
package/config.d.ts CHANGED
@@ -212,6 +212,33 @@ export interface Config {
212
212
  };
213
213
  }
214
214
  );
215
+
216
+ /**
217
+ * Authentication credentials for ElasticSearch. These are fallback
218
+ * credentials - in most cases, for known specific ES implementations, the
219
+ * respective auth block inside the clientOptions above will be used.
220
+ *
221
+ * If both ApiKey/Bearer token and username+password is provided, tokens
222
+ * take precedence
223
+ */
224
+ auth?:
225
+ | {
226
+ username: string;
227
+
228
+ /**
229
+ * @visibility secret
230
+ */
231
+ password: string;
232
+ }
233
+ | {
234
+ /**
235
+ * Base64 Encoded API key to be used to connect to the cluster.
236
+ * See: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-create-api-key.html
237
+ *
238
+ * @visibility secret
239
+ */
240
+ apiKey: string;
241
+ };
215
242
  };
216
243
  };
217
244
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-search-backend-module-elasticsearch",
3
- "version": "1.3.16-next.0",
3
+ "version": "1.3.17-next.1",
4
4
  "description": "A module for the search backend that implements search using ElasticSearch",
5
5
  "backstage": {
6
6
  "role": "backend-plugin-module"
@@ -45,12 +45,12 @@
45
45
  "test": "backstage-cli package test"
46
46
  },
47
47
  "dependencies": {
48
- "@backstage/backend-common": "^0.21.3-next.0",
49
- "@backstage/backend-plugin-api": "^0.6.13-next.0",
50
- "@backstage/config": "^1.1.2-next.0",
51
- "@backstage/integration-aws-node": "^0.1.10-next.0",
52
- "@backstage/plugin-search-backend-node": "^1.2.17-next.0",
53
- "@backstage/plugin-search-common": "^1.2.11-next.0",
48
+ "@backstage/backend-common": "^0.21.4-next.1",
49
+ "@backstage/backend-plugin-api": "^0.6.14-next.1",
50
+ "@backstage/config": "^1.2.0-next.1",
51
+ "@backstage/integration-aws-node": "^0.1.10-next.1",
52
+ "@backstage/plugin-search-backend-node": "^1.2.18-next.1",
53
+ "@backstage/plugin-search-common": "^1.2.11-next.1",
54
54
  "@elastic/elasticsearch": "^7.13.0",
55
55
  "@opensearch-project/opensearch": "^2.2.1",
56
56
  "aws4": "^1.12.0",
@@ -60,8 +60,8 @@
60
60
  "winston": "^3.2.1"
61
61
  },
62
62
  "devDependencies": {
63
- "@backstage/backend-common": "^0.21.3-next.0",
64
- "@backstage/cli": "^0.25.3-next.0",
63
+ "@backstage/backend-common": "^0.21.4-next.1",
64
+ "@backstage/cli": "^0.25.3-next.1",
65
65
  "@elastic/elasticsearch-mock": "^1.0.0",
66
66
  "@short.io/opensearch-mock": "^0.3.1"
67
67
  },