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

Initial copied code from Kyma repository #2

Merged
merged 195 commits into from
Dec 12, 2023

Conversation

mfaizanse
Copy link
Member

Description

Changes proposed in this pull request:

  • Initial copied code from Kyma repository

Related issue(s)

sayanh and others added 30 commits September 21, 2020 09:41
* Use non root in Dockerfile

* Fix workdir

* Removing user as it is non-root already
* Scaffold NATS publisher

* Format imports

* Add support for ko

* Update makefile
* Initial commit

* Add tests

* Solve make imports

* Update comments

* Remove unused code

* Use '/' at the begining of test namespaces, for both BEB and NATS

* Solve comments

* Update log message

* Solve other comments

* Solve make imports

* Generate a random port for Nats
Co-authored-by: Korbinian Stoemmer <[email protected]>
Co-authored-by: Aleksandra Simeonova <[email protected]>
* initial commit

* Add log messages

* Update log messages

* Add BACKEND env variable

* Avoid fatal logging outside of main

* Solve comments

* Add BACKEND env variable for NATS deployment

* Use the image event-publisher-proxy for nats too

* Fix logs

* Update KO deployments

* Use PR images for verification

* Update log messages

* Enhance log messages at publisher starting

* Fix beb-publisher deployment for beb-namespace missing / as a prefix

* Fix KO build image and update comments

Co-authored-by: Marco Bebway <[email protected]>
* Fix KO for eventing-publisher-nats

* Update nats publisher dev config

* Add a note on the ClusterRoleBinding subject namespace

Co-authored-by: Marco Bebway <[email protected]>
…#11211)

* Initial commit

* Add Stop() method in Commander interface

* Add a new reusable context whihc supports multiple instances
* update nats dependencies

* bump image

* update kyma dependencies
* Upgrade go client to v0.20.7

* Bump publisher-proxy image to PR-11430

* Fix event-publisher-proxy image tag
* Reconnect to Nats in publisher

* Solve comments
* Optimze HTTP header access in test

* Add debugging test output

* Fix after tests

* Change header access to Get()

* Set event-publisher PR version
* Add tracing context from publisher to controller

* Bump image

* Fine tune test

* Add tracing for /publish endpoint

* Cleanup

* Cleanup

* Cleanup
* Add check-code target

* Update RESDME.md
mfaizanse and others added 15 commits July 7, 2023 08:53
* Dependencies bump for Eventing

* bumped prometheus client

* updated replaces

* image bump
* record metrics for failed backend requests

* fix some previously missed tests

* bump image

* change image folder
…ents/event-publisher-proxy (#17803)

* gomod(deps): bump golang.org/x/oauth2

Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2) from 0.9.0 to 0.10.0.
- [Commits](golang/oauth2@v0.9.0...v0.10.0)

---
updated-dependencies:
- dependency-name: golang.org/x/oauth2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update values.yaml

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Friedrich <[email protected]>
* simplify sender interface

previously the sender had to return
- a PublishResult
- an Error

The problem here was that PublishResult was treated as an error
indicator for the eventMesh Backend, and the error was for other senders
such as the on Nats

The new interface just expects an Error to be returned in case of an
error. Any successful call will result in a 204 response with an empty
message.

This means now the sender has to map its errors or error responses onto
an error object, and any other function in the chain can just treat all
errors equally.

* remove redundant local variable

* bump images

* fix lint issues

* add missing files

* improve readability of tests

* fix linter

* remove redundant metrics

* empty commit

* add more logging in case of errors during send

* add missing log
* Bump DependaBot PRs

* Image bump
* add health status as metric

* bump images

* update metrics documentation

* fix comments

