Skip to content

Commit

Permalink
Merge pull request #59 from MustWin/master
Browse files Browse the repository at this point in the history
Closes #50, closes #44, closes #49, closes #34, closes #12
  • Loading branch information
craigcarl-oracle authored Apr 13, 2017
2 parents b0191bc + 2457323 commit d5ed903
Show file tree
Hide file tree
Showing 198 changed files with 1,806 additions and 411 deletions.
3 changes: 2 additions & 1 deletion client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ package main

import (
"github.com/MustWin/baremetal-sdk-go"
"github.com/oracle/terraform-provider-baremetal/client"
"github.com/stretchr/testify/suite"

"github.com/oracle/terraform-provider-baremetal/client"
)

type ResourceClientTestSuite struct {
Expand Down
3 changes: 2 additions & 1 deletion core/console_history_data_datasource.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
package core

import (
"github.com/hashicorp/terraform/helper/schema"

"github.com/oracle/terraform-provider-baremetal/client"
"github.com/oracle/terraform-provider-baremetal/crud"
"github.com/hashicorp/terraform/helper/schema"
)

func ConsoleHistoryDataDatasource() *schema.Resource {
Expand Down
3 changes: 2 additions & 1 deletion core/console_history_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ package core
import (
"fmt"

"github.com/hashicorp/terraform/helper/schema"

"github.com/oracle/terraform-provider-baremetal/client"
"github.com/oracle/terraform-provider-baremetal/crud"
"github.com/hashicorp/terraform/helper/schema"
)

func ConsoleHistoryResource() *schema.Resource {
Expand Down
1 change: 1 addition & 0 deletions core/console_history_resource_crud.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ package core

import (
"github.com/MustWin/baremetal-sdk-go"

"github.com/oracle/terraform-provider-baremetal/crud"
)

Expand Down
3 changes: 2 additions & 1 deletion core/cpe_datasource.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
package core

import (
"github.com/hashicorp/terraform/helper/schema"

"github.com/oracle/terraform-provider-baremetal/client"
"github.com/oracle/terraform-provider-baremetal/crud"
"github.com/hashicorp/terraform/helper/schema"
)

func CpeDatasource() *schema.Resource {
Expand Down
1 change: 1 addition & 0 deletions core/cpe_datasource_crud.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (
"time"

"github.com/MustWin/baremetal-sdk-go"

"github.com/oracle/terraform-provider-baremetal/crud"
"github.com/oracle/terraform-provider-baremetal/options"
)
Expand Down
3 changes: 2 additions & 1 deletion core/cpe_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
package core

import (
"github.com/hashicorp/terraform/helper/schema"

"github.com/oracle/terraform-provider-baremetal/client"
"github.com/oracle/terraform-provider-baremetal/crud"
"github.com/hashicorp/terraform/helper/schema"
)

func CpeResource() *schema.Resource {
Expand Down
1 change: 1 addition & 0 deletions core/cpe_resource_crud.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ package core

import (
"github.com/MustWin/baremetal-sdk-go"

"github.com/oracle/terraform-provider-baremetal/crud"
)

Expand Down
3 changes: 2 additions & 1 deletion core/dhcp_options_datasource.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
package core

import (
"github.com/hashicorp/terraform/helper/schema"

"github.com/oracle/terraform-provider-baremetal/client"
"github.com/oracle/terraform-provider-baremetal/crud"
"github.com/hashicorp/terraform/helper/schema"
)

func DHCPOptionsDatasource() *schema.Resource {
Expand Down
1 change: 1 addition & 0 deletions core/dhcp_options_datasource_crud.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (
"time"

"github.com/MustWin/baremetal-sdk-go"

"github.com/oracle/terraform-provider-baremetal/crud"
"github.com/oracle/terraform-provider-baremetal/options"
)
Expand Down
3 changes: 2 additions & 1 deletion core/dhcp_options_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
package core

import (
"github.com/hashicorp/terraform/helper/schema"

"github.com/oracle/terraform-provider-baremetal/client"
"github.com/oracle/terraform-provider-baremetal/crud"
"github.com/hashicorp/terraform/helper/schema"
)

func DHCPOptionsResource() *schema.Resource {
Expand Down
1 change: 1 addition & 0 deletions core/dhcp_options_resource_crud.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ package core

import (
"github.com/MustWin/baremetal-sdk-go"

"github.com/oracle/terraform-provider-baremetal/crud"
)

Expand Down
3 changes: 2 additions & 1 deletion core/drg_attachment_datasource.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
package core

import (
"github.com/hashicorp/terraform/helper/schema"

"github.com/oracle/terraform-provider-baremetal/client"
"github.com/oracle/terraform-provider-baremetal/crud"
"github.com/hashicorp/terraform/helper/schema"
)

func DrgAttachmentDatasource() *schema.Resource {
Expand Down
1 change: 1 addition & 0 deletions core/drg_attachment_datasource_crud.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (
"time"

"github.com/MustWin/baremetal-sdk-go"

"github.com/oracle/terraform-provider-baremetal/crud"
"github.com/oracle/terraform-provider-baremetal/options"
)
Expand Down
3 changes: 2 additions & 1 deletion core/drg_attachment_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
package core

import (
"github.com/hashicorp/terraform/helper/schema"

"github.com/oracle/terraform-provider-baremetal/client"
"github.com/oracle/terraform-provider-baremetal/crud"
"github.com/hashicorp/terraform/helper/schema"
)

func DrgAttachmentResource() *schema.Resource {
Expand Down
1 change: 1 addition & 0 deletions core/drg_attachment_resource_crud.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ package core

import (
"github.com/MustWin/baremetal-sdk-go"

"github.com/oracle/terraform-provider-baremetal/crud"
)

Expand Down
3 changes: 2 additions & 1 deletion core/drg_datasource.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
package core

import (
"github.com/hashicorp/terraform/helper/schema"

"github.com/oracle/terraform-provider-baremetal/client"
"github.com/oracle/terraform-provider-baremetal/crud"
"github.com/hashicorp/terraform/helper/schema"
)

func DrgDatasource() *schema.Resource {
Expand Down
1 change: 1 addition & 0 deletions core/drg_datasource_crud.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (
"time"

"github.com/MustWin/baremetal-sdk-go"

"github.com/oracle/terraform-provider-baremetal/crud"
"github.com/oracle/terraform-provider-baremetal/options"
)
Expand Down
3 changes: 2 additions & 1 deletion core/drg_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
package core

import (
"github.com/hashicorp/terraform/helper/schema"

"github.com/oracle/terraform-provider-baremetal/client"
"github.com/oracle/terraform-provider-baremetal/crud"
"github.com/hashicorp/terraform/helper/schema"
)

func DrgResource() *schema.Resource {
Expand Down
1 change: 1 addition & 0 deletions core/drg_resource_crud.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ package core

import (
"github.com/MustWin/baremetal-sdk-go"

"github.com/oracle/terraform-provider-baremetal/crud"
)

Expand Down
3 changes: 2 additions & 1 deletion core/image_datasource.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
package core

import (
"github.com/hashicorp/terraform/helper/schema"

"github.com/oracle/terraform-provider-baremetal/client"
"github.com/oracle/terraform-provider-baremetal/crud"
"github.com/hashicorp/terraform/helper/schema"
)

func ImageDatasource() *schema.Resource {
Expand Down
1 change: 1 addition & 0 deletions core/image_datasource_crud.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (
"time"

"github.com/MustWin/baremetal-sdk-go"

"github.com/oracle/terraform-provider-baremetal/crud"
"github.com/oracle/terraform-provider-baremetal/options"
)
Expand Down
3 changes: 2 additions & 1 deletion core/image_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
package core

import (
"github.com/hashicorp/terraform/helper/schema"

"github.com/oracle/terraform-provider-baremetal/client"
"github.com/oracle/terraform-provider-baremetal/crud"
"github.com/hashicorp/terraform/helper/schema"
)

func ImageResource() *schema.Resource {
Expand Down
3 changes: 2 additions & 1 deletion core/instance_datasource.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
package core

import (
"github.com/hashicorp/terraform/helper/schema"

"github.com/oracle/terraform-provider-baremetal/client"
"github.com/oracle/terraform-provider-baremetal/crud"
"github.com/hashicorp/terraform/helper/schema"
)

func InstanceDatasource() *schema.Resource {
Expand Down
3 changes: 2 additions & 1 deletion core/instance_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
package core

import (
"github.com/hashicorp/terraform/helper/schema"

"github.com/oracle/terraform-provider-baremetal/client"
"github.com/oracle/terraform-provider-baremetal/crud"
"github.com/hashicorp/terraform/helper/schema"
)

func InstanceResource() *schema.Resource {
Expand Down
1 change: 1 addition & 0 deletions core/instance_resource_crud.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (
"time"

"github.com/MustWin/baremetal-sdk-go"

"github.com/oracle/terraform-provider-baremetal/crud"
)

Expand Down
3 changes: 2 additions & 1 deletion core/internet_gateway_datasource.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
package core

import (
"github.com/hashicorp/terraform/helper/schema"

"github.com/oracle/terraform-provider-baremetal/client"
"github.com/oracle/terraform-provider-baremetal/crud"
"github.com/hashicorp/terraform/helper/schema"
)

func InternetGatewayDatasource() *schema.Resource {
Expand Down
1 change: 1 addition & 0 deletions core/internet_gateway_datasource_crud.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (
"time"

"github.com/MustWin/baremetal-sdk-go"

"github.com/oracle/terraform-provider-baremetal/crud"
"github.com/oracle/terraform-provider-baremetal/options"
)
Expand Down
3 changes: 2 additions & 1 deletion core/internet_gateway_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
package core

import (
"github.com/hashicorp/terraform/helper/schema"

"github.com/oracle/terraform-provider-baremetal/client"
"github.com/oracle/terraform-provider-baremetal/crud"
"github.com/hashicorp/terraform/helper/schema"
)

func InternetGatewayResource() *schema.Resource {
Expand Down
3 changes: 2 additions & 1 deletion core/ipsec_connection_config_datasource.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
package core

import (
"github.com/hashicorp/terraform/helper/schema"

"github.com/oracle/terraform-provider-baremetal/client"
"github.com/oracle/terraform-provider-baremetal/crud"
"github.com/hashicorp/terraform/helper/schema"
)

func IPSecConnectionConfigDatasource() *schema.Resource {
Expand Down
3 changes: 2 additions & 1 deletion core/ipsec_connection_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
package core

import (
"github.com/hashicorp/terraform/helper/schema"

"github.com/oracle/terraform-provider-baremetal/client"
"github.com/oracle/terraform-provider-baremetal/crud"
"github.com/hashicorp/terraform/helper/schema"
)

func IPSecConnectionResource() *schema.Resource {
Expand Down
3 changes: 2 additions & 1 deletion core/ipsec_connection_status_datasource.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
package core

import (
"github.com/hashicorp/terraform/helper/schema"

"github.com/oracle/terraform-provider-baremetal/client"
"github.com/oracle/terraform-provider-baremetal/crud"
"github.com/hashicorp/terraform/helper/schema"
)

func IPSecConnectionStatusDatasource() *schema.Resource {
Expand Down
3 changes: 2 additions & 1 deletion core/ipsec_connections_datasource.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
package core

import (
"github.com/hashicorp/terraform/helper/schema"

"github.com/oracle/terraform-provider-baremetal/client"
"github.com/oracle/terraform-provider-baremetal/crud"
"github.com/hashicorp/terraform/helper/schema"
)

func IPSecConnectionsDatasource() *schema.Resource {
Expand Down
3 changes: 2 additions & 1 deletion core/route_table_datasource.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
package core

import (
"github.com/hashicorp/terraform/helper/schema"

"github.com/oracle/terraform-provider-baremetal/client"
"github.com/oracle/terraform-provider-baremetal/crud"
"github.com/hashicorp/terraform/helper/schema"
)

func RouteTableDatasource() *schema.Resource {
Expand Down
7 changes: 4 additions & 3 deletions core/route_table_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
package core

import (
"github.com/hashicorp/terraform/helper/schema"

"github.com/oracle/terraform-provider-baremetal/client"
"github.com/oracle/terraform-provider-baremetal/crud"
"github.com/hashicorp/terraform/helper/schema"
)

func RouteTableResource() *schema.Resource {
Expand Down Expand Up @@ -36,11 +37,11 @@ func RouteTableResource() *schema.Resource {
Schema: map[string]*schema.Schema{
"cidr_block": {
Type: schema.TypeString,
Required: true,
Optional: true,
},
"network_entity_id": {
Type: schema.TypeString,
Required: true,
Optional: true,
},
},
},
Expand Down
3 changes: 2 additions & 1 deletion core/security_list_datasource.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
package core

import (
"github.com/hashicorp/terraform/helper/schema"

"github.com/oracle/terraform-provider-baremetal/client"
"github.com/oracle/terraform-provider-baremetal/crud"
"github.com/hashicorp/terraform/helper/schema"
)

func SecurityListDatasource() *schema.Resource {
Expand Down
Loading

0 comments on commit d5ed903

Please sign in to comment.