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

feat(entities): add support for tags in EntityOutline types #1146

Merged
merged 16 commits into from
Jun 4, 2024

Conversation

abasha1234
Copy link
Member

Add Support for Tags to the newrelic_entity Data Source

Ticket: https://new-relic.atlassian.net/browse/NR-273644

@pranav-new-relic pranav-new-relic changed the title feat: Retrive tags from entity api feat: retrieve tags from entity api May 30, 2024
@abasha1234 abasha1234 force-pushed the NR-273644 branch 3 times, most recently from 3d43ac0 to f332aa1 Compare May 30, 2024 13:55
@abasha1234 abasha1234 marked this pull request as ready for review May 30, 2024 13:55
chore(deps): update some more deps (#1164)

feat: Add tags for missing entities

feat: Retrive tags from entity api
@pranav-new-relic pranav-new-relic changed the title feat: retrieve tags from entity api feat(entities): add support for tags in EntityOutline types Jun 4, 2024
abasha1234 and others added 5 commits June 4, 2024 21:15
chore(deps): update some more deps (#1164)

feat: Add tags for missing entities

feat: Retrive tags from entity api

chore(deps): update git-chglog, fastjson, mergo (#1148)

chore(deps): update dependencies

chore(deps): Update module github.com/goreleaser/goreleaser to v1.26.2 (#1152)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

chore(deps): update some more dependencies (#1161)

chore(deps): update some more deps (#1164)

chore: Add test validation for entity tags

chore(deps): Update module github.com/caarlos0/svu to v2 (#1167)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: pranav-new-relic <[email protected]>

feat(entities): add support for tags in EntityOutline types

chore(deps): adding missing dependency

chore(entities): refactor code in types

feat(entities): add support for tags in EntityOutline types

Empty commit

chore(deps): eliminate an unnecessary dependency
@abasha1234 abasha1234 marked this pull request as draft June 4, 2024 18:54
@abasha1234 abasha1234 marked this pull request as ready for review June 4, 2024 18:59
@@ -17345,6 +17345,7 @@ type EntityOutlineInterface interface {
GetGUID() common.EntityGUID
GetName() string
GetType() string
GetTags() []EntityTag
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for anyone finding this PR in future: no other changes are needed in this file, since Tutone seems to have already populated all fields implementing the EntityOutlineInterface with a Tags attribute and a GetTags method.

This has been verified and checked multiple times by @abasha1234 and me.

@pranav-new-relic pranav-new-relic merged commit f92f8fa into main Jun 4, 2024
13 of 14 checks passed
@pranav-new-relic pranav-new-relic deleted the NR-273644 branch June 4, 2024 19:50
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.

2 participants