Merged in feature/IO-2769-Job-Totals-Testing (pull request #2253)

Feature/IO-2769 Job Totals Testing
This commit is contained in:
Dave Richer
2025-04-08 16:23:34 +00:00
2 changed files with 8 additions and 2 deletions

View File

@@ -1135,7 +1135,7 @@ export function JobsDetailHeaderActions({
} catch (err) { } catch (err) {
console.error(`Error submitting job for testing: ${err?.message}`); console.error(`Error submitting job for testing: ${err?.message}`);
notification.error({ notification.error({
message: t("genera.errors.submit-for-testing-error") message: t("general.errors.submit-for-testing-error")
}); });
} }
} }

View File

@@ -27,7 +27,13 @@ const getEnvPrefix = () => {
const envPrefix = getEnvPrefix(); const envPrefix = getEnvPrefix();
const S3_BUCKET_NAME = process.env?.NODE_ENV === "development" ? "imex-job-totals" : `job-totals-${envPrefix}`; const S3_BUCKET_NAME =
process.env?.NODE_ENV === "development"
? "imex-job-totals"
: InstanceMgr({
imex: `job-totals-${envPrefix}`,
rome: `job-totals-${envPrefix}-rome`
});
/** /**
* Generates a unique S3 key for the job totals file * Generates a unique S3 key for the job totals file