Skip to content

Commit d3f8c39

Browse files
Be/feature/ri 5224 add db information (#2850)
* #RI-5224 - add added db info
1 parent 215fa83 commit d3f8c39

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

redisinsight/api/src/modules/cloud/job/jobs/create-free-database.cloud-job.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,11 @@ export class CreateFreeDatabaseCloudJob extends CloudJob {
128128
timeout: cloudConfig.cloudDatabaseConnectionTimeout,
129129
});
130130

131-
this.result = { resourceId: database.id };
131+
this.result = {
132+
resourceId: database.id,
133+
region: freeSubscription?.region,
134+
provider: freeSubscription?.provider,
135+
};
132136

133137
this.changeState({ status: CloudJobStatus.Finished });
134138

redisinsight/api/src/modules/cloud/job/jobs/create-free-subscription-and-database.cloud-job.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,11 @@ export class CreateFreeSubscriptionAndDatabaseCloudJob extends CloudJob {
6262
this.options,
6363
);
6464

65-
this.result = { resourceId: database.id };
65+
this.result = {
66+
resourceId: database.id,
67+
region: freeSubscription?.region,
68+
provider: freeSubscription?.provider,
69+
};
6670

6771
this.changeState({ status: CloudJobStatus.Finished });
6872

0 commit comments

Comments
 (0)