@onlineapps/infrastructure-tools 1.0.49 → 1.0.50

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.
Files changed (2) hide show
  1. package/README.md +5 -4
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -80,10 +80,11 @@ Access MinIO storage for infrastructure services:
80
80
  const { StorageCore } = require('@onlineapps/infrastructure-tools');
81
81
 
82
82
  const storage = new StorageCore({
83
- endPoint: process.env.MINIO_HOST || 'api_shared_storage',
84
- port: parseInt(process.env.MINIO_PORT || '9000'),
85
- accessKey: process.env.MINIO_ACCESS_KEY || 'minioadmin',
86
- secretKey: process.env.MINIO_SECRET_KEY || 'minioadmin'
83
+ // FAIL-FAST: topology must be explicit (no defaults for hosts/credentials)
84
+ endPoint: process.env.MINIO_ENDPOINT,
85
+ port: parseInt(process.env.MINIO_PORT, 10),
86
+ accessKey: process.env.MINIO_ACCESS_KEY,
87
+ secretKey: process.env.MINIO_SECRET_KEY
87
88
  });
88
89
 
89
90
  await storage.initialize();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onlineapps/infrastructure-tools",
3
- "version": "1.0.49",
3
+ "version": "1.0.50",
4
4
  "description": "Infrastructure orchestration utilities for OA Drive infrastructure services (health tracking, queue initialization, service discovery)",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -20,7 +20,7 @@
20
20
  "dependencies": {
21
21
  "@onlineapps/mq-client-core": "1.0.67",
22
22
  "@onlineapps/service-common": "1.0.12",
23
- "@onlineapps/storage-core": "1.0.9",
23
+ "@onlineapps/storage-core": "1.0.10",
24
24
  "uuid": "^9.0.1",
25
25
  "@onlineapps/infra-logger": "^1.0.0"
26
26
  },