Skip to content
This repository has been archived by the owner on Jun 1, 2023. It is now read-only.

Commit

Permalink
Merge pull request #241 from suzuki-shunsuke/docs/fix-broken-links
Browse files Browse the repository at this point in the history
docs: fix broken links
  • Loading branch information
suzuki-shunsuke committed Feb 8, 2020
2 parents 9cf9d71 + 44e5614 commit 50c25f7
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 36 deletions.
17 changes: 0 additions & 17 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,7 @@
# terraform-provider-graylog

[![GoDoc](http://img.shields.io/badge/go-documentation-blue.svg?style=flat-square)](http://godoc.org/github.com/suzuki-shunsuke/go-graylog/terraform)
[![Build Status](https://cloud.drone.io/api/badges/suzuki-shunsuke/go-graylog/status.svg)](https://cloud.drone.io/suzuki-shunsuke/go-graylog)
[![codecov](https://codecov.io/gh/suzuki-shunsuke/go-graylog/branch/master/graph/badge.svg)](https://codecov.io/gh/suzuki-shunsuke/go-graylog)
[![Go Report Card](https://goreportcard.com/badge/github.com/suzuki-shunsuke/go-graylog)](https://goreportcard.com/report/github.com/suzuki-shunsuke/go-graylog)
[![GitHub last commit](https://img.shields.io/github/last-commit/suzuki-shunsuke/go-graylog.svg)](https://github.com/suzuki-shunsuke/go-graylog)
[![GitHub tag](https://img.shields.io/github/tag/suzuki-shunsuke/go-graylog.svg)](https://github.com/suzuki-shunsuke/go-graylog/releases)
[![License](http://img.shields.io/badge/license-mit-blue.svg?style=flat-square)](https://raw.githubusercontent.com/suzuki-shunsuke/go-graylog/master/LICENSE)

terraform provider for [Graylog](https://www.graylog.org/).

This is sub project of [go-graylog](https://github.com/suzuki-shunsuke/go-graylog).

## Motivation

https://docs.graylog.org/en/latest/pages/users_and_roles/permission_system.html

The Graylog permission system is extremely flexible but you can't utilize this flexibility from Web UI.
By using this provider, you can utilize this flexibility and manage the infrastructure as code.

## Install

[Download binary](https://github.com/suzuki-shunsuke/go-graylog/releases) and install it.
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/dashboard_widget.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
From v10.0.0, the attribute `json_configuration` is added to support any type of dashboard widget.
`json_configuration` should be JSON string.

Please see the [Example](https://github.com/suzuki-shunsuke/go-graylog/blob/master/terraform/example/v0.12/dashboard.tf).
Please see the [Example](../../examples/v0.12/dashboard.tf).

## Common required arguments

Expand Down
2 changes: 1 addition & 1 deletion docs/resources/event_definition.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ notification_settings | {} |

`config` is a JSON string.
The format of `config` depends on the Event Notification type.
Please see the [example](https://github.com/suzuki-shunsuke/go-graylog/blob/master/terraform/example/v0.12/event_definition.tf).
Please see the [example](../../examples/v0.12/event_definition.tf).
Using the [Graylog's API browser](https://docs.graylog.org/en/3.1/pages/configuration/rest_api.html) you can check the format of `config`.

### Optional Argument
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/event_notification.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ config | string | JSON string

`config` is a JSON string.
The format of `config` depends on the Event Notification type.
Please see the [example](https://github.com/suzuki-shunsuke/go-graylog/blob/master/terraform/example/v0.12/event_notification.tf).
Please see the [example](../../graylog/terraform/resource_event_notification.go).
Using the [Graylog's API browser](https://docs.graylog.org/en/3.1/pages/configuration/rest_api.html) you can check the format of `config`.

### Optional Argument
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/output.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ configuration | string | JSON string

`configuration` is a JSON string.
The format of `configuration` depends on the output type.
Please see the [example](https://github.com/suzuki-shunsuke/go-graylog/blob/master/terraform/example/v0.12/output.tf).
Please see the [example](../../examples/v0.12/output.tf).
Using the [Graylog's API browser](https://docs.graylog.org/en/3.1/pages/configuration/rest_api.html) you can check the format of `configuration`.

### Optional Argument
Expand Down
8 changes: 0 additions & 8 deletions graylog/client/README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
# go-graylog client

[![GoDoc](http://img.shields.io/badge/go-documentation-blue.svg?style=flat-square)](http://godoc.org/github.com/suzuki-shunsuke/go-graylog/client)
[![Build Status](https://travis-ci.org/suzuki-shunsuke/go-graylog.svg?branch=master)](https://travis-ci.org/suzuki-shunsuke/go-graylog)
[![codecov](https://codecov.io/gh/suzuki-shunsuke/go-graylog/branch/master/graph/badge.svg)](https://codecov.io/gh/suzuki-shunsuke/go-graylog)
[![Go Report Card](https://goreportcard.com/badge/github.com/suzuki-shunsuke/go-graylog)](https://goreportcard.com/report/github.com/suzuki-shunsuke/go-graylog)
[![GitHub last commit](https://img.shields.io/github/last-commit/suzuki-shunsuke/go-graylog.svg)](https://github.com/suzuki-shunsuke/go-graylog)
[![GitHub tag](https://img.shields.io/github/tag/suzuki-shunsuke/go-graylog.svg)](https://github.com/suzuki-shunsuke/go-graylog/releases)
[![License](http://img.shields.io/badge/license-mit-blue.svg?style=flat-square)](https://raw.githubusercontent.com/suzuki-shunsuke/go-graylog/master/LICENSE)

[Graylog](https://www.graylog.org/) API client for Golang.

See https://github.com/suzuki-shunsuke/go-graylog
11 changes: 4 additions & 7 deletions scripts/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,14 @@
set -eu
set -o pipefail

ee() {
echo "+ $*"
eval "$@"
}

cd "$(dirname "$0")/.."

if [ -f env.sh ]; then
# shellcheck disable=SC1091
source env.sh
fi

ee go test ./... . -covermode=atomic
ee go test -v ./graylog/terraform/... -covermode=atomic
for d in $(go list ./... | grep -v terraform); do
go test -race -covermode=atomic "$d"
done
go test -v ./graylog/terraform/... -covermode=atomic

0 comments on commit 50c25f7

Please sign in to comment.