* fix comments
…ne3.18 to 1.20.6-alpine3.18 in /components/event-publisher-proxy (#17904)

* docker(deps): bump kyma-project/prod/external/golang

Bumps kyma-project/prod/external/golang from 1.20.5-alpine3.18 to 1.20.6-alpine3.18.

---
updated-dependencies:
- dependency-name: kyma-project/prod/external/golang
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update values.yaml

* Update values.yaml

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Friedrich <[email protected]>
* Bump dependabot prs

* vendor packages

* Undo unwanted change

* Image bump
…10.1 in /components/event-publisher-proxy (#18210)

* gomod(deps): bump github.com/nats-io/nats-server/v2

Bumps [github.com/nats-io/nats-server/v2](https://github.com/nats-io/nats-server) from 2.9.21 to 2.10.1.
- [Release notes](https://github.com/nats-io/nats-server/releases)
- [Changelog](https://github.com/nats-io/nats-server/blob/main/.goreleaser.yml)
- [Commits](nats-io/nats-server@v2.9.21...v2.10.1)

---
updated-dependencies:
- dependency-name: github.com/nats-io/nats-server/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update values.yaml

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mansur Uralov <[email protected]>
…s/event-publisher-proxy (#18179)

* gomod(deps): bump go.uber.org/zap in /components/event-publisher-proxy

Bumps [go.uber.org/zap](https://github.com/uber-go/zap) from 1.25.0 to 1.26.0.
- [Release notes](https://github.com/uber-go/zap/releases)
- [Changelog](https://github.com/uber-go/zap/blob/master/CHANGELOG.md)
- [Commits](uber-go/zap@v1.25.0...v1.26.0)

---
updated-dependencies:
- dependency-name: go.uber.org/zap
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update values.yaml

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mansur Uralov <[email protected]>
* Added ENV flag to disable Application CR lister

* added tests

* image bump
* dont-deploy-epp-without-nats

* bump image

* undo bump image of ec

* change to disconnected

* simplify

* reenable nats
…ckets (#18301)

* rename metric to eventing_epp_requests_duration_milliseconds and adjust buckets

* fix lint

* fix buckets and test

* fix lint job

* bump images
* Bump golang in Dockerfile.

* Bump golang version in module.

* Bump eventing-controller

* Remove replace for k8s modules.

* Code quality.

* Bump remaining dependencies.

* Replace interface{} with any.
@kyma-bot kyma-bot added the do-not-merge/invalid-commit-message Indicates that a PR should not merge because it has an invalid commit message. label Dec 12, 2023
@kyma-bot
Copy link

Keywords which can automatically close issues and at(@) or hashtag(#) mentions are not allowed in commit messages.

The list of commits with invalid commit messages:

  • 4401f46 gomod(deps): bump sigs.k8s.io/controller-runtime from 0.11.2 to 0.12.0 in /components/event-publisher-proxy (#14287)
  • 96d1673 gomod(deps): bump sigs.k8s.io/controller-runtime from 0.12.1 to 0.12.2 in /components/event-publisher-proxy (#14676)
  • b67e5eb gomod(deps): bump github.com/stretchr/testify from 1.7.2 to 1.7.5 in /components/event-publisher-proxy (#14688)
  • 25c57c6 gomod(deps): bump github.com/stretchr/testify from 1.7.5 to 1.8.0 in /components/event-publisher-proxy (#14711)
  • 9d131f6 gomod(deps): bump sigs.k8s.io/controller-runtime from 0.12.2 to 0.12.3 in /components/event-publisher-proxy (#14771)
  • 1d2821e gomod(deps): bump k8s.io/client-go from 0.24.2 to 0.24.3 in /components/event-publisher-proxy (#14816)
  • 606dfb7 gomod(deps): bump github.com/onsi/gomega from 1.19.0 to 1.20.0 in /components/event-publisher-proxy (#14879)
  • cbb45b5 gomod(deps): bump github.com/cloudevents/sdk-go/v2 from 2.10.1 to 2.11.0 in /components/event-publisher-proxy (#15107)
  • 0fcf8b2 gomod(deps): bump github.com/onsi/gomega from 1.20.0 to 1.20.2 in /components/event-publisher-proxy (#15343)
  • 9b14df3 gomod(deps): bump github.com/nats-io/nats-server/v2 from 2.8.4 to 2.9.1 in /components/event-publisher-proxy (#15627)
  • 4038076 gomod(deps): bump github.com/stretchr/testify from 1.8.0 to 1.8.1 in /components/event-publisher-proxy (#15888)
  • 5e97ed1 gomod(deps): bump k8s.io/client-go from 0.25.3 to 0.25.4 in /components/event-publisher-proxy (#16102)
  • 5afeb05 gomod(deps): bump github.com/nats-io/nats.go from 1.19.0 to 1.20.0 in /components/event-publisher-proxy (#16093)
  • d48223f gomod(deps): bump github.com/nats-io/nats-server/v2 from 2.9.7 to 2.9.8 in /components/event-publisher-proxy (#16159)
  • 473b9ec gomod(deps): bump go.uber.org/zap from 1.23.0 to 1.24.0 in /components/event-publisher-proxy (#16236)
  • 32c88d5 gomod(deps): bump github.com/nats-io/nats.go from 1.20.0 to 1.21.0 in /components/event-publisher-proxy (#16269)
  • 73dca7e gomod(deps): bump golang.org/x/oauth2 from 0.2.0 to 0.3.0 in /components/event-publisher-proxy (#16280)
  • 8df094a gomod(deps): bump github.com/nats-io/nats-server/v2 from 2.9.8 to 2.9.9 in /components/event-publisher-proxy (#16314)
  • 670cfdb gomod(deps): bump github.com/nats-io/nats-server/v2 from 2.9.9 to 2.9.10 in /components/event-publisher-proxy (#16417)
  • ed8ea70 gomod(deps): bump github.com/nats-io/nats.go from 1.21.0 to 1.22.1 in /components/event-publisher-proxy (#16437)
  • 4ad3a5a gomod(deps): bump github.com/onsi/gomega from 1.24.1 to 1.24.2 in /components/event-publisher-proxy (#16365)
  • c3353a9 gomod(deps): bump golang.org/x/oauth2 from 0.3.0 to 0.4.0 in /components/event-publisher-proxy (#16505)
  • ca87fa2 gomod(deps): bump github.com/cloudevents/sdk-go/v2 from 2.12.0 to 2.13.0 in /components/event-publisher-proxy (#16520)
  • 7e98e4c gomod(deps): bump github.com/nats-io/nats-server/v2 from 2.9.10 to 2.9.11 in /components/event-publisher-proxy (#16512)
  • 9d2b236 gomod(deps): bump github.com/onsi/gomega from 1.25.0 to 1.26.0 in /components/event-publisher-proxy (#16652)
  • 798d69e gomod(deps): bump golang.org/x/oauth2 from 0.4.0 to 0.5.0 in /components/event-publisher-proxy (#16777)
  • 0462f49 gomod(deps): bump github.com/nats-io/nats-server/v2 from 2.9.11 to 2.9.14 in /components/event-publisher-proxy (#16757)
  • be36de7 gomod(deps): bump github.com/onsi/gomega from 1.26.0 to 1.27.1 in /components/event-publisher-proxy (#16836)
  • 6149403 gomod(deps): bump github.com/stretchr/testify from 1.8.1 to 1.8.2 in /components/event-publisher-proxy (#16934)
  • e8a714f gomod(deps): bump github.com/onsi/gomega from 1.27.1 to 1.27.2 in /components/event-publisher-proxy (#16950)
  • 95b25ea gomod(deps): bump github.com/nats-io/nats.go from 1.23.0 to 1.24.0 in /components/event-publisher-proxy (#16935)
  • 2224564 gomod(deps): bump github.com/nats-io/nats-server/v2 from 2.9.14 to 2.9.15 in /components/event-publisher-proxy (#16983)
  • adf3cd6 gomod(deps): bump golang.org/x/oauth2 from 0.5.0 to 0.6.0 in /components/event-publisher-proxy (#16998)
  • 5d0bba4 docker(deps): bump kyma-project/external/golang from 1.19.5-alpine3.17 to 1.20.1-alpine3.17 in /components/event-publisher-proxy (#17067)
  • 437835b docker(deps): bump kyma-project/external/golang from 1.20.1-alpine3.17 to 1.20.2-alpine3.17 in /components/event-publisher-proxy (#17082)
  • 73ee396 gomod(deps): bump github.com/nats-io/nats.go from 1.24.0 to 1.25.0 in /components/event-publisher-proxy (#17192)
  • 14322e1 gomod(deps): bump github.com/onsi/gomega from 1.27.2 to 1.27.6 in /components/event-publisher-proxy (#17222)
  • c76ca98 gomod(deps): bump github.com/stretchr/testify from 1.8.2 to 1.8.3 in /components/event-publisher-proxy (#17538)
  • 0485ba8 gomod(deps): bump github.com/nats-io/nats.go from 1.26.0 to 1.27.0 in /components/event-publisher-proxy (#17646)
  • 98611e7 gomod(deps): bump golang.org/x/oauth2 from 0.9.0 to 0.10.0 in /components/event-publisher-proxy (#17803)
  • 93d56e7 docker(deps): bump kyma-project/prod/external/golang from 1.20.5-alpine3.18 to 1.20.6-alpine3.18 in /components/event-publisher-proxy (#17904)
  • eb7dd18 gomod(deps): bump github.com/nats-io/nats-server/v2 from 2.9.21 to 2.10.1 in /components/event-publisher-proxy (#18210)
  • 21b126a gomod(deps): bump go.uber.org/zap from 1.25.0 to 1.26.0 in /components/event-publisher-proxy (#18179)

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@CLAassistant
Copy link

CLAassistant commented Dec 12, 2023

CLA assistant check
All committers have signed the CLA.

@kyma-bot kyma-bot added size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. cla: yes Indicates the PR's author has signed the CLA. labels Dec 12, 2023
@mfaizanse mfaizanse removed the do-not-merge/invalid-commit-message Indicates that a PR should not merge because it has an invalid commit message. label Dec 12, 2023
@kyma-bot kyma-bot added the lgtm Looks good to me! label Dec 12, 2023
@kyma-bot kyma-bot merged commit 55428ae into kyma-project:main Dec 12, 2023
3 checks passed
@mfaizanse mfaizanse deleted the initial_move_part1 branch December 13, 2023 09:18
@mfaizanse mfaizanse restored the initial_move_part1 branch December 14, 2023 10:40
@grischperl grischperl added this to the 1.0.0 milestone Jan 9, 2024
@kyma-bot kyma-bot mentioned this pull request Jan 10, 2024
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Indicates the PR's author has signed the CLA. lgtm Looks good to me! size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

move EPP out of kyma into the eventing-manager and setup pipelines / cleanup old pipelines