Skip to content

Commit 41092ac

Browse files
authored
Update from nginxinc to nginx (#437)
1 parent d2914b6 commit 41092ac

13 files changed

+55
-55
lines changed

.github/PULL_REQUEST_TEMPLATE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ that issue here in this description (not in the title of the PR).
77

88
Before creating a PR, run through this checklist and mark each as complete.
99

10-
- [ ] I have read the [CONTRIBUTING](https://github.com/nginxinc/nginx-plus-go-client/blob/main/CONTRIBUTING.md) doc
10+
- [ ] I have read the [CONTRIBUTING](https://github.com/nginx/nginx-plus-go-client/blob/main/CONTRIBUTING.md) doc
1111
- [ ] I have added tests that prove my fix is effective or that my feature works
1212
- [ ] I have checked that all unit tests pass after adding my changes
1313
- [ ] I have updated necessary documentation

.github/workflows/dependency-review.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ jobs:
2929
- name: Dependency Review
3030
uses: actions/dependency-review-action@3b139cfc5fae8b618d3eae3675e383bb1769c019 # v4.5.0
3131
with:
32-
config-file: "nginxinc/k8s-common/dependency-review-config.yml@main"
32+
config-file: "nginx/k8s-common/dependency-review-config.yml@main"

.github/workflows/labeler.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
sparse-checkout: |
1818
labeler.yml
1919
sparse-checkout-cone-mode: false
20-
repository: nginxinc/k8s-common
20+
repository: nginx/k8s-common
2121

2222
- uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5.0.0
2323
with:

CHANGELOG.md

+18-18
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# Changelog
22

3-
Starting with version 0.8.0, an automatically generated list of changes can be found on the [GitHub Releases page](https://github.com/nginxinc/nginx-plus-go-client/releases).
3+
Starting with version 0.8.0, an automatically generated list of changes can be found on the [GitHub Releases page](https://github.com/nginx/nginx-plus-go-client/releases).
44

55
## 0.7.0 (Jul 10, 2020)
66

77
FEATURES:
88

9-
- [38](https://github.com/nginxinc/nginx-plus-go-client/pull/38): *Support for /slabs API endpoint*. The client now
9+
- [38](https://github.com/nginx/nginx-plus-go-client/pull/38): _Support for /slabs API endpoint_. The client now
1010
supports retrieving shared memory zone usage info.
11-
- [41](https://github.com/nginxinc/nginx-plus-go-client/pull/41): *Support for /processes API endpoint*. The client now
11+
- [41](https://github.com/nginx/nginx-plus-go-client/pull/41): _Support for /processes API endpoint_. The client now
1212
supports retrieving processes info.
1313

1414
CHANGES:
@@ -20,7 +20,7 @@ CHANGES:
2020

2121
FEATURES:
2222

23-
- [34](https://github.com/nginxinc/nginx-plus-go-client/pull/34): *Support for updating upstream servers parameters*.
23+
- [34](https://github.com/nginx/nginx-plus-go-client/pull/34): _Support for updating upstream servers parameters_.
2424
The client now supports updating upstream parameters of servers that already exist in NGINX Plus.
2525

2626
CHANGES:
@@ -35,14 +35,14 @@ CHANGES:
3535

3636
FEATURES:
3737

38-
- [30](https://github.com/nginxinc/nginx-plus-go-client/pull/30): *Support additional upstream server parameters*. The
39-
client now supports configuring `route`, `backup`, `down`, `drain`, `weight` and `service` parameters for http
40-
upstreams and `backup`, `down`, `weight` and `service` parameters for stream upstreams.
41-
- [31](https://github.com/nginxinc/nginx-plus-go-client/pull/31): *Support location zones and resolver metrics*.
38+
- [30](https://github.com/nginx/nginx-plus-go-client/pull/30): _Support additional upstream server parameters_. The
39+
client now supports configuring `route`, `backup`, `down`, `drain`, `weight` and `service` parameters for http
40+
upstreams and `backup`, `down`, `weight` and `service` parameters for stream upstreams.
41+
- [31](https://github.com/nginx/nginx-plus-go-client/pull/31): _Support location zones and resolver metrics_.
4242

4343
FIXES:
4444

45-
- [29](https://github.com/nginxinc/nginx-plus-go-client/pull/29): *Fix max_fails parameter in upstream servers*.
45+
- [29](https://github.com/nginx/nginx-plus-go-client/pull/29): _Fix max_fails parameter in upstream servers_.
4646
Previously, if the MaxFails field was not explicitly set, the client would incorrectly configure an upstream with the
4747
value `0` instead of the correct value `1`.
4848

@@ -55,45 +55,45 @@ CHANGES:
5555

5656
FEATURES:
5757

58-
- [24](https://github.com/nginxinc/nginx-plus-go-client/pull/24): *Support `MaxConns` in upstream servers*.
58+
- [24](https://github.com/nginx/nginx-plus-go-client/pull/24): _Support `MaxConns` in upstream servers_.
5959

6060
FIXES:
6161

62-
- [25](https://github.com/nginxinc/nginx-plus-go-client/pull/25): *Fix session metrics for stream server zones*. Session
62+
- [25](https://github.com/nginx/nginx-plus-go-client/pull/25): _Fix session metrics for stream server zones_. Session
6363
metrics with a status of `4xx` or `5xx` are now correctly reported. Previously they were always reported as `0`.
6464

6565
## 0.3.1 (June 10, 2019)
6666

6767
CHANGES:
6868

69-
- [22](https://github.com/nginxinc/nginx-plus-go-client/pull/22): *Change in stream zone sync metrics*. `StreamZoneSync`
69+
- [22](https://github.com/nginx/nginx-plus-go-client/pull/22): _Change in stream zone sync metrics_. `StreamZoneSync`
7070
field of the `Stats` type is now a pointer. It will be nil if NGINX Plus doesn't report any zone sync stats.
7171

7272
## 0.3 (May 29, 2019)
7373

7474
FEATURES:
7575

76-
- [20](https://github.com/nginxinc/nginx-plus-go-client/pull/20): *Support for stream zone sync metrics*. The client
76+
- [20](https://github.com/nginx/nginx-plus-go-client/pull/20): _Support for stream zone sync metrics_. The client
7777
`GetStats` method now additionally returns stream zone sync metrics.
78-
- [13](https://github.com/nginxinc/nginx-plus-go-client/pull/13): *Support for key-value endpoints*. The client
78+
- [13](https://github.com/nginx/nginx-plus-go-client/pull/13): _Support for key-value endpoints_. The client
7979
implements a set of methods to create/modify/delete key-val pairs for both http and stream contexts.
80-
- [12](https://github.com/nginxinc/nginx-plus-go-client/pull/12) *Support for NGINX status info*. The client `GetStats`
80+
- [12](https://github.com/nginx/nginx-plus-go-client/pull/12) _Support for NGINX status info_. The client `GetStats`
8181
method now additionally returns NGINX status metrics. Thanks to [jthurman42](https://github.com/jthurman42).
8282

8383
CHANGES:
8484

8585
- The repository was renamed to `nginx-plus-go-client` instead of `nginx-plus-go-sdk`. If the client is used as a
8686
dependency, this name needs to be changed in the import section (`import
87-
"github.com/nginxinc/nginx-plus-go-client/client"`).
87+
"github.com/nginxinc/nginx-plus-go-client/client"`).
8888
- The version of the API was changed to 4.
8989
- The version of NGINX Plus for e2e testing was changed to R18.
9090

9191
## 0.2 (Sep 7, 2018)
9292

9393
FEATURES:
9494

95-
- [7](https://github.com/nginxinc/nginx-plus-go-sdk/pull/7): *Support for stream server zone and stream upstream
96-
metrics*. The client `GetStats` method now additionally returns stream server zone and stream upstream metrics.
95+
- [7](https://github.com/nginx/nginx-plus-go-client/pull/7): _Support for stream server zone and stream upstream
96+
metrics_. The client `GetStats` method now additionally returns stream server zone and stream upstream metrics.
9797

9898
CHANGES:
9999

CODEOWNERS

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
* @nginxinc/integrations
1+
* @nginx/integrations

CONTRIBUTING.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ considering contributing!
2323

2424
## Ask a Question
2525

26-
To ask a question please use [Github Discussions](https://github.com/nginxinc/nginx-plus-go-client/discussions).
26+
To ask a question please use [Github Discussions](https://github.com/nginx/nginx-plus-go-client/discussions).
2727

2828
You can also join our [Community Slack](https://community.nginx.org/joinslack) which has a wider NGINX audience.
2929

@@ -90,6 +90,6 @@ can be merged. Your agreement signature will be safely stored by F5 and no longe
9090
- Run `gofmt` over your code to automatically resolve a lot of style issues. Most editors support this running
9191
automatically when saving a code file.
9292
- Run `go lint` and `go vet` on your code too to catch any other issues.
93-
- Follow this guide on some good practice and idioms for Go - <https://github.com/golang/go/wiki/CodeReviewComments>
93+
- Follow this guide on some good practice and idioms for Go - <https://github.com/golang/go/wiki/CodeReviewComments>
9494
- To check for extra issues, install [golangci-lint](https://github.com/golangci/golangci-lint) and run `make lint` or
9595
`golangci-lint run`

README.md

+15-15
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
<!-- markdownlint-disable-next-line first-line-h1 -->
2-
[![OpenSSFScorecard](https://api.securityscorecards.dev/projects/github.com/nginxinc/nginx-plus-go-client/badge)](https://scorecard.dev/viewer/?uri=github.com/nginxinc/nginx-plus-go-client)
3-
[![Continuous Integration](https://github.com/nginxinc/nginx-plus-go-client/workflows/Continuous%20Integration/badge.svg)](https://github.com/nginxinc/nginx-plus-go-client/actions)
2+
[![OpenSSFScorecard](https://api.securityscorecards.dev/projects/github.com/nginx/nginx-plus-go-client/badge)](https://scorecard.dev/viewer/?uri=github.com/nginx/nginx-plus-go-client)
3+
[![Continuous Integration](https://github.com/nginx/nginx-plus-go-client/workflows/Continuous%20Integration/badge.svg)](https://github.com/nginx/nginx-plus-go-client/actions)
44
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
5-
[![Go Report Card](https://goreportcard.com/badge/github.com/nginxinc/nginx-plus-go-client)](https://goreportcard.com/report/github.com/nginxinc/nginx-plus-go-client)
6-
[![FOSSA Status](https://app.fossa.com/api/projects/custom%2B5618%2Fgithub.com%2Fnginxinc%2Fnginx-plus-go-client.svg?type=shield)](https://app.fossa.com/projects/custom%2B5618%2Fgithub.com%2Fnginxinc%2Fnginx-plus-go-client?ref=badge_shield)
7-
[![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/nginxinc/nginx-plus-go-client?logo=github&sort=semver)](https://github.com/nginxinc/nginx-plus-go-client/releases/latest)
8-
![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/nginxinc/nginx-plus-go-client?logo=go)
5+
[![Go Report Card](https://goreportcard.com/badge/github.com/nginx/nginx-plus-go-client)](https://goreportcard.com/report/github.com/nginx/nginx-plus-go-client)
6+
[![FOSSA Status](https://app.fossa.com/api/projects/custom%2B5618%2Fgithub.com%2Fnginx%2Fnginx-plus-go-client.svg?type=shield)](https://app.fossa.com/projects/custom%2B5618%2Fgithub.com%2Fnginx%2Fnginx-plus-go-client?ref=badge_shield)
7+
[![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/nginx/nginx-plus-go-client?logo=github&sort=semver)](https://github.com/nginx/nginx-plus-go-client/releases/latest)
8+
![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/nginx/nginx-plus-go-client?logo=go)
99
[![Slack](https://img.shields.io/badge/slack-nginxcommunity-green?logo=slack)](https://nginxcommunity.slack.com)
1010
[![Project Status: Active – The project has reached a stable, usable state and is being actively developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active)
11-
[![Community Support](https://badgen.net/badge/support/community/cyan?icon=awesome)](https://github.com/nginxinc/nginx-plus-go-client/blob/main/SECURITY.md)
11+
[![Community Support](https://badgen.net/badge/support/community/cyan?icon=awesome)](https://github.com/nginx/nginx-plus-go-client/blob/main/SECURITY.md)
1212

1313
# NGINX Plus Go Client
1414

@@ -41,17 +41,17 @@ This Client works against versions 4 to 9 of the NGINX Plus API. The table below
4141
the API was first introduced.
4242

4343
| API version | NGINX Plus version |
44-
|-------------|--------------------|
45-
| 4 | R18 |
46-
| 5 | R19 |
47-
| 6 | R20 |
48-
| 7 | R25 |
49-
| 8 | R27 |
50-
| 9 | R30 |
44+
| ----------- | ------------------ |
45+
| 4 | R18 |
46+
| 5 | R19 |
47+
| 6 | R20 |
48+
| 7 | R25 |
49+
| 8 | R27 |
50+
| 9 | R30 |
5151

5252
## Using the Client
5353

54-
1. Import `github.com/nginxinc/nginx-plus-go-client/client` into your go project.
54+
1. Import `github.com/nginx/nginx-plus-go-client/client` into your go project.
5555
2. Use your favorite vendor tool to add this to your `/vendor` directory in your project.
5656

5757
## Testing

compose.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ services:
3333
volumes:
3434
- type: bind
3535
source: ./
36-
target: /go/src/github.com/nginxinc/nginx-plus-go-client
37-
working_dir: /go/src/github.com/nginxinc/nginx-plus-go-client
36+
target: /go/src/github.com/nginx/nginx-plus-go-client
37+
working_dir: /go/src/github.com/nginx/nginx-plus-go-client
3838
command: go test -v -shuffle=on -race tests/client_test.go
3939
depends_on:
4040
- nginx

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/nginxinc/nginx-plus-go-client/v2
1+
module github.com/nginx/nginx-plus-go-client/v2
22

33
go 1.22.6
44

release-process.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -19,21 +19,21 @@ The project follows [Semantic Versioning](https://semver.org/) for versioning.
1919
## Release Planning and Development
2020

2121
The features that will go into the next release are reflected in the
22-
corresponding [milestone](https://github.com/nginxinc/nginx-plus-go-client/milestones). Refer to
22+
corresponding [milestone](https://github.com/nginx/nginx-plus-go-client/milestones). Refer to
2323
the [Issue Lifecycle](/ISSUE_LIFECYCLE.md) document for information on issue creation and assignment to releases.
2424

2525
## Releasing a New Version
2626

2727
1. Create an issue to define and track release-related activities. Choose a title that follows the
2828
format `Release X.Y.Z`.
2929
2. Stop merging any new work into the main branch.
30-
3. Check the release draft under the [GitHub releases](https://github.com/nginxinc/nginx-plus-go-client/releases) page
31-
to ensure that everything is in order.
30+
3. Check the release draft under the [GitHub releases](https://github.com/nginx/nginx-plus-go-client/releases) page
31+
to ensure that everything is in order.
3232
4. Create and push the release tag in the format `vX.Y.Z`:
3333

34-
```bash
35-
git tag -a vX.Y.Z -m "Release vX.Y.Z"
36-
git push origin vX.Y.Z
37-
```
34+
```bash
35+
git tag -a vX.Y.Z -m "Release vX.Y.Z"
36+
git push origin vX.Y.Z
37+
```
3838

39-
As a result, the CI/CD pipeline will publish the release and announce it in the community Slack.
39+
As a result, the CI/CD pipeline will publish the release and announce it in the community Slack.

renovate.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
33
"extends": [
4-
"github>nginxinc/k8s-common",
4+
"github>nginx/k8s-common",
55
"schedule:earlyMondays"
66
]
77
}

tests/client_no_stream_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"context"
55
"testing"
66

7-
"github.com/nginxinc/nginx-plus-go-client/v2/client"
8-
"github.com/nginxinc/nginx-plus-go-client/v2/tests/helpers"
7+
"github.com/nginx/nginx-plus-go-client/v2/client"
8+
"github.com/nginx/nginx-plus-go-client/v2/tests/helpers"
99
)
1010

1111
// TestStatsNoStream tests the peculiar behavior of getting Stream-related

tests/client_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import (
77
"testing"
88
"time"
99

10-
"github.com/nginxinc/nginx-plus-go-client/v2/client"
11-
"github.com/nginxinc/nginx-plus-go-client/v2/tests/helpers"
10+
"github.com/nginx/nginx-plus-go-client/v2/client"
11+
"github.com/nginx/nginx-plus-go-client/v2/tests/helpers"
1212
)
1313

1414
const (

0 commit comments

Comments
 (0)