@ossy/platform 3.0.9 → 3.1.0

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/README.md CHANGED
@@ -53,6 +53,8 @@ The server reads configuration from:
53
53
  - `build/manifest.json` — produced by `@ossy/app build`.
54
54
  - `process.env` — used by integrations for their credentials and by startup hooks.
55
55
 
56
+ Platform integrations are **boot-time and process-global** via `IntegrationService`. Per-workspace credentials are a separate design — see [WORKSPACE-INTEGRATION-SECRETS.md](../../docs/concepts/WORKSPACE-INTEGRATION-SECRETS.md) (SPEC only; not implemented).
57
+
56
58
  Optional environment variables used by the platform itself:
57
59
 
58
60
  | Variable | Description |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ossy/platform",
3
- "version": "3.0.9",
3
+ "version": "3.1.0",
4
4
  "description": "Ossy application server runtime",
5
5
  "repository": {
6
6
  "type": "git",
@@ -54,7 +54,7 @@
54
54
  "@ossy/sdk": "^3.0.9",
55
55
  "@ossy/tokens": "^3.0.9",
56
56
  "@ossy/users": "^3.0.9",
57
- "@ossy/workspaces": "^3.0.9",
57
+ "@ossy/workspaces": "^3.1.0",
58
58
  "cookie-parser": "^1.4.7",
59
59
  "dotenv": ">=16.0.0 <18.0.0",
60
60
  "express": ">=5.0.0 <6.0.0",
@@ -74,5 +74,5 @@
74
74
  "src",
75
75
  "Dockerfile"
76
76
  ],
77
- "gitHead": "908fae28675f6c3c179d4c2eecb451e8a1af886e"
77
+ "gitHead": "9b146fb6fd9769f800863806c5bd16016508b218"
78
78
  }
package/src/Definition.js CHANGED
@@ -1,7 +1,7 @@
1
1
  export const Definition = {
2
2
  id: 'platform',
3
3
  title: 'Platform',
4
- description: 'Deployment platform configuration aligned with deployment-tools S3 platform-config.json.',
4
+ description: 'Deployment platform configuration aligned with deployment-tools platforms.json / PlatformConfig.',
5
5
  icon: 'controller',
6
6
  status: ['beta'],
7
7
  entitlementRequired: false,
@@ -1,12 +1,10 @@
1
1
  /**
2
- * Matches the shape written to S3 as `platform-config.json` by deployment-tools
3
- * (`BucketDeployment` → `Source.jsonData('platform-config.json', { ...config, awsRoleToAssume: undefined })`).
2
+ * Matches the `platforms.json` / PlatformConfig shape used by `@ossy/deployment-tools`.
4
3
  *
5
4
  * @see ossy/packages/deployment-tools/src/config/platform-config.js (PlatformConfig typedef)
6
- * @see ossy/packages/deployment-tools/src/infrastructure/container-deployment-target/container-deployment-target.js
7
5
  *
8
- * Note: `awsRoleToAssume` is intentionally omitted from the uploaded file (secret); do not store it here.
9
- * Optional `sesDomains` / `dnsRecords` are JSON text fields for arrays/objects.
6
+ * Note: `env` secret values live in `platforms.json` and Secrets Manager; do not store them here.
7
+ * Optional `domains` / `services` / `sesDomains` / `dnsRecords` / `githubDeployRepos` are JSON text fields.
10
8
  */
11
9
  export default {
12
10
  name: 'Platform config',
@@ -34,29 +32,29 @@ export default {
34
32
  type: 'text',
35
33
  },
36
34
  {
37
- name: 'awsKeyPairName',
38
- label: 'awsKeyPairName',
39
- type: 'text',
35
+ name: 'domains',
36
+ label: 'domains (JSON array — Route53 → CloudFront + ACM)',
37
+ type: 'textarea',
40
38
  },
41
39
  {
42
- name: 'awsStaticBucketName',
43
- label: 'awsStaticBucketName',
44
- type: 'text',
40
+ name: 'services',
41
+ label: 'services (JSON array — HTTP → ECS/ALB; TCP ignored)',
42
+ type: 'textarea',
45
43
  },
46
44
  {
47
- name: 'awsDeploymentSqsName',
48
- label: 'awsDeploymentSqsName',
49
- type: 'text',
45
+ name: 'githubDeployRepos',
46
+ label: 'githubDeployRepos (JSON array of owner/repo for OIDC)',
47
+ type: 'textarea',
50
48
  },
51
49
  {
52
- name: 'awsDeploymentSqsArn',
53
- label: 'awsDeploymentSqsArn',
54
- type: 'text',
50
+ name: 'sesDomains',
51
+ label: 'sesDomains (JSON array of strings, optional)',
52
+ type: 'textarea',
55
53
  },
56
54
  {
57
- name: 'ciGithubActionsRepo',
58
- label: 'ciGithubActionsRepo (org/repo)',
59
- type: 'text',
55
+ name: 'dnsRecords',
56
+ label: 'dnsRecords (JSON object, optional)',
57
+ type: 'textarea',
60
58
  },
61
59
  {
62
60
  name: 'ciDockerNetworkName',
@@ -64,14 +62,9 @@ export default {
64
62
  type: 'text',
65
63
  },
66
64
  {
67
- name: 'sesDomains',
68
- label: 'sesDomains (JSON array of strings, optional)',
69
- type: 'textarea',
70
- },
71
- {
72
- name: 'dnsRecords',
73
- label: 'dnsRecords (JSON object, optional)',
74
- type: 'textarea',
65
+ name: 'awsKeyPairName',
66
+ label: 'awsKeyPairName (unused after EC2 decommission)',
67
+ type: 'text',
75
68
  },
76
69
  {
77
70
  name: 'Notes',