@oneuptime/common 10.8.1 → 10.8.2
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/Models/DatabaseModels/CloudResourceInstance.ts +1 -2
- package/Models/DatabaseModels/CloudResourceOwnerTeam.ts +1 -2
- package/Models/DatabaseModels/CloudResourceOwnerUser.ts +1 -2
- package/Models/DatabaseModels/TelemetryException.ts +3 -2
- package/Server/Infrastructure/Postgres/SchemaMigrations/1780931863719-AddTelemetryResourceMetadataColumns.ts +1 -3
- package/Server/Infrastructure/Postgres/SchemaMigrations/1780933132562-AddServerlessFunctionTables.ts +6 -2
- package/Server/Infrastructure/Postgres/SchemaMigrations/1780935387827-AddCloudResourceTables.ts +18 -6
- package/Server/Infrastructure/Postgres/SchemaMigrations/1781011482945-MigrationName.ts +2317 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/Index.ts +2 -0
- package/Server/Services/CloudResourceLabelRuleEngineService.ts +4 -1
- package/Server/Services/CloudResourceOwnerRuleEngineService.ts +4 -1
- package/Server/Services/OpenTelemetryIngestService.ts +3 -1
- package/Server/Services/RumApplicationLabelRuleEngineService.ts +4 -1
- package/Server/Services/RumApplicationOwnerRuleEngineService.ts +4 -1
- package/Server/Services/ServerlessFunctionInstanceService.ts +4 -2
- package/Server/Services/ServerlessFunctionLabelRuleEngineService.ts +7 -2
- package/Server/Services/ServerlessFunctionOwnerRuleEngineService.ts +7 -2
- package/Server/Utils/Telemetry/ResourceFacetResolver.ts +4 -3
- package/Types/Permission.ts +4 -2
- package/UI/Components/BulkUpdate/BulkLabelActions.tsx +14 -14
- package/UI/Components/Forms/Fields/FormField.tsx +18 -12
- package/UI/Components/Input/Input.tsx +3 -1
- package/UI/Components/TextArea/TextArea.tsx +3 -1
- package/UI/Components/Toast/Toast.tsx +4 -2
- package/build/dist/Models/DatabaseModels/CloudResourceInstance.js.map +1 -1
- package/build/dist/Models/DatabaseModels/CloudResourceOwnerTeam.js.map +1 -1
- package/build/dist/Models/DatabaseModels/CloudResourceOwnerUser.js.map +1 -1
- package/build/dist/Models/DatabaseModels/TelemetryException.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1780931863719-AddTelemetryResourceMetadataColumns.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1780933132562-AddServerlessFunctionTables.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1780935387827-AddCloudResourceTables.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1781011482945-MigrationName.js +798 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1781011482945-MigrationName.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/Index.js +2 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/Index.js.map +1 -1
- package/build/dist/Server/Services/CloudResourceLabelRuleEngineService.js.map +1 -1
- package/build/dist/Server/Services/CloudResourceOwnerRuleEngineService.js.map +1 -1
- package/build/dist/Server/Services/OpenTelemetryIngestService.js.map +1 -1
- package/build/dist/Server/Services/RumApplicationLabelRuleEngineService.js.map +1 -1
- package/build/dist/Server/Services/RumApplicationOwnerRuleEngineService.js.map +1 -1
- package/build/dist/Server/Services/ServerlessFunctionInstanceService.js +4 -2
- package/build/dist/Server/Services/ServerlessFunctionInstanceService.js.map +1 -1
- package/build/dist/Server/Services/ServerlessFunctionLabelRuleEngineService.js +2 -1
- package/build/dist/Server/Services/ServerlessFunctionLabelRuleEngineService.js.map +1 -1
- package/build/dist/Server/Services/ServerlessFunctionOwnerRuleEngineService.js +2 -1
- package/build/dist/Server/Services/ServerlessFunctionOwnerRuleEngineService.js.map +1 -1
- package/build/dist/Server/Utils/Telemetry/ResourceFacetResolver.js.map +1 -1
- package/build/dist/Types/Permission.js.map +1 -1
- package/build/dist/UI/Components/BulkUpdate/BulkLabelActions.js.map +1 -1
- package/build/dist/UI/Components/Forms/Fields/FormField.js +15 -12
- package/build/dist/UI/Components/Forms/Fields/FormField.js.map +1 -1
- package/build/dist/UI/Components/Input/Input.js +3 -1
- package/build/dist/UI/Components/Input/Input.js.map +1 -1
- package/build/dist/UI/Components/TextArea/TextArea.js +3 -1
- package/build/dist/UI/Components/TextArea/TextArea.js.map +1 -1
- package/build/dist/UI/Components/Toast/Toast.js +4 -2
- package/build/dist/UI/Components/Toast/Toast.js.map +1 -1
- package/package.json +1 -1
|
@@ -140,8 +140,7 @@ export default class CloudResourceInstance extends BaseModel {
|
|
|
140
140
|
type: TableColumnType.ShortText,
|
|
141
141
|
canReadOnRelationQuery: true,
|
|
142
142
|
title: "Instance Name",
|
|
143
|
-
description:
|
|
144
|
-
"service.instance.id value identifying this instance / task.",
|
|
143
|
+
description: "service.instance.id value identifying this instance / task.",
|
|
145
144
|
})
|
|
146
145
|
@Column({
|
|
147
146
|
nullable: false,
|
|
@@ -258,8 +258,7 @@ export default class CloudResourceOwnerTeam extends BaseModel {
|
|
|
258
258
|
type: TableColumnType.Entity,
|
|
259
259
|
modelType: CloudResource,
|
|
260
260
|
title: "Cloud Resource",
|
|
261
|
-
description:
|
|
262
|
-
"Relation to Cloud Resource in which this object belongs",
|
|
261
|
+
description: "Relation to Cloud Resource in which this object belongs",
|
|
263
262
|
})
|
|
264
263
|
@ManyToOne(
|
|
265
264
|
() => {
|
|
@@ -221,8 +221,7 @@ export default class CloudResourceOwnerUser extends BaseModel {
|
|
|
221
221
|
type: TableColumnType.Entity,
|
|
222
222
|
modelType: CloudResource,
|
|
223
223
|
title: "Cloud Resource",
|
|
224
|
-
description:
|
|
225
|
-
"Relation to Cloud Resource in which this object belongs",
|
|
224
|
+
description: "Relation to Cloud Resource in which this object belongs",
|
|
226
225
|
})
|
|
227
226
|
@ManyToOne(
|
|
228
227
|
() => {
|
|
@@ -68,9 +68,7 @@ export class AddTelemetryResourceMetadataColumns1780931863719
|
|
|
68
68
|
|
|
69
69
|
public async down(queryRunner: QueryRunner): Promise<void> {
|
|
70
70
|
// Host
|
|
71
|
-
await queryRunner.query(
|
|
72
|
-
`ALTER TABLE "Host" DROP COLUMN "cloudAccountId"`,
|
|
73
|
-
);
|
|
71
|
+
await queryRunner.query(`ALTER TABLE "Host" DROP COLUMN "cloudAccountId"`);
|
|
74
72
|
await queryRunner.query(`ALTER TABLE "Host" DROP COLUMN "cloudRegion"`);
|
|
75
73
|
await queryRunner.query(`ALTER TABLE "Host" DROP COLUMN "cloudPlatform"`);
|
|
76
74
|
await queryRunner.query(`ALTER TABLE "Host" DROP COLUMN "cloudProvider"`);
|
package/Server/Infrastructure/Postgres/SchemaMigrations/1780933132562-AddServerlessFunctionTables.ts
CHANGED
|
@@ -175,7 +175,9 @@ export class AddServerlessFunctionTables1780933132562
|
|
|
175
175
|
await queryRunner.query(
|
|
176
176
|
`DROP INDEX "public"."IDX_SrvlessFnOwnerUser_notified"`,
|
|
177
177
|
);
|
|
178
|
-
await queryRunner.query(
|
|
178
|
+
await queryRunner.query(
|
|
179
|
+
`DROP INDEX "public"."IDX_SrvlessFnOwnerUser_fnId"`,
|
|
180
|
+
);
|
|
179
181
|
await queryRunner.query(
|
|
180
182
|
`DROP INDEX "public"."IDX_SrvlessFnOwnerUser_userId"`,
|
|
181
183
|
);
|
|
@@ -186,7 +188,9 @@ export class AddServerlessFunctionTables1780933132562
|
|
|
186
188
|
await queryRunner.query(
|
|
187
189
|
`DROP INDEX "public"."IDX_SrvlessFnOwnerTeam_notified"`,
|
|
188
190
|
);
|
|
189
|
-
await queryRunner.query(
|
|
191
|
+
await queryRunner.query(
|
|
192
|
+
`DROP INDEX "public"."IDX_SrvlessFnOwnerTeam_fnId"`,
|
|
193
|
+
);
|
|
190
194
|
await queryRunner.query(
|
|
191
195
|
`DROP INDEX "public"."IDX_SrvlessFnOwnerTeam_teamId"`,
|
|
192
196
|
);
|
package/Server/Infrastructure/Postgres/SchemaMigrations/1780935387827-AddCloudResourceTables.ts
CHANGED
|
@@ -166,13 +166,19 @@ export class AddCloudResourceTables1780935387827 implements MigrationInterface {
|
|
|
166
166
|
await queryRunner.query(
|
|
167
167
|
`DROP INDEX "public"."IDX_CloudResourceLabel_labelId"`,
|
|
168
168
|
);
|
|
169
|
-
await queryRunner.query(
|
|
169
|
+
await queryRunner.query(
|
|
170
|
+
`DROP INDEX "public"."IDX_CloudResourceLabel_resId"`,
|
|
171
|
+
);
|
|
170
172
|
await queryRunner.query(`DROP TABLE "CloudResourceLabel"`);
|
|
171
173
|
await queryRunner.query(
|
|
172
174
|
`DROP INDEX "public"."IDX_CloudResOwnerUser_notified"`,
|
|
173
175
|
);
|
|
174
|
-
await queryRunner.query(
|
|
175
|
-
|
|
176
|
+
await queryRunner.query(
|
|
177
|
+
`DROP INDEX "public"."IDX_CloudResOwnerUser_resId"`,
|
|
178
|
+
);
|
|
179
|
+
await queryRunner.query(
|
|
180
|
+
`DROP INDEX "public"."IDX_CloudResOwnerUser_userId"`,
|
|
181
|
+
);
|
|
176
182
|
await queryRunner.query(
|
|
177
183
|
`DROP INDEX "public"."IDX_CloudResOwnerUser_projectId"`,
|
|
178
184
|
);
|
|
@@ -180,8 +186,12 @@ export class AddCloudResourceTables1780935387827 implements MigrationInterface {
|
|
|
180
186
|
await queryRunner.query(
|
|
181
187
|
`DROP INDEX "public"."IDX_CloudResOwnerTeam_notified"`,
|
|
182
188
|
);
|
|
183
|
-
await queryRunner.query(
|
|
184
|
-
|
|
189
|
+
await queryRunner.query(
|
|
190
|
+
`DROP INDEX "public"."IDX_CloudResOwnerTeam_resId"`,
|
|
191
|
+
);
|
|
192
|
+
await queryRunner.query(
|
|
193
|
+
`DROP INDEX "public"."IDX_CloudResOwnerTeam_teamId"`,
|
|
194
|
+
);
|
|
185
195
|
await queryRunner.query(
|
|
186
196
|
`DROP INDEX "public"."IDX_CloudResOwnerTeam_projectId"`,
|
|
187
197
|
);
|
|
@@ -189,7 +199,9 @@ export class AddCloudResourceTables1780935387827 implements MigrationInterface {
|
|
|
189
199
|
await queryRunner.query(
|
|
190
200
|
`DROP INDEX "public"."UQ_CloudResource_project_resId"`,
|
|
191
201
|
);
|
|
192
|
-
await queryRunner.query(
|
|
202
|
+
await queryRunner.query(
|
|
203
|
+
`DROP INDEX "public"."IDX_CloudResource_projectId"`,
|
|
204
|
+
);
|
|
193
205
|
await queryRunner.query(`DROP TABLE "CloudResource"`);
|
|
194
206
|
}
|
|
195
207
|
}
|