Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Drawio
mVer2
zoom1
simple0
inComment0
custContentId3786866736
pageId3787096075
lbox1
diagramDisplayNameUntitled Diagram-1686648060239.drawio
contentVer3
revision3
baseUrlhttps://hee-tis.atlassian.net/wiki
diagramNameUntitled Diagram-1686648060239.drawio
pCenter0
width451
links
tbstyle
height402

Proposal 3

Code Block
    from("direct:trainee")
        .multicast(AGGREGATOR)
        .parallelProcessing()
        .to("direct:trainee-details")
        .to("direct:traineenotes-get")
        .to(// gmc doctor endpoint)"direct:gmc-doctors-by-ids");
    from("direct:trainee-details")
        .setHeader(OIDC_ACCESS_TOKEN_HEADER).method(keycloakBean, GET_TOKEN_METHOD)
        .setHeader("gmcId").method(gmcIdProcessorBean, "getGmcIdOfRecommendationTrainee")
        .setHeader(AggregationKey.HEADER).constant("programme")
        .toD(serviceUrl + API_TRAINEE);
    from("direct:traineenotes-get")
        .setHeader(AggregationKey.HEADER).constant("notes")
        .toD(coreServiceUrl + API_TRAINEENOTES);
    from(/*"direct:gmcdoctorendpoint"*/)gmc-doctors-by-ids")
        .setHeader(AggregationKey.HEADER).constant("doctor")
        .setHeader("gmcIds").toD(coreServiceUrl /*gmcDoctorEndpoint*/method(gmcIdProcessorBean, "getHiddenGmcIds")
        .toD(recommendationServiceUrl + GET_DOCTORS_BY_GMC_IDS);
Drawio
mVer2
zoom1
simple0
zoominComment10
inCommentcustContentId03791454213
pageId3787096075
custContentIdlbox37914542131
diagramDisplayNameUntitled Diagram-1686904822629.drawiolbox1
contentVer1
revision1
baseUrlhttps://hee-tis.atlassian.net/wiki
diagramNameUntitled Diagram-1686904822629.drawio
pCenter0
width641
links
tbstyle
height324.5