c2370c574e
Added `service_id` in place of `id` for resource. modified created, read, update to use `service_id` modified tests to include `service_id`. modified documentation for consul_service to include new value. Tests results CONSUL_HTTP_ADDR=localhost:8500 make testacc TEST=./builtin/providers/consul/ ==> Checking that code complies with gofmt requirements... go generate $(go list ./... | grep -v /terraform/vendor/) 2016/10/14 14:43:05 Generated command/internal_plugin_list.go TF_ACC=1 go test ./builtin/providers/consul/ -v -timeout 120m === RUN TestAccDataConsulKeys_basic --- PASS: TestAccDataConsulKeys_basic (0.05s) === RUN TestAccConsulAgentService_basic --- PASS: TestAccConsulAgentService_basic (0.05s) === RUN TestAccConsulCatalogEntry_basic --- PASS: TestAccConsulCatalogEntry_basic (0.06s) === RUN TestAccConsulKeyPrefix_basic --- PASS: TestAccConsulKeyPrefix_basic (0.19s) === RUN TestConsulKeysMigrateState --- PASS: TestConsulKeysMigrateState (0.00s) === RUN TestConsulKeysMigrateState_empty --- PASS: TestConsulKeysMigrateState_empty (0.00s) === RUN TestAccConsulKeys_basic --- PASS: TestAccConsulKeys_basic (0.13s) === RUN TestAccConsulNode_basic --- PASS: TestAccConsulNode_basic (0.05s) === RUN TestAccConsulPreparedQuery_basic --- PASS: TestAccConsulPreparedQuery_basic (0.12s) === RUN TestAccConsulService_basic --- PASS: TestAccConsulService_basic (0.05s) === RUN TestResourceProvider --- PASS: TestResourceProvider (0.00s) === RUN TestResourceProvider_impl --- PASS: TestResourceProvider_impl (0.00s) === RUN TestResourceProvider_Configure --- PASS: TestResourceProvider_Configure (0.00s) === RUN TestResourceProvider_ConfigureTLS --- PASS: TestResourceProvider_ConfigureTLS (0.00s) PASS ok github.com/hashicorp/terraform/builtin/providers/consul 0.708s Refs: #9352 |
||
---|---|---|
.. | ||
test-fixtures | ||
config.go | ||
data_source_consul_keys.go | ||
data_source_consul_keys_test.go | ||
key_client.go | ||
resource_consul_agent_service.go | ||
resource_consul_agent_service_test.go | ||
resource_consul_catalog_entry.go | ||
resource_consul_catalog_entry_test.go | ||
resource_consul_key_prefix.go | ||
resource_consul_key_prefix_test.go | ||
resource_consul_keys.go | ||
resource_consul_keys_migrate.go | ||
resource_consul_keys_migrate_test.go | ||
resource_consul_keys_test.go | ||
resource_consul_node.go | ||
resource_consul_node_test.go | ||
resource_consul_prepared_query.go | ||
resource_consul_prepared_query_test.go | ||
resource_consul_service.go | ||
resource_consul_service_test.go | ||
resource_provider.go | ||
resource_provider_test.go |