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

Generate Resource and Datasource for Netflow Exporter Policy. #1240

Closed
wants to merge 9 commits into from

Conversation

gmicol
Copy link
Collaborator

@gmicol gmicol commented Jun 20, 2024

No description provided.

… Modify resource.go.tmpl to allow empty list as input. Modify test templates to check for attributes set to empty list.
…Policy. Enable functionality to add test values in resource_required and datasource_required for attributes that are not required.
@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 89.40610% with 66 lines in your changes missing coverage. Please review.

Project coverage is 87.16%. Comparing base (5f5cc63) to head (b2137ec).

Files Patch % Lines
...l/provider/resource_aci_netflow_exporter_policy.go 88.13% 37 Missing and 21 partials ⚠️
...rovider/data_source_aci_netflow_exporter_policy.go 93.93% 6 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1240      +/-   ##
==========================================
+ Coverage   87.03%   87.16%   +0.12%     
==========================================
  Files          43       45       +2     
  Lines       11223    11846     +623     
==========================================
+ Hits         9768    10325     +557     
- Misses        991     1034      +43     
- Partials      464      487      +23     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@samiib samiib left a comment

Choose a reason for hiding this comment

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

I think there are some conflicts to resolve.

gen/generator.go Show resolved Hide resolved
gen/templates/resource_test.go.tmpl Show resolved Hide resolved
gen/templates/resource_test.go.tmpl Show resolved Hide resolved
gen/templates/resource_test.go.tmpl Show resolved Hide resolved
gen/templates/resource_test.go.tmpl Show resolved Hide resolved
@gmicol gmicol requested review from samiib and removed request for lhercot, shrsr, akinross, anvitha-jain, sajagana and samiib June 26, 2024 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants