Skip to content

Commit

Permalink
Merge pull request #210 from jfrog/migrate-watch-to-framework
Browse files Browse the repository at this point in the history
Migrate xray_watch resource to Plugin Framework
  • Loading branch information
alexhung authored Jun 24, 2024
2 parents a92f1fb + 10e0355 commit fd09591
Show file tree
Hide file tree
Showing 6 changed files with 1,110 additions and 821 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
## 2.8.2 (June 19, 2024). Tested on Artifactory 7.84.15 and Xray 3.96.1 with Terraform 1.8.5 and OpenTofu 1.7.2
## 2.8.2 (June 21, 2024). Tested on Artifactory 7.84.15 and Xray 3.96.1 with Terraform 1.8.5 and OpenTofu 1.7.2

* resource/xray_custom_issue: Migrate from SDKv2 to Plugin Framework. PR: [#207](https://github.com/jfrog/terraform-provider-xray/pull/207)
* resource/xray_ignore_rule: Migrate from SDKv2 to Plugin Framework. PR: [#209](https://github.com/jfrog/terraform-provider-xray/pull/209)
* resource/xray_watch: Migrate from SDKv2 to Plugin Framework. PR: [#210](https://github.com/jfrog/terraform-provider-xray/pull/210)

## 2.8.1 (June 14, 2024). Tested on Artifactory 7.84.14 and Xray 3.96.1 with Terraform 1.8.5 and OpenTofu 1.7.2

Expand Down
1 change: 1 addition & 0 deletions pkg/xray/provider/framework.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ func (p *XrayProvider) Resources(ctx context.Context) []func() resource.Resource
xray_resource.NewCustomIssueResource,
xray_resource.NewIgnoreRuleResource,
xray_resource.NewSettingsResource,
xray_resource.NewWatchResource,
xray_resource.NewWebhookResource,
xray_resource.NewWorkersCountResource,
}
Expand Down
1 change: 0 additions & 1 deletion pkg/xray/provider/sdkv2.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ func SdkV2() *schema.Provider {
"xray_security_policy": xray.ResourceXraySecurityPolicyV2(),
"xray_license_policy": xray.ResourceXrayLicensePolicyV2(),
"xray_operational_risk_policy": xray.ResourceXrayOperationalRiskPolicy(),
"xray_watch": xray.ResourceXrayWatch(),
"xray_repository_config": xray.ResourceXrayRepositoryConfig(),
"xray_vulnerabilities_report": xray.ResourceXrayVulnerabilitiesReport(),
"xray_licenses_report": xray.ResourceXrayLicensesReport(),
Expand Down
Loading

0 comments on commit fd09591

Please sign in to comment.