Two flags were initially introduced to independently customize timemap and timegate base URL for rewriting. This was useful where MemGator was not full featured and one might want to advertise a different service to off load certain responsibilities. However, it is not needed anymore and as far as we know it was never utilized. Additionally, it creates confusion and needed better documentation to explain the purpose. The --service flag on the other hand is very useful, especially when the MemGator is running behind a reverse proxy or load balancer, so we will keep that and will remove --timegate and --timemap flags.
-g, --timegate=http://{SERVICE}/timegate TimeGate base URL - default based on service URL
-m, --timemap=http://{SERVICE}/timemap TimeMap base URL - default based on service URL
-s, --service=http://{HOST}[:{PORT}] Service base URL - default based on host & port
Two flags were initially introduced to independently customize
timemap
andtimegate
base URL for rewriting. This was useful where MemGator was not full featured and one might want to advertise a different service to off load certain responsibilities. However, it is not needed anymore and as far as we know it was never utilized. Additionally, it creates confusion and needed better documentation to explain the purpose. The--service
flag on the other hand is very useful, especially when the MemGator is running behind a reverse proxy or load balancer, so we will keep that and will remove--timegate
and--timemap
flags.