Skip to content

Commit

Permalink
feat: rename provider from uxi to hpeuxi (#145)
Browse files Browse the repository at this point in the history
* renamed provider to hpeuxi

* for Ash

* fmt

* docs update

* lil change

---------

Co-authored-by: brandon <brandon>
  • Loading branch information
brandon-piner-aruba authored Nov 28, 2024
1 parent 48d3407 commit 24f28aa
Show file tree
Hide file tree
Showing 124 changed files with 940 additions and 938 deletions.
4 changes: 2 additions & 2 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,11 @@ test-provider +ARGS='':
TF_ACC=1 go test -v ./test/mocked/... -race -covermode=atomic -coverprofile=.coverage {{ ARGS }}

generate-provider-docs:
cd {{ TOOLS_PROVIDER_DIR }} && go run github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs generate --provider-dir ../. --provider-name uxi
cd {{ TOOLS_PROVIDER_DIR }} && go run github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs generate --provider-dir ../. --provider-name hpeuxi
sed -i.backup '/subcategory: ""/d' docs/index.md && rm docs/index.md.backup

validate-provider-docs:
cd {{ TOOLS_PROVIDER_DIR }} && go run github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs validate --provider-dir ../. --provider-name uxi
cd {{ TOOLS_PROVIDER_DIR }} && go run github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs validate --provider-dir ../. --provider-name hpeuxi

coverage-provider:
go tool cover -html=.coverage -o=.coverage.html
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Create a Terraform file in your working directory, and reference the desired pro
```terraform
terraform {
required_providers {
uxi = {
hpeuxi = {
source = "aruba-uxi/hpeuxi"
version = ">= 0.0.0-pre.alpha.3"
}
Expand All @@ -60,12 +60,12 @@ terraform {
}
# create a group
resource "uxi_group" "my_group" {
resource "hpeuxi_group" "my_group" {
name = "level_1"
}
# import a sensor
resource "uxi_sensor" "my_sensor" {
resource "hpeuxi_sensor" "my_sensor" {
name = "my_sensor_name"
lifecycle {
Expand All @@ -74,14 +74,14 @@ resource "uxi_sensor" "my_sensor" {
}
import {
to = uxi_sensor.my_sensor
to = hpeuxi_sensor.my_sensor
id = "my_sensor_id"
}
# assign the sensor to a group
resource "uxi_sensor_group_assignment" "my_uxi_sensor_group_assignment" {
sensor_id = uxi_sensor.my_sensor.id
group_id = uxi_group.my_group.id
resource "hpeuxi_sensor_group_assignment" "my_uxi_sensor_group_assignment" {
sensor_id = hpeuxi_sensor.my_sensor.id
group_id = hpeuxi_group.my_group.id
}
```

Expand Down
6 changes: 3 additions & 3 deletions docs/data-sources/agent.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions docs/data-sources/agent_group_assignment.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions docs/data-sources/group.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions docs/data-sources/network_group_assignment.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions docs/data-sources/sensor.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions docs/data-sources/sensor_group_assignment.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions docs/data-sources/service_test.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions docs/data-sources/service_test_group_assignment.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions docs/data-sources/wired_network.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions docs/data-sources/wireless_network.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions docs/index.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions docs/resources/agent.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions docs/resources/agent_group_assignment.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 24f28aa

Please sign in to comment.