Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

control-service: add team to job deployment #505

Merged
merged 1 commit into from
Nov 12, 2021

Conversation

versatile-data-kit-dev
Copy link
Contributor

Issue: #403

API clearly defines that a unique data job ID is a composite of team
and job name. But we are missing that when reporting job deployment

This causes any reports relying on the correct owner team not to work
properly.

Testing Done: ran control service locally with telemetry webhook set to
https://requestbin.com and saw telemetry contains dataJobTeam

{
"class_name_full" :
"com.vmware.taurus.service.deploy.DeploymentProgress",
  "class_name_short" : "DeploymentProgress",

"measurable_args" :
"{\"deployment\":{\"dataJobTeam\":\"ai\",\"dataJobName\":\"ai-test\",\"gitCommitSha\":\"e88267478b4cfa83ec1482acf9f902b904eff12e\",\"enabled\":true,\"mode\":\"release\"}}",
   ....
  "@table" : "taurus_api_call",
}

Signed-off-by: Antoni Ivanov [email protected]

Issue: #403

API clearly defines that a unique data job asset ID is composite of team
and job name. But we are missing that when reporting job deployment

This causes any reports relying on correct owner team not to work
properly.

Testing Done: ran control serviec locally with telemetry webhook set to
requestbin and saw telemtetry contains dataJobTeam

```
{
"class_name_full" :
"com.vmware.taurus.service.deploy.DeploymentProgress",
  "class_name_short" : "DeploymentProgress",

"measurable_args" :
"{\"deployment\":{\"dataJobTeam\":\"ai\",\"dataJobName\":\"ai-test\",\"gitCommitSha\":\"e88267478b4cfa83ec1482acf9f902b904eff12e\",\"enabled\":true,\"mode\":\"release\"}}",
   ....
  "@table" : "taurus_api_call",
}
```

Signed-off-by: Antoni Ivanov <[email protected]>
@vmwclabot
Copy link
Member

@versatile-data-kit-dev, you must sign our contributor license agreement before your changes are merged. Click here to sign the agreement. If you are a VMware employee, read this for further instruction.

@antoniivanov antoniivanov merged commit d2ae8db into main Nov 12, 2021
@antoniivanov antoniivanov deleted the person/aivanov/control-service-fix branch November 12, 2021 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants