Skip to content

Commit

Permalink
Merge pull request #26 from logicmonitor/changes_to_publish_provider
Browse files Browse the repository at this point in the history
  • Loading branch information
lm-akshay-modi authored Jan 28, 2021
2 parents d64a903 + 746e601 commit d543a48
Show file tree
Hide file tree
Showing 14 changed files with 364 additions and 58 deletions.
5 changes: 2 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/terraform-providers/terraform-provider-logicmonitor
module github.com/logicmonitor/terraform-provider-logicmonitor

require (
github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a // indirect
Expand All @@ -12,8 +12,7 @@ require (
github.com/go-openapi/strfmt v0.19.0 // indirect
github.com/go-openapi/swag v0.19.0 // indirect
github.com/go-openapi/validate v0.19.0 // indirect
github.com/hashicorp/hcl v0.0.0-20180404174102-ef8a98b0bbce // indirect
github.com/hashicorp/terraform-plugin-sdk v1.1.0
github.com/hashicorp/terraform-plugin-sdk v1.16.0
github.com/logicmonitor/lm-sdk-go v0.0.0-20190508172519-551e18072ac5
github.com/mailru/easyjson v0.0.0-20190403194419-1ea4449da983 // indirect
)
Expand Down
385 changes: 346 additions & 39 deletions go.sum

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion logicmonitor/data_source_dashboard.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"strconv"
"strings"

"github.com/hashicorp/terraform/helper/schema"
"github.com/hashicorp/terraform-plugin-sdk/helper/schema"
lmclient "github.com/logicmonitor/lm-sdk-go/client"
"github.com/logicmonitor/lm-sdk-go/client/lm"
)
Expand Down
2 changes: 1 addition & 1 deletion logicmonitor/data_source_dashboard_group.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"strconv"
"strings"

"github.com/hashicorp/terraform/helper/schema"
"github.com/hashicorp/terraform-plugin-sdk/helper/schema"
lmclient "github.com/logicmonitor/lm-sdk-go/client"
"github.com/logicmonitor/lm-sdk-go/client/lm"
)
Expand Down
4 changes: 2 additions & 2 deletions logicmonitor/data_source_dashboard_group_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"fmt"
"testing"

"github.com/hashicorp/terraform/helper/resource"
"github.com/hashicorp/terraform/terraform"
"github.com/hashicorp/terraform-plugin-sdk/helper/resource"
"github.com/hashicorp/terraform-plugin-sdk/terraform"
lmclient "github.com/logicmonitor/lm-sdk-go/client"
)

Expand Down
4 changes: 2 additions & 2 deletions logicmonitor/data_source_dashboard_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"fmt"
"testing"

"github.com/hashicorp/terraform/helper/resource"
"github.com/hashicorp/terraform/terraform"
"github.com/hashicorp/terraform-plugin-sdk/helper/resource"
"github.com/hashicorp/terraform-plugin-sdk/terraform"
lmclient "github.com/logicmonitor/lm-sdk-go/client"
)

Expand Down
2 changes: 1 addition & 1 deletion logicmonitor/import_dashboard_group_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package logicmonitor
import (
"testing"

"github.com/hashicorp/terraform/helper/resource"
"github.com/hashicorp/terraform-plugin-sdk/helper/resource"
)

func TestAccLogicMonitorDashboardGroup_import(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion logicmonitor/resource_dashboard.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"log"
"strconv"

"github.com/hashicorp/terraform/helper/schema"
"github.com/hashicorp/terraform-plugin-sdk/helper/schema"
lmclient "github.com/logicmonitor/lm-sdk-go/client"
"github.com/logicmonitor/lm-sdk-go/client/lm"
)
Expand Down
2 changes: 1 addition & 1 deletion logicmonitor/resource_dashboard_group.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"log"
"strconv"

"github.com/hashicorp/terraform/helper/schema"
"github.com/hashicorp/terraform-plugin-sdk/helper/schema"
lmclient "github.com/logicmonitor/lm-sdk-go/client"
"github.com/logicmonitor/lm-sdk-go/client/lm"
)
Expand Down
4 changes: 2 additions & 2 deletions logicmonitor/resource_dashboard_group_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"strconv"
"testing"

"github.com/hashicorp/terraform/helper/resource"
"github.com/hashicorp/terraform/terraform"
"github.com/hashicorp/terraform-plugin-sdk/helper/resource"
"github.com/hashicorp/terraform-plugin-sdk/terraform"
lmclient "github.com/logicmonitor/lm-sdk-go/client"
"github.com/logicmonitor/lm-sdk-go/client/lm"
)
Expand Down
4 changes: 2 additions & 2 deletions logicmonitor/resource_dashboard_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"strconv"
"testing"

"github.com/hashicorp/terraform/helper/resource"
"github.com/hashicorp/terraform/terraform"
"github.com/hashicorp/terraform-plugin-sdk/helper/resource"
"github.com/hashicorp/terraform-plugin-sdk/terraform"
lmclient "github.com/logicmonitor/lm-sdk-go/client"
"github.com/logicmonitor/lm-sdk-go/client/lm"
)
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package main

import (
"github.com/hashicorp/terraform-plugin-sdk/plugin"
"github.com/terraform-providers/terraform-provider-logicmonitor/logicmonitor"
"github.com/logicmonitor/terraform-provider-logicmonitor/logicmonitor"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion scripts/changelog-links.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ else
SED="sed -i.bak -r -e"
fi

PROVIDER_URL="https:\/\/github.com\/terraform-providers\/terraform-provider-logicmonitor\/issues"
PROVIDER_URL="https:\/\/github.com\/logicmonitor\/terraform-provider-logicmonitor\/issues"

$SED "s/GH-([0-9]+)/\[#\1\]\($PROVIDER_URL\/\1\)/g" -e 's/\[\[#(.+)([0-9])\)]$/(\[#\1\2))/g' CHANGELOG.md

Expand Down
2 changes: 1 addition & 1 deletion scripts/errcheck.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ if ! which errcheck > /dev/null; then
fi

err_files=$(errcheck -ignoretests \
-ignore 'github.com/hashicorp/terraform/helper/schema:Set' \
-ignore 'github.com/hashicorp/terraform-plugin-sdk/helper/schema:Set' \
-ignore 'bytes:.*' \
-ignore 'io:Close|Write' \
$(go list ./...| grep -v /vendor/))
Expand Down

0 comments on commit d543a48

Please sign in to comment.