Skip to content

Commit

Permalink
extraction to ta1 (#1699)
Browse files Browse the repository at this point in the history
  • Loading branch information
YohannParis authored and shawnyama committed Aug 14, 2023
1 parent b0c057a commit 5116c37
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions packages/client/hmi-client/src/services/models/extractions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,16 +76,16 @@ const mathmlToAMR = async (mathml: string[], framework = 'petrinet'): Promise<Mo
return response.data.result as Model;
}
}
logger.error(`MathML to AMR request failed`, { toastTitle: 'Error - extraction-service' });
logger.error(`MathML to AMR request failed`, { toastTitle: 'Error - ta1-service' });
} catch (error: unknown) {
if ((error as AxiosError).isAxiosError) {
const axiosError = error as AxiosError;
logger.error('[extraction-service]', axiosError.response?.data || axiosError.message, {
logger.error('[ta1-service]', axiosError.response?.data || axiosError.message, {
showToast: false,
toastTitle: 'Error - extraction-service'
toastTitle: 'Error - ta1-service'
});
} else {
logger.error(error, { showToast: false, toastTitle: 'Error - extraction-service' });
logger.error(error, { showToast: false, toastTitle: 'Error - ta1-service' });
}
}
return null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import jakarta.ws.rs.*;
import jakarta.ws.rs.core.Response;

@RegisterRestClient(configKey = "extraction-service-api")
@RegisterRestClient(configKey = "ta1-service-api")
@Produces(MediaType.APPLICATION_JSON)
@Tag(name = "Extraction Service")
@RegisterProvider(HmiResponseExceptionMapper.class)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ mira-metaregistry/mp-rest/url=http://34.230.33.149:8772
simulation-service/mp-rest/url=https://simulation-service.staging.terarium.ai
%dev.ciemss-service/mp-rest/url=http://localhost:3040
%prod.ciemss-service/mp-rest/url=http://${pyciemss-api}:3040
%dev.extraction-service-api/mp-rest/url=https://extraction-service.staging.terarium.ai
%prod.extraction-service-api/mp-rest/url=${extraction-service-url}
%dev.ta1-service-api/mp-rest/url=https://ta1-service.staging.terarium.ai
%prod.ta1-service-api/mp-rest/url=${ta1-service-url}
########################################################################################################################
# Native container configurations
########################################################################################################################
Expand Down

0 comments on commit 5116c37

Please sign in to comment.