gavinbunney / terraform-provider-bitbucketserver

Terraform provider for Bitbucket Server Management
https://registry.terraform.io/providers/gavinbunney/bitbucketserver/latest
Mozilla Public License 2.0
29 stars 33 forks source link

Implement data source bitbucketserver_user #11

Closed Kamahl19 closed 4 years ago

Kamahl19 commented 4 years ago

This PR adds the data source for user to be able to read his user ID, email, display name based on his username. This datasource can be easily extended in the future to provide more attributes.

codecov-commenter commented 4 years ago

Codecov Report

Merging #11 into master will increase coverage by 0.11%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #11      +/-   ##
==========================================
+ Coverage   85.26%   85.37%   +0.11%     
==========================================
  Files          35       36       +1     
  Lines        3284     3310      +26     
==========================================
+ Hits         2800     2826      +26     
  Misses        283      283              
  Partials      201      201              
Impacted Files Coverage Δ
bitbucket/data_user.go 100.00% <100.00%> (ø)
bitbucket/provider.go 97.22% <100.00%> (+0.03%) :arrow_up:
bitbucket/resource_user.go 86.04% <100.00%> (+0.10%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update f116e39...1a5a976. Read the comment docs.