Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from TykTechnologies:master #93

Merged
merged 102 commits into from
Sep 26, 2023

Conversation

pull[bot]
Copy link

@pull pull bot commented Sep 9, 2022

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

* adding cosmosDB support + unit tests

* adding unit tests

* adding switch statement and DBs errors as constants

* adding info about different mongo instances in docs

* adding Indexes field to unit tests

* refactoring code based on golangci-lint

* refactoring code based on golangci-lint
@pull pull bot added the ⤵️ pull label Sep 9, 2022
kolavcic and others added 28 commits September 12, 2022 11:17
* Bump version to v1.7

* Update pumps/version.go

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

Co-authored-by: Tomas Buchaillot <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* Releng sync

Co-authored-by: Gromit <policy@gromit>
* modifying sizeBytes formula

* converting RawResponse to bytes

* adding unit tests

* adding comments and removing testing prints

* fixing linter errors
* added validation for histograms to have always the type label

* remove debug line

* added test to TestEnsureLabels

* do not export ensureLabels func

* fix lintern errors

* added the label in the first position

* fix typo
* convert record to graph data

* implemented the pump and modidfied old mongo pump

* separate graph record logic

* fix go vet

* staticcheck and golangci-lint

* increased test coverage and fixed bugs

* goimports

* Use ast constants for operation type

* rename variable

* fix failing tests

* pr comments

* added tests for mongo graph pump

* reorganized tests

* added some comments

* modifying tests

* added pump tests

* added test cases for empty bodies

* test changes

* modified test and documentation
…rom exposition. (#492)

* support disabling prometheus metric families

* update readme and changelog

* fix language

* disabling of metrics should only work for the base metrics

* do not collect and log out disabled metrics

* exclude base metrics entirely if they are disabled

* checkpoint

* update docs
* mongo records ignore `max_document_size_bytes`

* add tests

* fix breaking error

* gofmt linting
* linting

* rollback log level

* adding example in readme

* adding more test scenarios

* fmting
* ignore ApiSchema on sql migration
…rch Pump (#502)

* adding SSL fields to ElasticsearchConf struct

* refactoring code

* running go fmt

* fixing linter error

* adding unit tests

* adding documentation

* applying suggestions

* converting function to method

* linting

* adding more unit tests
…me setting configurable (#486)

* allowing multiple storedAnalyticsPerMinute options

* handling max size error

* refactor: removing unnecessary if sentence

* refactoring changes

* adding unit tests

* refactoring code based on golangci-lint

* making new conf compatible with old confs

* linter refactoring

* applying reviews

* applying suggested changes

* mutex + DocDB support

* Revert "mutex + DocDB support"

This reverts commit c317f75.

* mutex + DocDB support

* fixing linter errors

* fixing linter error

* adding unit tests

* fixing linter error

* adding enable_aggregate_self_healing to readme

* adding documentation

* reverting changes in external file

* deleting empty file

* modifying readme

* adding unit tests

* linting unit tests

* WriteData unit tests

* increasing test coverage

* linting
…schema (#511)

* fix edge case where the query is to an unresolved subgraph schema

* fixed tests

* added tests for new record logic
* adding info about self-healing

* adding more features to demo mode

* improving variable names

* unit tests + linting

* fixing tests

* adding docs

* fixing tests

* removing extra documentation

* small change in readme

* slight details in readme
* adding mongo_session_consistency to pump

* avoiding repeated lines

* reverting changes out of ticket's scope

* comment small change
* changing mongo blurURL regex to a more flex one

* Adding another tc
* changing timeout documentation

* removing pmp_type from example

* changing timeout wording

* changing wording

* changing wording
* Added table for tyk analytics record schema

Provide more context for each key-pair value fields in our tyk_analytics record

* Cleaned up formatting and modified description

Reordered the items to make the flow more fluid and modified apikey description and example
* allowing users to ignore fields

* docs + linting

* refactoring: from reflect library to structs library

* avoiding unncessary double error message
* updating timestamp of every record

* fixing tests not working

* modifying ts to nextTimestamp
* typo in timestream pump

* fixing NewTimestreamWriter func name
* Update upgradefrom attribute

* Update upgradefrom attribute

* Update upgradefrom attribute

Co-authored-by: Gromit <policy@gromit>
Co-authored-by: Gromit <policy@gromit>
Add an additional step in the sync automation workflow
to enable automerge for the created PR.
* adding info about self-healing

* rewritting readme

* changing variable name
kofoworola and others added 29 commits May 17, 2023 08:13
* Change default RPC pool size

* add TestHybridConfigParsing test case
…#645)

* added write data test for mongo pump and remove constraint

Added a test to cover the write data function of the mongo pump, and
removed a bug where he mongo pump only recorded graph records

* run fmt
* overriding pumps with the same name

* linting

* adding more test cases

* moving unit test function to the top of the file

* separating overriding test
)

* converting pump name to lower case when looking for it

* improving unit tests
* loading config file only if we shouldn't omit it

* fixing flaky test

* linting

* removing cfg.OmitConfigFile check
* Updating to Go 1.19

* remove formatting golangci.yaml file

* reverting unnecessary changes

* Fix test names, amend syntax changes

* Add historical branches

* changing linter go's version

---------

Co-authored-by: Esteban Ricardo Mirizio <[email protected]>
* overriding pump type through env vars

* removing unused pump name
* Updating comments

* adding comments to 'name' and 'type'
* Updating comments

* adding comments to 'name' and 'type'

* adding comment to Meta field

* changing IgnoreFields position

* fixing False syntax error

* fixing True syntax error
* upgraded influx to v1.8.10

* go mod tidy
* change name from APISchema to ApiSchema
Co-authored-by: Gromit <policy@gromit>
* Updating storage to v1.0.7

* go mod tidy
* removing go 1.18 from CI

* trying test-params gha branch

* trying gha improvements

* using main branch on workflows
* Updating storage to v1.0.7

* Changing Timeout from time.Duration to int

* changing timeout type to interface

* linting

* handling numbers in format string
* Updating storage to v1.0.7

* go mod tidy

* Updating storage to v1.0.8
* fix index creation error

* fix ci

* fix lint
* Fix prometheus tracking path

* suggested fixes
* fixing SQL Aggregate indexes

* TT-9490 change name from APISchema to ApiSchema (#681)

* change name from APISchema to ApiSchema

* update regex to blur mongo credentials (#686)

* updated prometheus to 1.16 (#688)

* Auto generated from templates by gromit (#692)

Co-authored-by: Gromit <policy@gromit>

* [TT-9464] Updating storage to v1.0.7 (#689)

* Updating storage to v1.0.7

* go mod tidy

* fixing SQL Aggregate indexes

* removing unused func

* linting

* adding waiting time for sqlite

* using background only on postgres

* adding comment

* updating comments

* restoring linter.yaml

* adding index created on non existing table, not background scenario

* adding dbType var from config

* taking care of side scenario

* controlling bg chan

* adding omit_index_creation

---------

Co-authored-by: Sredny M <[email protected]>
Co-authored-by: Alok G Singh <[email protected]>
Co-authored-by: Gromit <policy@gromit>
Co-authored-by: Matias <[email protected]>
* aggregate graph iaggregate records by api_id

* fixed tests

* fix dimensions test

* fixed sharded table

* fix goang ci lint
@akash-miq akash-miq merged commit 7af2a45 into miqdigital:master Sep 26, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.