SDMS commit "feat: GONRG-6259: Add osdu google" causes import error when running
While testing a problem, at run time the service gets confused because of the "Auth" import that was include in your commit. feat: GONRG-6259: Add osdu google
The file in question: gc/index.ts
When our Dataset Parser uses the Auth.isImpersonationToken() method it goes to your file instead of its proper location Auth.ts class.
This is causing an issue. While using Azure it goes to your method and returns false for all tokens that it checks even if it is an actual impersonation token. Because it is NOT properly identifying the token as an impersonation token, incorrect information is passed into a new Dataset's metadata.
Please take some time to remedy this, as it affects more than just your added files
Edited by Rashaad Gray