-
Story
-
Resolution: Fixed
-
Major
-
None
-
None
-
None
-
4
As an admin, I need FITS to not depend on physical file paths. This is required to make FITS a standalone service especially for Docker. Our routes depend on GET "examine" calls that use a physical path to access the file to test, locking FITS to the same server as SMX. We need to change to a PUT that includes the file as an upload. This is a little bit slower but not likely to be a bottleneck.
Rework all fits http calls to use form/data and post.
Something like this should do the trick with a file on body and http4 component.
.process(new Processor() {
@Override
public void process(Exchange exchange) throws Exception
})
.to("http4:si.fits.host/examine?headerFilterStrategy=#dropHeadersStrategy")
.log(LoggingLevel.INFO, "FITS RESPONSE BODY ${body}").end();
Deploying the standalone FITS service is handled by a separate issue.