User context is not properly used for some record types
Hello,
While testing the user-context ingestion for the WITSML parser, I found that for some records type, the user was not properly set. I'm using the Postman Collections from here to manually ingest records with a "real" user (not the service principal)
Well/Wellbore/Tubular works well, when querying the ingested data I can see that the createUser
is properly set to "admin-main2@testing.com" (my current user)
For WellboreMarker/Log, the created user is still the service principal account.
I checked the pod logs of the parser, and in both case I properly have this line :
user_id in Context Initialization is admin-main2@testing.com
So the correct "real" user is properly sent to the pod in both cases. Looks like the bug is inside the specific code related to the paring of these 3 record types.