Skip to content

Commit

Permalink
v0.5.21 & changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
oke11o committed Feb 5, 2024
1 parent 114559e commit e998924
Show file tree
Hide file tree
Showing 26 changed files with 218 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .changes/header.tpl.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html),
and is generated by [Changie](https://github.com/miniscruff/changie).
Empty file added .changes/unreleased/.gitkeep
Empty file.
5 changes: 5 additions & 0 deletions .changes/v0.5.04.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## v0.5.4 - 2023-05-24
### Added
* HTTP provider middlewares
### Fixed
* Refactoring HTTP providers
3 changes: 3 additions & 0 deletions .changes/v0.5.05.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## v0.5.5 - 2023-06-14
### Added
* resolver for property file
3 changes: 3 additions & 0 deletions .changes/v0.5.06.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## v0.5.6 - 2023-07-13
### Added
* preloaded http providers
3 changes: 3 additions & 0 deletions .changes/v0.5.07.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## v0.5.7 - 2023-07-13
### Added
* grpc answ.log
3 changes: 3 additions & 0 deletions .changes/v0.5.08.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## v0.5.8 - 2023-07-26
### Added
* Dummy provider
3 changes: 3 additions & 0 deletions .changes/v0.5.09.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## v0.5.9 - 2023-09-22
### Added
* scenario generator
3 changes: 3 additions & 0 deletions .changes/v0.5.10.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## v0.5.10 - 2023-10-02
### Fixed
* grpc generator bugs
3 changes: 3 additions & 0 deletions .changes/v0.5.11.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## v0.5.11 - 2023-10-12
### Fixed
* update go.mod
4 changes: 4 additions & 0 deletions .changes/v0.5.12.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
## v0.5.12 - 2023-10-19
### Fixed
* grpc provider scan
* grpc reflect client depreceted
3 changes: 3 additions & 0 deletions .changes/v0.5.13.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## v0.5.13 - 2023-10-20
### Fixed
* scenario variable source
6 changes: 6 additions & 0 deletions .changes/v0.5.14.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
## v0.5.14 - 2023-10-26
### Added
* http provider benchmarks
### Fixed
* http provider missing error
* error messages
5 changes: 5 additions & 0 deletions .changes/v0.5.15.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## v0.5.15 - 2023-11-09
### Added
* std json-decoder with array payload
### Fixed
* docs: bit misspells
3 changes: 3 additions & 0 deletions .changes/v0.5.16.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## v0.5.16 - 2023-11-10
### Changed
* yaml format for config without extension
3 changes: 3 additions & 0 deletions .changes/v0.5.17.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## v0.5.17 - 2024-11-24
### Fixed
* Internal refactoring: GetMapValue()
5 changes: 5 additions & 0 deletions .changes/v0.5.18.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## v0.5.18 - 2024-01-15
### Fixed
* refactoring http scenario gun
* fix acceptance tests
* fix AnswLog init
3 changes: 3 additions & 0 deletions .changes/v0.5.19.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## v0.5.19 - 2024-01-25
### Added
* grpc scenario generator
3 changes: 3 additions & 0 deletions .changes/v0.5.20.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## v0.5.20 - 2024-01-29
### Fixed
* http config: fix limit and passes
4 changes: 4 additions & 0 deletions .changes/v0.5.21.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
## v0.5.21 - 2024-02-02
### Added
* parameterizable grpc reflection port
* changelog
21 changes: 21 additions & 0 deletions .mapping.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,31 @@
{
".changes/header.tpl.md":"load/projects/pandora/.changes/header.tpl.md",
".changes/unreleased/.gitkeep":"load/projects/pandora/.changes/unreleased/.gitkeep",
".changes/v0.5.04.md":"load/projects/pandora/.changes/v0.5.04.md",
".changes/v0.5.05.md":"load/projects/pandora/.changes/v0.5.05.md",
".changes/v0.5.06.md":"load/projects/pandora/.changes/v0.5.06.md",
".changes/v0.5.07.md":"load/projects/pandora/.changes/v0.5.07.md",
".changes/v0.5.08.md":"load/projects/pandora/.changes/v0.5.08.md",
".changes/v0.5.09.md":"load/projects/pandora/.changes/v0.5.09.md",
".changes/v0.5.10.md":"load/projects/pandora/.changes/v0.5.10.md",
".changes/v0.5.11.md":"load/projects/pandora/.changes/v0.5.11.md",
".changes/v0.5.12.md":"load/projects/pandora/.changes/v0.5.12.md",
".changes/v0.5.13.md":"load/projects/pandora/.changes/v0.5.13.md",
".changes/v0.5.14.md":"load/projects/pandora/.changes/v0.5.14.md",
".changes/v0.5.15.md":"load/projects/pandora/.changes/v0.5.15.md",
".changes/v0.5.16.md":"load/projects/pandora/.changes/v0.5.16.md",
".changes/v0.5.17.md":"load/projects/pandora/.changes/v0.5.17.md",
".changes/v0.5.18.md":"load/projects/pandora/.changes/v0.5.18.md",
".changes/v0.5.19.md":"load/projects/pandora/.changes/v0.5.19.md",
".changes/v0.5.20.md":"load/projects/pandora/.changes/v0.5.20.md",
".changes/v0.5.21.md":"load/projects/pandora/.changes/v0.5.21.md",
".github/workflows/release.yml":"load/projects/pandora/.github/workflows/release.yml",
".github/workflows/test.yml":"load/projects/pandora/.github/workflows/test.yml",
".gitignore":"load/projects/pandora/.gitignore",
".goxc.json":"load/projects/pandora/.goxc.json",
".travis.yml":"load/projects/pandora/.travis.yml",
"AUTHORS":"load/projects/pandora/AUTHORS",
"CHANGELOG.md":"load/projects/pandora/CHANGELOG.md",
"LICENSE":"load/projects/pandora/LICENSE",
"Makefile":"load/projects/pandora/Makefile",
"README.md":"load/projects/pandora/README.md",
Expand Down
90 changes: 90 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
# Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html),
and is generated by [Changie](https://github.com/miniscruff/changie).


## v0.5.21 - 2024-02-02
### Added
* parameterizable grpc reflection port
* changelog

## v0.5.20 - 2024-01-29
### Fixed
* http config: fix limit and passes

## v0.5.19 - 2024-01-25
### Added
* grpc scenario generator

## v0.5.18 - 2024-01-15
### Fixed
* refactoring http scenario gun
* fix acceptance tests
* fix AnswLog init

## v0.5.17 - 2024-11-24
### Fixed
* Internal refactoring: GetMapValue()

## v0.5.16 - 2023-11-10
### Changed
* yaml format for config without extension

## v0.5.15 - 2023-11-09
### Added
* std json-decoder with array payload
### Fixed
* docs: bit misspells

## v0.5.14 - 2023-10-26
### Added
* http provider benchmarks
### Fixed
* http provider missing error
* error messages

## v0.5.13 - 2023-10-20
### Fixed
* scenario variable source

## v0.5.12 - 2023-10-19
### Fixed
* grpc provider scan
* grpc reflect client depreceted

## v0.5.11 - 2023-10-12
### Fixed
* update go.mod

## v0.5.10 - 2023-10-02
### Fixed
* grpc generator bugs

## v0.5.9 - 2023-09-22
### Added
* scenario generator

## v0.5.8 - 2023-07-26
### Added
* Dummy provider

## v0.5.7 - 2023-07-13
### Added
* grpc answ.log

## v0.5.6 - 2023-07-13
### Added
* preloaded http providers

## v0.5.5 - 2023-06-14
### Added
* resolver for property file

## v0.5.4 - 2023-05-24
### Added
* HTTP provider middlewares
### Fixed
* Refactoring HTTP providers
26 changes: 24 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,30 @@ pandora myconfig.yaml
Or use Pandora with [Yandex.Tank](https://yandextank.readthedocs.io/en/latest/core_and_modules.html#pandora) and
[Overload](https://overload.yandex.net).

### Documentation
## Changelog

Install https://github.com/miniscruff/changie

You can add changie completion to you favorite shell https://changie.dev/cli/changie_completion/

### Using

See https://changie.dev/guide/quick-start/

Show current version `changie latest`

Show next minor version `changie next minor`

Add new comments - `changie new` - and follow interface

Create changelog release file - `changie batch v0.5.21`

Same for next version - `changie batch $(changie next patch)`

Merge to main CHANGELOG.md file - `changie merge`

## Documentation
[Documentation](https://yandex.github.io/pandora/)

### Old Documentation
## Old Documentation
[ReadTheDocs](https://yandexpandora.readthedocs.io/)
2 changes: 1 addition & 1 deletion cli/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
"go.uber.org/zap/zapcore"
)

const Version = "0.5.20"
const Version = "0.5.21"
const defaultConfigFile = "load"
const stdinConfigSelector = "-"

Expand Down
5 changes: 5 additions & 0 deletions components/guns/grpc/core.go
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,11 @@ func replacePort(host string, port int64) string {
return host + ":" + strconv.FormatInt(port, 10)
}

oldPort := split[len(split)-1]
if _, err := strconv.ParseInt(oldPort, 10, 64); err != nil {
return host + ":" + strconv.FormatInt(port, 10)
}

split[len(split)-1] = strconv.FormatInt(port, 10)
return strings.Join(split, ":")
}
Expand Down
6 changes: 6 additions & 0 deletions components/guns/grpc/core_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ func Test_replacePort(t *testing.T) {
port: 9999,
want: "[2a02:6b8:c02:901:0:fc5f:9a6c:4]:9999",
},
{
name: "add port to ipv6",
host: "[2a02:6b8:c02:901:0:fc5f:9a6c:4]",
port: 9999,
want: "[2a02:6b8:c02:901:0:fc5f:9a6c:4]:9999",
},
{
name: "replace ipv4",
host: "127.0.0.1:8888",
Expand Down

0 comments on commit e998924

Please sign in to comment.