issue #55 (closed)
This fix is for FoR (Frame-of-Reference) ,basically a header value needs to be passed with storage /query/records:batch endpoint to enable conversion of data. The mandatory values in the system to initiate this are :
- Header in request : frame-of-reference=units=SI;crs=wgs84;elevation=msl;azimuth=true north;dates=utc;
- CRS_API value in storage service at environment level which should point to CRS-CONVESRION-SERVICE Example:
- A variable
createCrsJWTToken=falseha been added in CrsConversionService.java in storage core to stop regeneration of JWTToken and to pass the original header as is. This is kept for making it non breaking for CSP. In case CSP wants to pass same authorization header, the value can be false else default value of true results in new token generated as per CSP specific implementation of generating id token.
- All test cases which were ignored earlier in PostFetchRecordsIntegrationTests.java have been enabled. Configuration discussed in 2 and 3 need to considered for passing the test cases.