Skip to content
This repository has been archived by the owner on Jun 4, 2021. It is now read-only.

add couchdb source #541

Merged
merged 11 commits into from
Sep 24, 2019
Merged

add couchdb source #541

merged 11 commits into from
Sep 24, 2019

Conversation

lionelvillard
Copy link
Member

@lionelvillard lionelvillard commented Aug 12, 2019

Proposed Changes

  • Add CouchDB source importer

Bare minimum CouchDB importer. Support polling every 2 seconds for CouchDB database changes.

@googlebot googlebot added the cla: yes Indicates the PR's author has signed the CLA. label Aug 12, 2019
@knative-prow-robot knative-prow-robot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Aug 12, 2019
@knative-prow-robot knative-prow-robot added the do-not-merge/invalid-owners-file Indicates that a PR should not merge because it has an invalid OWNERS file in it. label Aug 12, 2019
@knative-prow-robot
Copy link
Contributor

The following users are mentioned in OWNERS file(s) but are not members of the knative org.

  • couchdb-approvers
    • couchdb/importer/pkg/adapter/OWNERS
  • couchdb-reviewers
    • couchdb/importer/pkg/adapter/OWNERS

@lionelvillard
Copy link
Member Author

/assign @vaikas-google

group: sources.eventing.knative.dev
names:
categories:
- all
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we really want that in all ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, to be consistent with the other sources?

value: knative.dev/sources
- name: COUCHDB_RA_IMAGE
value: knative.dev/eventing-contrib/couchdb/source/cmd/receive_adapter
resources:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are these values guesses ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just default values.

@matzew
Copy link
Member

matzew commented Sep 10, 2019

wanna add some basic readme ? I usually hate it when browsing the folders (e.g. /couchdb in this case) and there is zero information

@lionelvillard
Copy link
Member Author

@matzew README added!

@lionelvillard lionelvillard force-pushed the couchdb branch 4 times, most recently from 0d7c2ae to e9b43aa Compare September 12, 2019 17:48
@lionelvillard lionelvillard changed the title add couchdb importer add couchdb source Sep 12, 2019
@matzew
Copy link
Member

matzew commented Sep 24, 2019

@lionelvillard do you want to do the metrics in a different PR ?

See here for reference: knative/eventing#1693

@matzew
Copy link
Member

matzew commented Sep 24, 2019

/lgtm
/approve
/hold whether metrics go in here or different PR, up to @lionelvillard

@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Sep 24, 2019
@knative-prow-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: lionelvillard, matzew

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@knative-prow-robot knative-prow-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 24, 2019
@matzew
Copy link
Member

matzew commented Sep 24, 2019

/hold

@knative-prow-robot knative-prow-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Sep 24, 2019
@lionelvillard
Copy link
Member Author

let's merge this one and let's add the metrics in a different PR. We should really start to think about having a Source SDK.

/hold cancel

@knative-prow-robot knative-prow-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Sep 24, 2019
@lionelvillard
Copy link
Member Author

/test pull-knative-eventing-contrib-integration-tests

1 similar comment
@matzew
Copy link
Member

matzew commented Sep 24, 2019

/test pull-knative-eventing-contrib-integration-tests

@lionelvillard
Copy link
Member Author

let's try a rebase...

@knative-prow-robot knative-prow-robot removed the lgtm Indicates that a PR is ready to be merged. label Sep 24, 2019
@knative-metrics-robot
Copy link

The following is the coverage report on pkg/.
Say /test pull-knative-eventing-contrib-go-coverage to re-run this coverage report

File Old Coverage New Coverage Delta
couchdb/source/pkg/apis/sources/v1alpha1/couchdbsource_lifecycle.go Do not exist 53.8%
couchdb/source/pkg/apis/sources/v1alpha1/couchdbsource_types.go Do not exist 50.0%
couchdb/source/pkg/apis/sources/v1alpha1/register.go Do not exist 100.0%

@matzew
Copy link
Member

matzew commented Sep 24, 2019 via email

@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Sep 24, 2019
@knative-prow-robot knative-prow-robot merged commit 5447e2b into knative:master Sep 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cla: yes Indicates the PR's author has signed the CLA. lgtm Indicates that a PR is ready to be merged. 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.

8 participants