Skip to content

Commit

Permalink
[chore]add generated status to asapauthextension (#20327)
Browse files Browse the repository at this point in the history
  • Loading branch information
atoulme authored Apr 3, 2023
1 parent 267ce3f commit ecd5e7f
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 7 deletions.
14 changes: 8 additions & 6 deletions extension/asapauthextension/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
# ASAP Client Authentication Extension
<!-- status autogenerated section -->
| Status | |
| ------------------------ |-----------|
| Stability | [beta] |
| Distributions | [contrib] |

| Status | |
| ------------------------ |-----------------------|
| Stability | [beta] |
| Distributions | [contrib] |
[beta]: https://github.com/open-telemetry/opentelemetry-collector#beta
[contrib]: https://github.com/open-telemetry/opentelemetry-collector-releases/tree/main/distributions/otelcol-contrib
<!-- end autogenerated section -->

This extension provides [Atlassian Service Authentication Protocol](https://s2sauth.bitbucket.io/) (ASAP) client
credentials for HTTP or gRPC based exporters.
Expand Down Expand Up @@ -40,5 +44,3 @@ exporters:
authenticator: asapclient
```
[beta]: https://github.com/open-telemetry/opentelemetry-collector#beta
[contrib]: https://github.com/open-telemetry/opentelemetry-collector-releases/tree/main/distributions/otelcol-contrib
17 changes: 17 additions & 0 deletions extension/asapauthextension/doc.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// Copyright The OpenTelemetry Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

//go:generate mdatagen metadata.yaml

package asapauthextension // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/asapauthextension"
4 changes: 3 additions & 1 deletion extension/asapauthextension/factory.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ import (

"go.opentelemetry.io/collector/component"
"go.opentelemetry.io/collector/extension"

"github.com/open-telemetry/opentelemetry-collector-contrib/extension/asapauthextension/internal/metadata"
)

const (
Expand All @@ -32,7 +34,7 @@ func NewFactory() extension.Factory {
typeStr,
createDefaultConfig,
createExtension,
component.StabilityLevelBeta,
metadata.Stability,
)
}

Expand Down

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

6 changes: 6 additions & 0 deletions extension/asapauthextension/metadata.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
name: asapauthextension

status:
type: extension
stability: beta
distributions: [contrib]

0 comments on commit ecd5e7f

Please sign in to comment.