-
Notifications
You must be signed in to change notification settings - Fork 10
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
Prototype Review Pull Request #1
Commits on Oct 19, 2018
-
Configuration menu - View commit details
-
Copy full SHA for d7bebc9 - Browse repository at this point
Copy the full SHA d7bebc9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 646a040 - Browse repository at this point
Copy the full SHA 646a040View commit details -
Configuration menu - View commit details
-
Copy full SHA for cdc0b58 - Browse repository at this point
Copy the full SHA cdc0b58View commit details -
Configuration menu - View commit details
-
Copy full SHA for c1c9123 - Browse repository at this point
Copy the full SHA c1c9123View commit details -
Use test/utils/eventbus_test_init as eventbus_init_module in config.t…
…est.yaml This allows us to fully mock the Eventbus instance used when testing, while still piping events through the same functions used for prod by creating them in eventbus-init-utils.js
Configuration menu - View commit details
-
Copy full SHA for b67caa0 - Browse repository at this point
Copy the full SHA b67caa0View commit details
Commits on Oct 22, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 4c4d8b3 - Browse repository at this point
Copy the full SHA 4c4d8b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for d00aa6e - Browse repository at this point
Copy the full SHA d00aa6eView commit details -
Configuration menu - View commit details
-
Copy full SHA for da49795 - Browse repository at this point
Copy the full SHA da49795View commit details -
Eventbus now handles createEventError and processing; the route doesn't
This makes configuration of Eventbus for the route cleaner. Instead of the app.conf.eventbus_init_module exporting both an Eventbus instance and a createEventError function, it only needs to export the Eventbus instance. createEventError is given to the Eventbus constructor, and Eventbus handles event error processing.
Configuration menu - View commit details
-
Copy full SHA for 7293c2a - Browse repository at this point
Copy the full SHA 7293c2aView commit details
Commits on Oct 23, 2018
-
Configuration menu - View commit details
-
Copy full SHA for c692eb0 - Browse repository at this point
Copy the full SHA c692eb0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 57b279a - Browse repository at this point
Copy the full SHA 57b279aView commit details -
- schema_field -> schema_uri_field - config file cleanup - allow protocol less uris, assume these are local file paths
Configuration menu - View commit details
-
Copy full SHA for 4e2376d - Browse repository at this point
Copy the full SHA 4e2376dView commit details -
Configuration menu - View commit details
-
Copy full SHA for f1a1ae9 - Browse repository at this point
Copy the full SHA f1a1ae9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 17dc169 - Browse repository at this point
Copy the full SHA 17dc169View commit details -
Configuration menu - View commit details
-
Copy full SHA for f8d596c - Browse repository at this point
Copy the full SHA f8d596cView commit details
Commits on Oct 24, 2018
-
Configuration menu - View commit details
-
Copy full SHA for e97f056 - Browse repository at this point
Copy the full SHA e97f056View commit details -
Configuration menu - View commit details
-
Copy full SHA for d9faef2 - Browse repository at this point
Copy the full SHA d9faef2View commit details
Commits on Oct 25, 2018
-
Use built in ajv caching by schema $id instead of ValidatorCache
Ajv already caches its compiled validators (and schemas) by $id. This makes it really handy to look up event schemas if their schema URIs match the schema's $id property. $refs get a little tricky, but I think I got it. Unfortunetly, in order to properly resolve, we need to make event schema $schema URIs start with /, other wise $ref that point at schemas will not be correct.
Configuration menu - View commit details
-
Copy full SHA for cd5d8ac - Browse repository at this point
Copy the full SHA cd5d8acView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6e255bb - Browse repository at this point
Copy the full SHA 6e255bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4292995 - Browse repository at this point
Copy the full SHA 4292995View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d2ce96 - Browse repository at this point
Copy the full SHA 4d2ce96View commit details -
Configuration menu - View commit details
-
Copy full SHA for ae5aee3 - Browse repository at this point
Copy the full SHA ae5aee3View commit details
Commits on Oct 26, 2018
-
Use lodash get instead of custom objectProperty, add objectGet
objectGet just wraps _.get, but throws PropertyNotFoundError if undefined. Also fix test logging to make it easier to enable logging output during tests.
Configuration menu - View commit details
-
Copy full SHA for 05168f7 - Browse repository at this point
Copy the full SHA 05168f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 039ef1c - Browse repository at this point
Copy the full SHA 039ef1cView commit details -
Configuration menu - View commit details
-
Copy full SHA for b1720a4 - Browse repository at this point
Copy the full SHA b1720a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9991c25 - Browse repository at this point
Copy the full SHA 9991c25View commit details
Commits on Oct 29, 2018
-
Configuration menu - View commit details
-
Copy full SHA for e1a3e38 - Browse repository at this point
Copy the full SHA e1a3e38View commit details -
Move errors to lib/errors and make them more generic
Also throw EventSchemaLoadError when schema fails loading from uri
Configuration menu - View commit details
-
Copy full SHA for 5507df4 - Browse repository at this point
Copy the full SHA 5507df4View commit details
Commits on Oct 30, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 5d91ebf - Browse repository at this point
Copy the full SHA 5d91ebfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 80b118b - Browse repository at this point
Copy the full SHA 80b118bView commit details -
Use options for Eventbus constructor rather than positional args
Makes things easier to customize
Configuration menu - View commit details
-
Copy full SHA for ed7ca9b - Browse repository at this point
Copy the full SHA ed7ca9bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 98ccd83 - Browse repository at this point
Copy the full SHA 98ccd83View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8cca3dc - Browse repository at this point
Copy the full SHA 8cca3dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1561123 - Browse repository at this point
Copy the full SHA 1561123View commit details -
Rename create...Function to ...FromConf
Makes it clearer what these function generators are doing.
Configuration menu - View commit details
-
Copy full SHA for 7172d15 - Browse repository at this point
Copy the full SHA 7172d15View commit details -
Configuration menu - View commit details
-
Copy full SHA for c3c63e7 - Browse repository at this point
Copy the full SHA c3c63e7View commit details
Commits on Oct 31, 2018
-
Rename functions and move all default factory code into default-eventbus
This makes it more clear as to what the default-eventbus is and what it is doing. Individual function makers are renamed to make*, and they are exported along with the default eventbus factory function for reuse elsewhere.
Configuration menu - View commit details
-
Copy full SHA for 8a9e29a - Browse repository at this point
Copy the full SHA 8a9e29aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d5624d - Browse repository at this point
Copy the full SHA 4d5624dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 23c3651 - Browse repository at this point
Copy the full SHA 23c3651View commit details -
Filter out empty results from mapToEventError
This allows implementers of mapToEventError to decide which types of event errors they want to be produced to the error topic.
Configuration menu - View commit details
-
Copy full SHA for 863730c - Browse repository at this point
Copy the full SHA 863730cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4fa8753 - Browse repository at this point
Copy the full SHA 4fa8753View commit details -
Configuration menu - View commit details
-
Copy full SHA for 56b49b2 - Browse repository at this point
Copy the full SHA 56b49b2View commit details
Commits on Nov 1, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 36c5548 - Browse repository at this point
Copy the full SHA 36c5548View commit details -
Configuration menu - View commit details
-
Copy full SHA for 513dda1 - Browse repository at this point
Copy the full SHA 513dda1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 02f6414 - Browse repository at this point
Copy the full SHA 02f6414View commit details -
Readme update and forgotten file
lib/errors.js should have been added days ago
Configuration menu - View commit details
-
Copy full SHA for 2ed78eb - Browse repository at this point
Copy the full SHA 2ed78ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 18922dc - Browse repository at this point
Copy the full SHA 18922dcView commit details
Commits on Nov 13, 2018
-
Configuration menu - View commit details
-
Copy full SHA for bb19a7b - Browse repository at this point
Copy the full SHA bb19a7bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e8a0db - Browse repository at this point
Copy the full SHA 2e8a0dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f6b578 - Browse repository at this point
Copy the full SHA 7f6b578View commit details -
Configuration menu - View commit details
-
Copy full SHA for b077e44 - Browse repository at this point
Copy the full SHA b077e44View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2281ed0 - Browse repository at this point
Copy the full SHA 2281ed0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d31320 - Browse repository at this point
Copy the full SHA 2d31320View commit details -
Configuration menu - View commit details
-
Copy full SHA for 44fb483 - Browse repository at this point
Copy the full SHA 44fb483View commit details -
Configuration menu - View commit details
-
Copy full SHA for e5fab50 - Browse repository at this point
Copy the full SHA e5fab50View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2cf5316 - Browse repository at this point
Copy the full SHA 2cf5316View commit details -
Configuration menu - View commit details
-
Copy full SHA for 85ca14f - Browse repository at this point
Copy the full SHA 85ca14fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 745210c - Browse repository at this point
Copy the full SHA 745210cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8631080 - Browse repository at this point
Copy the full SHA 8631080View commit details -
Configuration menu - View commit details
-
Copy full SHA for dafc756 - Browse repository at this point
Copy the full SHA dafc756View commit details -
If stream_field not configured, use schema_uri_field to create topic
This adds some extra default behavior if events don't have stream or topic names in them. This makes the explanation and usage of a default eventbus install simpler; The 'only' extra information clients need to include in their events is the schema URI. If stream_field is not configued, Extracted schema URIs will be sanitized and used as the Kafka topic.
Configuration menu - View commit details
-
Copy full SHA for d81c6da - Browse repository at this point
Copy the full SHA d81c6daView commit details -
Configuration menu - View commit details
-
Copy full SHA for 91ecadb - Browse repository at this point
Copy the full SHA 91ecadbView commit details
Commits on Nov 14, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 55d3519 - Browse repository at this point
Copy the full SHA 55d3519View commit details
Commits on Nov 19, 2018
-
Add context to Eventbus.process, validate and produce functions
This allows for users of Eventbus (like the service template route) to pass in extra context for validate() and produce() implementaitons to use. This is used by wikimedia-eventbus to instantiate two different Kafka producers, a guarunteed and a 'hasty' producer, to use for both reliable and fire and forget ?hasty=true cases.
Configuration menu - View commit details
-
Copy full SHA for fc6b74a - Browse repository at this point
Copy the full SHA fc6b74aView commit details -
Configuration menu - View commit details
-
Copy full SHA for f264a4a - Browse repository at this point
Copy the full SHA f264a4aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 500ddc2 - Browse repository at this point
Copy the full SHA 500ddc2View commit details -
default-eventbus changes: - remove topic_prefix support - remove partition_field support - remove key_field support - remove HastyKafkaProducer support - remove id_field support wikimedia-eventbus changes: - remove schema_uri -> stream name default mapping; all events must have stream_name - topic_prefix, id_field and HastyKafkaProducer support moved into wikimedia-eventbus
Configuration menu - View commit details
-
Copy full SHA for 1a5fcc4 - Browse repository at this point
Copy the full SHA 1a5fcc4View commit details -
Cache schemas in AJV by schema URIs as well as $id
This removes the restriction that schema URIs match exactly $id fields.
Configuration menu - View commit details
-
Copy full SHA for 100eef6 - Browse repository at this point
Copy the full SHA 100eef6View commit details
Commits on Nov 26, 2018
-
Use schema 'title' field as schema name in stream config
This allows us to use the title rather to ensure that an event of a particular schema is allowed in the stream, rather than relying on the schema_uri. The title will be more consistent and canonical than schema_uris, which might change due to location moving, etc. Also refactory wikimedia-eventbus a bit to simplify.
Configuration menu - View commit details
-
Copy full SHA for 8e49f3e - Browse repository at this point
Copy the full SHA 8e49f3eView commit details -
Remove full batch validation idea from README
we can consider implementing this if we have a use case
Configuration menu - View commit details
-
Copy full SHA for b10a970 - Browse repository at this point
Copy the full SHA b10a970View commit details
Commits on Nov 29, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 9481f15 - Browse repository at this point
Copy the full SHA 9481f15View commit details
Commits on Nov 30, 2018
-
Configuration menu - View commit details
-
Copy full SHA for ef59064 - Browse repository at this point
Copy the full SHA ef59064View commit details -
Configuration menu - View commit details
-
Copy full SHA for aa699c1 - Browse repository at this point
Copy the full SHA aa699c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for d6b5c8f - Browse repository at this point
Copy the full SHA d6b5c8fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0cfb121 - Browse repository at this point
Copy the full SHA 0cfb121View commit details
Commits on Dec 3, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 13ffb41 - Browse repository at this point
Copy the full SHA 13ffb41View commit details
Commits on Dec 4, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 27e775a - Browse repository at this point
Copy the full SHA 27e775aView commit details -
Support draft 4 schemas and schema_uri_field as array
The default Ajv instance knows about the Draft 7 JSONSchema meta schema, but does not on its own include meta schemas for other JSONSchema drafts. Schemas should point to their meta schema in the $schema field. JSONSChema meta schemas are self validating, so they have their $id fields and $schema fields set to the same URL. If Ajv does not yet have a meta schema referneced by that URL, this will cause infinite recursion as our loadSchema implementation will look up remote schemas by $id. This patch adds a option for EventValidator to match $id schema URLs as being meta schemas, instead of data (event) schemas. If a schema's URL matches, it will be added as a meta schema to Ajv, breaking the infinite recursion. --- This patch also includes a change to the default-eventgate schema_uri_field option. If this is given as an array, the event will be searched for the field names in the array when extracting a schema uri. Both of thse changes allow wikimedia to support draft 4 events with schema URIs at meta.schema_uri, as well as new draft 7 ones we will make with schema URIs at $schema.
2Configuration menu - View commit details
-
Copy full SHA for 671d117 - Browse repository at this point
Copy the full SHA 671d117View commit details -
Configuration menu - View commit details
-
Copy full SHA for bff315f - Browse repository at this point
Copy the full SHA bff315fView commit details -
Configuration menu - View commit details
-
Copy full SHA for b6fc329 - Browse repository at this point
Copy the full SHA b6fc329View commit details -
Configuration menu - View commit details
-
Copy full SHA for 01a0325 - Browse repository at this point
Copy the full SHA 01a0325View commit details -
Configuration menu - View commit details
-
Copy full SHA for c6e9553 - Browse repository at this point
Copy the full SHA c6e9553View commit details -
Configuration menu - View commit details
-
Copy full SHA for a73b6ba - Browse repository at this point
Copy the full SHA a73b6baView commit details -
Configuration menu - View commit details
-
Copy full SHA for 193f0ef - Browse repository at this point
Copy the full SHA 193f0efView commit details
Commits on Dec 5, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 7d23739 - Browse repository at this point
Copy the full SHA 7d23739View commit details -
Configuration menu - View commit details
-
Copy full SHA for 274788a - Browse repository at this point
Copy the full SHA 274788aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 163747e - Browse repository at this point
Copy the full SHA 163747eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f9ee8c - Browse repository at this point
Copy the full SHA 7f9ee8cView commit details -
Configuration menu - View commit details
-
Copy full SHA for e36b4fc - Browse repository at this point
Copy the full SHA e36b4fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for c01d69b - Browse repository at this point
Copy the full SHA c01d69bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1061492 - Browse repository at this point
Copy the full SHA 1061492View commit details
Commits on Dec 10, 2018
-
Configuration menu - View commit details
-
Copy full SHA for cb464f4 - Browse repository at this point
Copy the full SHA cb464f4View commit details
Commits on Dec 18, 2018
-
Configuration menu - View commit details
-
Copy full SHA for c083808 - Browse repository at this point
Copy the full SHA c083808View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4fdd3f2 - Browse repository at this point
Copy the full SHA 4fdd3f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for b8b162a - Browse repository at this point
Copy the full SHA b8b162aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b7dd36 - Browse repository at this point
Copy the full SHA 6b7dd36View commit details -
Configuration menu - View commit details
-
Copy full SHA for 92aaa45 - Browse repository at this point
Copy the full SHA 92aaa45View commit details -
Configuration menu - View commit details
-
Copy full SHA for f62f2c1 - Browse repository at this point
Copy the full SHA f62f2c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f68cf6 - Browse repository at this point
Copy the full SHA 2f68cf6View commit details -
Configuration menu - View commit details
-
Copy full SHA for a5bdda5 - Browse repository at this point
Copy the full SHA a5bdda5View commit details -
Configuration menu - View commit details
-
Copy full SHA for e1a7c8d - Browse repository at this point
Copy the full SHA e1a7c8dView commit details -
Configuration menu - View commit details
-
Copy full SHA for cac1609 - Browse repository at this point
Copy the full SHA cac1609View commit details -
Configuration menu - View commit details
-
Copy full SHA for 72387bf - Browse repository at this point
Copy the full SHA 72387bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for a087f6a - Browse repository at this point
Copy the full SHA a087f6aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 51bcf3a - Browse repository at this point
Copy the full SHA 51bcf3aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d157aa - Browse repository at this point
Copy the full SHA 7d157aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for c87f2a8 - Browse repository at this point
Copy the full SHA c87f2a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for c00bb0b - Browse repository at this point
Copy the full SHA c00bb0bView commit details -
Configuration menu - View commit details
-
Copy full SHA for de6df3a - Browse repository at this point
Copy the full SHA de6df3aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ee4c3e - Browse repository at this point
Copy the full SHA 8ee4c3eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 67e2fa1 - Browse repository at this point
Copy the full SHA 67e2fa1View commit details
Commits on Dec 19, 2018
-
Configuration menu - View commit details
-
Copy full SHA for ffa7d02 - Browse repository at this point
Copy the full SHA ffa7d02View commit details
Commits on Jan 2, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 0ecb4c7 - Browse repository at this point
Copy the full SHA 0ecb4c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5bb467b - Browse repository at this point
Copy the full SHA 5bb467bView commit details -
Configuration menu - View commit details
-
Copy full SHA for e8a056f - Browse repository at this point
Copy the full SHA e8a056fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c3ba4b - Browse repository at this point
Copy the full SHA 9c3ba4bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ac782bf - Browse repository at this point
Copy the full SHA ac782bfView commit details
Commits on Jan 3, 2019
-
Fix bug with runtime remote loading of meta schemas
The use of _.defaults in EventValidator constructor was causing the defaultOptions.ajvConfig to be assigned to the final value of ajvConfig. By using defaultsDeep only once, we avoid accidentally assinging it and possibly accidentally using the wrong loadSchema function for different EventValidator instances. This brings back the ability to add meta schemas at runtime via the metaSchemaIdRegex option.
Configuration menu - View commit details
-
Copy full SHA for a1456de - Browse repository at this point
Copy the full SHA a1456deView commit details
Commits on Jan 7, 2019
-
Configuration menu - View commit details
-
Copy full SHA for c26fd37 - Browse repository at this point
Copy the full SHA c26fd37View commit details -
Configuration menu - View commit details
-
Copy full SHA for 63812d9 - Browse repository at this point
Copy the full SHA 63812d9View commit details
Commits on Jan 8, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 7cacd70 - Browse repository at this point
Copy the full SHA 7cacd70View commit details
Commits on Jan 11, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 6779b67 - Browse repository at this point
Copy the full SHA 6779b67View commit details -
Configuration menu - View commit details
-
Copy full SHA for aba0ea2 - Browse repository at this point
Copy the full SHA aba0ea2View commit details -
Configuration menu - View commit details
-
Copy full SHA for cc06e57 - Browse repository at this point
Copy the full SHA cc06e57View commit details
Commits on Jan 14, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 0c9a2fe - Browse repository at this point
Copy the full SHA 0c9a2feView commit details
Commits on Jan 30, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 7652d8b - Browse repository at this point
Copy the full SHA 7652d8bView commit details
Commits on Feb 7, 2019
-
Use array of schema_base_uris instead of a single schema_base_uri
The base URIs will be searched until a schema is found. This allows us to use multiple schema repository locations for a single EventGate instance. We can configure a local schema repository for reliability, but still lookup schemas remotely if they don't exist locally.
Configuration menu - View commit details
-
Copy full SHA for 0b52d2c - Browse repository at this point
Copy the full SHA 0b52d2cView commit details -
Add allow_aboslute_schema_uris config to wikimedia-eventgate
This allows us to only accept events that have relative schema URIs; e.g. they don't start with a uri protocol. By doing so, we restrict the locations at which EventGate will attempt to download schemas from.
Configuration menu - View commit details
-
Copy full SHA for dbdc505 - Browse repository at this point
Copy the full SHA dbdc505View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a0ba7e - Browse repository at this point
Copy the full SHA 3a0ba7eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 61268c4 - Browse repository at this point
Copy the full SHA 61268c4View commit details
Commits on Feb 8, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 09c9fb9 - Browse repository at this point
Copy the full SHA 09c9fb9View commit details -
Use eslint-config-wikimedia and lint fixes
Also bump a couple of dependency versions. Bug: https://phabricator.wikimedia.org/T208251
Configuration menu - View commit details
-
Copy full SHA for 002c4e2 - Browse repository at this point
Copy the full SHA 002c4e2View commit details -
EventValidator now uses AJV's json-schema-secure to validate schemas
This is a security measure that will prevent schemas that use risky JSONSchema features from being compiled. See also https://github.com/epoberezkin/ajv#security-considerations json-schema-secure checking can be disabled by setting allowInsecureSchemas: true This change also refactors some Error classes, as well as fixes the `title` fields of our test event schemas. Bug: https://phabricator.wikimedia.org/T208251
2Configuration menu - View commit details
-
Copy full SHA for 74a3c0d - Browse repository at this point
Copy the full SHA 74a3c0dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0763227 - Browse repository at this point
Copy the full SHA 0763227View commit details -
Configuration menu - View commit details
-
Copy full SHA for eab7ed3 - Browse repository at this point
Copy the full SHA eab7ed3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 398d9ae - Browse repository at this point
Copy the full SHA 398d9aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for d8539fb - Browse repository at this point
Copy the full SHA d8539fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7dedf21 - Browse repository at this point
Copy the full SHA 7dedf21View commit details
Commits on Feb 11, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 6b07062 - Browse repository at this point
Copy the full SHA 6b07062View commit details -
Configuration menu - View commit details
-
Copy full SHA for 97f271f - Browse repository at this point
Copy the full SHA 97f271fView commit details
Commits on Feb 12, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 869f1c3 - Browse repository at this point
Copy the full SHA 869f1c3View commit details -
Allow any $schema in any stream if no stream_config_uri
This makes it easier to develop new schemas and streams without having to modify stream configuration. In wikimedia production, we always set a stream_config_uri.
Configuration menu - View commit details
-
Copy full SHA for e199600 - Browse repository at this point
Copy the full SHA e199600View commit details -
Configuration menu - View commit details
-
Copy full SHA for 59f94f6 - Browse repository at this point
Copy the full SHA 59f94f6View commit details
Commits on Feb 20, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 61b3ec5 - Browse repository at this point
Copy the full SHA 61b3ec5View commit details -
Configuration menu - View commit details
-
Copy full SHA for f1a7b86 - Browse repository at this point
Copy the full SHA f1a7b86View commit details
Commits on Feb 25, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 72f2f9a - Browse repository at this point
Copy the full SHA 72f2f9aView commit details
Commits on Feb 26, 2019
-
Configuration menu - View commit details
-
Copy full SHA for eac4282 - Browse repository at this point
Copy the full SHA eac4282View commit details
Commits on Mar 4, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 6ac1a85 - Browse repository at this point
Copy the full SHA 6ac1a85View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f7b9df - Browse repository at this point
Copy the full SHA 9f7b9dfView commit details
Commits on Mar 5, 2019
-
Add validatorAt function in EventValidator
This allows us to precache a configured list of URIs in wikimedia-eventgate instance. Bug: T217661
Configuration menu - View commit details
-
Copy full SHA for d048e2d - Browse repository at this point
Copy the full SHA d048e2dView commit details
Commits on Mar 6, 2019
-
Configuration menu - View commit details
-
Copy full SHA for f838ce7 - Browse repository at this point
Copy the full SHA f838ce7View commit details
Commits on Mar 12, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 17562c3 - Browse repository at this point
Copy the full SHA 17562c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 36269f1 - Browse repository at this point
Copy the full SHA 36269f1View commit details
Commits on Mar 13, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 877c9f7 - Browse repository at this point
Copy the full SHA 877c9f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for c77a954 - Browse repository at this point
Copy the full SHA c77a954View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1af724d - Browse repository at this point
Copy the full SHA 1af724dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 31b5d5f - Browse repository at this point
Copy the full SHA 31b5d5fView commit details
Commits on Mar 14, 2019
-
Configuration menu - View commit details
-
Copy full SHA for a548bd1 - Browse repository at this point
Copy the full SHA a548bd1View commit details -
Configuration menu - View commit details
-
Copy full SHA for d5cfd06 - Browse repository at this point
Copy the full SHA d5cfd06View commit details -
Configuration menu - View commit details
-
Copy full SHA for a9b1389 - Browse repository at this point
Copy the full SHA a9b1389View commit details
Commits on Mar 18, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 3cc8c61 - Browse repository at this point
Copy the full SHA 3cc8c61View commit details -
Configuration menu - View commit details
-
Copy full SHA for e5954ec - Browse repository at this point
Copy the full SHA e5954ecView commit details
Commits on Mar 19, 2019
-
Change-Id: I656648a4fd9b6d5d1aceb42c8e5192344e4d8e11
Configuration menu - View commit details
-
Copy full SHA for 8a26642 - Browse repository at this point
Copy the full SHA 8a26642View commit details -
Add/fix kafka event.error logging
Change-Id: I243eefef1668cabf3a762fca7d4c55de6aa21fd5
Configuration menu - View commit details
-
Copy full SHA for 7cc21af - Browse repository at this point
Copy the full SHA 7cc21afView commit details -
Remove log on event.error for Kafka producer
This log isn't really useful, as is it bubbled up to caller anyway. It also is misleading during connect, as there seems to be at least one error logged before connection to brokers is established. Change-Id: Ief77d29735294e9e77687d77e931cbe5ed42ba91
Configuration menu - View commit details
-
Copy full SHA for b930cf7 - Browse repository at this point
Copy the full SHA b930cf7View commit details -
Don't pass logger to Kafka producers in wikimedia-eventgate
Change-Id: Iba91e6079bc5c264ee1ca9a3743a266405cbbdd1
Configuration menu - View commit details
-
Copy full SHA for d6f411c - Browse repository at this point
Copy the full SHA d6f411cView commit details -
Fix docs about producer 'acks'
Change-Id: Icd67d49196d1284e24cdfd8edbb1cf6c1a31f311
Configuration menu - View commit details
-
Copy full SHA for e2c6d97 - Browse repository at this point
Copy the full SHA e2c6d97View commit details -
Bump node-rdkafka-statsd to 0.1.2
Change-Id: Ibdeb08735eb9de256a02bd0b50cb188e6a421298
Configuration menu - View commit details
-
Copy full SHA for d2020d5 - Browse repository at this point
Copy the full SHA d2020d5View commit details
Commits on Mar 20, 2019
-
Change-Id: I4fbb656754c9a0e00f6ae783f929d0c8391252c7
Configuration menu - View commit details
-
Copy full SHA for 5378759 - Browse repository at this point
Copy the full SHA 5378759View commit details -
wikimedia-eventgate - log on rdkafka event.error
Change-Id: Ifa5b6f5c9281c4a143d56a46109a203008ada333
Configuration menu - View commit details
-
Copy full SHA for bae8c0a - Browse repository at this point
Copy the full SHA bae8c0aView commit details -
wikimedia-eventgate - Log error.message with rdkafka error log message
Change-Id: Ic6278dda8d90cb99cc6bd8ba20ed036764f9ee9e
Configuration menu - View commit details
-
Copy full SHA for 13941a2 - Browse repository at this point
Copy the full SHA 13941a2View commit details -
wikimedia-eventgate - DRY Kafka Producer creation
log.connection.close does not silence event.errors for connection closing, we now do so by filtering out those messages. Change-Id: I133e52ec3ef0fd82dd28efeda36bb684461d0d07
Configuration menu - View commit details
-
Copy full SHA for 7315e0f - Browse repository at this point
Copy the full SHA 7315e0fView commit details
Commits on Mar 21, 2019
-
wikimedia-eventgate - Add rdkafka logging support
Add event-util logAtSyslogSeverity function. Change-Id: I938a77d6c56626f404a32101b03a2a8c9e0ef6ae
Configuration menu - View commit details
-
Copy full SHA for 7e37916 - Browse repository at this point
Copy the full SHA 7e37916View commit details -
Move kafka log handler registration into kafka.js
Also fix bug where HastyProducer was not being used. Change-Id: Iab0548d0c3f14bff35cb53b77789b6b00af00ceb
Configuration menu - View commit details
-
Copy full SHA for e662929 - Browse repository at this point
Copy the full SHA e662929View commit details -
Change-Id: Iac1b94fdbe3178c1f9432fcf30a8b49d449b4f9a
Configuration menu - View commit details
-
Copy full SHA for 516280d - Browse repository at this point
Copy the full SHA 516280dView commit details
Commits on Mar 22, 2019
-
Use user_agent in kafka client.id
Change-Id: I6f9139121ba1c4474049d0127b409c908e7dcee1
Configuration menu - View commit details
-
Copy full SHA for e05e98e - Browse repository at this point
Copy the full SHA e05e98eView commit details -
Register rdkafka log handler before connect
Waiting until after connect might avoid some confusing errors, but it supresses potentially useful debugging information. Change-Id: Ic7737aed73b62fe03c672c8305dd45f7ab5589c5
Configuration menu - View commit details
-
Copy full SHA for 060d5f1 - Browse repository at this point
Copy the full SHA 060d5f1View commit details -
Don't default request.required.acks in HastyProducer
Hasty should not imply ACK setting, only delivery report functionality. Change-Id: I2faa93cb7d64fe2e8f6fbcddd6a6b0fac02c1b21
Configuration menu - View commit details
-
Copy full SHA for 95983c6 - Browse repository at this point
Copy the full SHA 95983c6View commit details
Commits on Mar 25, 2019
-
Suppress rdkakfa on-connect error
Delay registering the event.error logging to avoid misleading errors like 'broker transport failure' and 'all brokers are down' during startup. Change-Id: I1a4b4d5038af62517272f5bb72a31f82a94c4d7b
Configuration menu - View commit details
-
Copy full SHA for b8ba9f9 - Browse repository at this point
Copy the full SHA b8ba9f9View commit details -
Support Kakfa producer type config overrides
This also nicely logs the rdkafka configs used for each kafka producer on service startup. Bug: T219032 Change-Id: If2b56812c194c62683de5e0188b9f5e9537ce8e5
Configuration menu - View commit details
-
Copy full SHA for c58eed4 - Browse repository at this point
Copy the full SHA c58eed4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8623ea5 - Browse repository at this point
Copy the full SHA 8623ea5View commit details
Commits on Mar 26, 2019
-
Change-Id: Ia4117b2ccd8ee44a2d83d044720722b70b79d96d
Configuration menu - View commit details
-
Copy full SHA for 88a7f85 - Browse repository at this point
Copy the full SHA 88a7f85View commit details
Commits on Mar 27, 2019
-
Remove unused gen-init-scripts.rb
Change-Id: Iaf592a0e50bad8afc131e954b5a0edc18cafc207
Configuration menu - View commit details
-
Copy full SHA for b936a3a - Browse repository at this point
Copy the full SHA b936a3aView commit details -
This helps with testing the health of the /v1/events endpoint by posting and event to it via a file with the JSON event, or using the JSONSchema examples field found at the provided schema URL. Bug: T218680 Change-Id: I3e9625b35c8be6dc57aabd711d645eacdac47ee4
6Configuration menu - View commit details
-
Copy full SHA for 08261d7 - Browse repository at this point
Copy the full SHA 08261d7View commit details -
Change-Id: I4728c560e4bcce9cbd8d07b956e3725aa9ac7d2f
Configuration menu - View commit details
-
Copy full SHA for 506f334 - Browse repository at this point
Copy the full SHA 506f334View commit details -
Update .pipeline/blubber.yaml event-schemas repo sha
Change-Id: I687cecae9e2927cd05c64faf66a8f403f56d7846
Configuration menu - View commit details
-
Copy full SHA for b0d16ba - Browse repository at this point
Copy the full SHA b0d16baView commit details
Commits on Apr 8, 2019
-
Support kafka message event timestamps in wikimedia-eventgate
Also DRY up some field extraction logic a bit more. Next patch will include some DRYing of field extraction in default-eventgate. Bug: T219513 Change-Id: Ib6c3404a2398248aaa2e85a37d686a280e240141
Configuration menu - View commit details
-
Copy full SHA for dd8cf55 - Browse repository at this point
Copy the full SHA dd8cf55View commit details -
DRY makeExtractSchemaUri and remove dependency betweeen factory impls
Change-Id: Icc1e27340df279a7008cac821a29e7f9ca628542
Configuration menu - View commit details
-
Copy full SHA for ec92c1f - Browse repository at this point
Copy the full SHA ec92c1fView commit details
Commits on Apr 9, 2019
-
scripts/post-events - support reading from stdin and modifying --dt-f…
…ield This will allow us to use the post-events script to post an event with a current dt. Unfortunetly this assumes that your events use an ISO-8601 string for the event timestamp. Bug: https://phabricator.wikimedia.org/T219513 Change-Id: I8bc8be5e5e4f29d5696c755edff10a2087fd8a78
Configuration menu - View commit details
-
Copy full SHA for 04506dd - Browse repository at this point
Copy the full SHA 04506ddView commit details -
Remove unused fs import in scripts/post-events
Change-Id: I8738bd0f493491d44a01e6ab9766c97ed5ee3420
Configuration menu - View commit details
-
Copy full SHA for 8f974a5 - Browse repository at this point
Copy the full SHA 8f974a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for d174278 - Browse repository at this point
Copy the full SHA d174278View commit details
Commits on Apr 12, 2019
-
Refactor Kafka producer to use setPollInterval
Change-Id: Idabeaada44e87b2d29f17d65d3aecdfabda6cf11
Configuration menu - View commit details
-
Copy full SHA for c0f3fb0 - Browse repository at this point
Copy the full SHA c0f3fb0View commit details
Commits on Apr 15, 2019
-
Comment fixes, make producerTypes in kafka.js module level
Change-Id: I48d3e549f45f32d6e645e307c01a1b520f3eca26
Configuration menu - View commit details
-
Copy full SHA for 0e7cc12 - Browse repository at this point
Copy the full SHA 0e7cc12View commit details -
Merge pull request #3 from ottomata/master
Refactor Kafka producer to use setPollInterval
Configuration menu - View commit details
-
Copy full SHA for 822ccd8 - Browse repository at this point
Copy the full SHA 822ccd8View commit details -
Change-Id: Id9e00927da1bf7137efef6997b8ce29ddcc7d5eb
Configuration menu - View commit details
-
Copy full SHA for fb8b1b6 - Browse repository at this point
Copy the full SHA fb8b1b6View commit details
Commits on Apr 19, 2019
-
Bump wikimedia event schemas repo in docker image to a925448
Change-Id: I2e5ee2efbba6edd2b6fa7c19ea52b3ddb260626c
Configuration menu - View commit details
-
Copy full SHA for 89a8e61 - Browse repository at this point
Copy the full SHA 89a8e61View commit details -
Bump wikimedia event schemas repo in docker image to a7201ff
Change-Id: I62169502cb6d7f789c32ef202cd6e2ef910cb940
Configuration menu - View commit details
-
Copy full SHA for 6041d4e - Browse repository at this point
Copy the full SHA 6041d4eView commit details
Commits on May 2, 2019
-
Precache the draft-07 schema with an https URL.
This avoids a remote lookup for draft-07 in case $schema: https://json-schema.org/draft-07/schema is encountered. Change-Id: I35de1d4c76ebabd5bab52dbd01594168003bd2b4
Configuration menu - View commit details
-
Copy full SHA for aa1adff - Browse repository at this point
Copy the full SHA aa1adffView commit details -
Merge pull request #4 from ottomata/master
Precache the draft-07 schema with an https URL.
Configuration menu - View commit details
-
Copy full SHA for 1f04b03 - Browse repository at this point
Copy the full SHA 1f04b03View commit details
Commits on May 6, 2019
-
Bump wikimedia event-schemas repo in docker image to efe2224
Change-Id: Id1efe2c6d79e22f2a051ed2b351591ab0578292b
Configuration menu - View commit details
-
Copy full SHA for 23a190b - Browse repository at this point
Copy the full SHA 23a190bView commit details
Commits on May 8, 2019
-
Bump wikimedia event-schemas repo in docker image to 83932b3
Change-Id: I39ab121aa2e0efbc3d2896457f0c006a2f55f40e
Configuration menu - View commit details
-
Copy full SHA for 19a033e - Browse repository at this point
Copy the full SHA 19a033eView commit details
Commits on Jun 4, 2019
-
Bump WMF schema repo to 91eff9f
Change-Id: I407693ad2915979a3bcaa4c841577baf59f1d2aa
Configuration menu - View commit details
-
Copy full SHA for 0f0c6fc - Browse repository at this point
Copy the full SHA 0f0c6fcView commit details -
Use node-rdkafka ~2.4.2 to stay compatible with librdkafka 0.11.6
Change-Id: I6fcfd33f6c1a7cba15e583e33367087bc240c6a3
Configuration menu - View commit details
-
Copy full SHA for 665c434 - Browse repository at this point
Copy the full SHA 665c434View commit details
Commits on Jun 10, 2019
-
Bump WMF event-schemas to 50e0a82
Change-Id: I82d18a594482e300138001889598b67a55f41747
Configuration menu - View commit details
-
Copy full SHA for 03e64fc - Browse repository at this point
Copy the full SHA 03e64fcView commit details -
Bump WMF event schemas to bc1dbdf
Change-Id: I8743f9545e878068a7a2d6344af058ec7c9e7256
Configuration menu - View commit details
-
Copy full SHA for c98967e - Browse repository at this point
Copy the full SHA c98967eView commit details
Commits on Jun 17, 2019
-
Bump WMF event schemas to 91100b8
Bug: T211248 Change-Id: I8240cbf35b3adf9750b74b589a6607cd2050b782
Configuration menu - View commit details
-
Copy full SHA for 1e13ea1 - Browse repository at this point
Copy the full SHA 1e13ea1View commit details -
Bump WMF event schemas to eb13353
Change-Id: I0672a435525b42bae239d044b5022037ad7859cf
Configuration menu - View commit details
-
Copy full SHA for da3afa7 - Browse repository at this point
Copy the full SHA da3afa7View commit details -
Bump WMF event schemas to 3f9d5eb
Change-Id: I5dc0967647ca95ca8ce23092da22325d4c375a56
Configuration menu - View commit details
-
Copy full SHA for aee777d - Browse repository at this point
Copy the full SHA aee777dView commit details
Commits on Jun 18, 2019
-
Allow configuration of bodyParser limit via app.conf.max_body_size
Bug: T226026 Cherry-Pick from ottomata/service-template-node@182163a Conflicts: config.dev.yaml config.prod.yaml Change-Id: I9ad438068f7dbc4c1da0c6e0a9dfccccd438042e
Configuration menu - View commit details
-
Copy full SHA for 62f07fe - Browse repository at this point
Copy the full SHA 62f07feView commit details -
Set max_body_size in config examples to 4mb
Bump to version 1.0.14 Change-Id: I4f6f95c3afe48169cfd2ab34142deb56aa834ebe
Configuration menu - View commit details
-
Copy full SHA for 63c297a - Browse repository at this point
Copy the full SHA 63c297aView commit details
Commits on Jun 26, 2019
-
Allow for more easily using EventGate as a dependency
By adding the cwd to module.paths when we require the eventgate_factory_module, we make it possible for a dependent repository to provide its own factory modules from within its cwd, e.g. eventgate_factory_module: 'lib/my-eventgate-factory' at path /path/to/my-dependent-project/lib/my-eventgate-factory.js. This commit also exports an 'eventgate' bin script that will launch service.js. Bug: T226668 Change-Id: Ie202b9326918637eb41c165153fd7b7f1d4d7460
Configuration menu - View commit details
-
Copy full SHA for 02542cb - Browse repository at this point
Copy the full SHA 02542cbView commit details
Commits on Jun 27, 2019
-
Fix default-eventgate to use kafka.producerFactory
Change-Id: I6e0cd3ba41ee1f7dfa86083a5f1f5db990e48f8b
Configuration menu - View commit details
-
Copy full SHA for 323221b - Browse repository at this point
Copy the full SHA 323221bView commit details -
Make main module exports useful for use as library
Bug: T226668 Change-Id: I25496d369f80214d503422c593c34fd6c176e6dd
Configuration menu - View commit details
-
Copy full SHA for 38712a7 - Browse repository at this point
Copy the full SHA 38712a7View commit details -
eventgate should export the express app function so service-runner ca…
…n run it But we also need library exports by default too, so attach them to the exported app function. Bug: T226668 Change-Id: I2d7aac59f5152047951c45d5388fc269f854251a
Configuration menu - View commit details
-
Copy full SHA for 0395b41 - Browse repository at this point
Copy the full SHA 0395b41View commit details
Commits on Jul 18, 2019
-
Export app as object in index.js
This allows service-runner to use require('eventgate').app as its entrypoint. Bug: T226668 Change-Id: Ic2d7cb2fddf6ef2c6848c449ea2f738f91fdd42f
Configuration menu - View commit details
-
Copy full SHA for ff6071f - Browse repository at this point
Copy the full SHA ff6071fView commit details
Commits on Jul 22, 2019
-
Remove wikimedia implementation of eventgate and update docs
This has moved to https://gerrit.wikimedia.org/r/plugins/gitiles/eventgate-wikimedia/ Bug: T226668 Change-Id: Id93fb9fb52f835b2408bc14265f5a4d9356e3e89
Configuration menu - View commit details
-
Copy full SHA for 63ee5e0 - Browse repository at this point
Copy the full SHA 63ee5e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e4ada7 - Browse repository at this point
Copy the full SHA 0e4ada7View commit details -
Bug: T226668 Change-Id: Ib3deda3c62f29c8f34fad1894f87940229d24389
Configuration menu - View commit details
-
Copy full SHA for a4a0617 - Browse repository at this point
Copy the full SHA a4a0617View commit details -
Change-Id: I5bdbc86a1885ac0ce5f18529cdacc3ca4cac5282
Configuration menu - View commit details
-
Copy full SHA for 477f90a - Browse repository at this point
Copy the full SHA 477f90aView commit details -
Remove wmf specific init scripts
Change-Id: I7368ae437ac9054d9556328a9a24b6ec5d3168f2
Configuration menu - View commit details
-
Copy full SHA for a6b74c4 - Browse repository at this point
Copy the full SHA a6b74c4View commit details -
Remove wikimedia-eventgate.js test
This has moved to https://gerrit.wikimedia.org/r/plugins/gitiles/eventgate-wikimedia/ Bug: T226668 Change-Id: I3c888a4b8047e3b5439bff135e733b838a2b28bd
Configuration menu - View commit details
-
Copy full SHA for 2624aae - Browse repository at this point
Copy the full SHA 2624aaeView commit details
Commits on Dec 9, 2019
-
Allow JSON body parsing with text/plain Content-Type
We want to be able to accept POSTed events from browser navigator.sendBeacon calls, but sendBeacon CORS restrictions don't allow Content-Type: application/json. sendBeacon sets Content-Type to text/plain by default; so assume POST bodies with text/plain are JSON. Bug: T238544 Change-Id: I240693e353b624e11fdc7af0c296a52dd063ab5b
Configuration menu - View commit details
-
Copy full SHA for d898a10 - Browse repository at this point
Copy the full SHA d898a10View commit details
Commits on Dec 11, 2019
-
Pass eventgate context to _processEvent for error event too
This is needed in case any validate or produce functions use the context, since they will be used for error events as well. Change-Id: Ibe633b59317e99a5dd2ba5586c22dbcd877b59ef
Configuration menu - View commit details
-
Copy full SHA for 4cd2eaa - Browse repository at this point
Copy the full SHA 4cd2eaaView commit details
Commits on Feb 25, 2020
-
Allow passing options to urlGet
This allows callers to pass e.g. custom HTTP headers when using urlGet function(s) to load URLs. Change-Id: Ib31713c8da1adf119393301837a27bfec23f2f1d
Configuration menu - View commit details
-
Copy full SHA for 3c31f3c - Browse repository at this point
Copy the full SHA 3c31f3cView commit details
Commits on May 19, 2020
-
Pass router into eventgate factory function
This will allow for custom EventGate implementations (like eventgate-wikimedia) to register extra routes with the eventgate service. eventgate-wikimedia will use this to expose runtime stream configs. Bug: T253157 Change-Id: I72b21df3696e5fa09bf5e9597037c80af79ce6d6
Configuration menu - View commit details
-
Copy full SHA for ab16908 - Browse repository at this point
Copy the full SHA ab16908View commit details
Commits on May 26, 2020
-
Change-Id: Id35ef1a18d476bf276de7ac9db8ba18a28d31c75
Configuration menu - View commit details
-
Copy full SHA for 1c0d6b9 - Browse repository at this point
Copy the full SHA 1c0d6b9View commit details -
Merge pull request #7 from ottomata/master
Pass router into eventgate factory function
Configuration menu - View commit details
-
Copy full SHA for 6fc596f - Browse repository at this point
Copy the full SHA 6fc596fView commit details
Commits on Jul 6, 2020
-
Bump service-runner dependency to 2.7.7
Release EventGate 1.1.1 Change-Id: I4e502f3d9bd4559ab6d2e0293bf05595d341beae
Configuration menu - View commit details
-
Copy full SHA for 85d95ea - Browse repository at this point
Copy the full SHA 85d95eaView commit details
Commits on Jul 30, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 12b803e - Browse repository at this point
Copy the full SHA 12b803eView commit details
Commits on Jul 31, 2020
-
Configuration menu - View commit details
-
Copy full SHA for f23b14e - Browse repository at this point
Copy the full SHA f23b14eView commit details -
When requiring eventgate factory modules, search cwd and app_base_path
This allows our default config files to work even if eventgate is launched from outside of the current directory.
Configuration menu - View commit details
-
Copy full SHA for e78b404 - Browse repository at this point
Copy the full SHA e78b404View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7eecd8f - Browse repository at this point
Copy the full SHA 7eecd8fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 46a2bdb - Browse repository at this point
Copy the full SHA 46a2bdbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 593eaae - Browse repository at this point
Copy the full SHA 593eaaeView commit details -
Configuration menu - View commit details
-
Copy full SHA for e42b9cc - Browse repository at this point
Copy the full SHA e42b9ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for 39d1c5a - Browse repository at this point
Copy the full SHA 39d1c5aView commit details
Commits on Aug 5, 2020
-
Add a configurable /v1/events-test route
If `test_events` is configured, a `GET /v1/events-test` route will be added. When requested, the `test_events` will be produced as if they were POSTed to /v1/events. This is useful for readiness probes that want to make sure the service can produce events end to end. Bug: T251935
Configuration menu - View commit details
-
Copy full SHA for 9f6b39a - Browse repository at this point
Copy the full SHA 9f6b39aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 48905c7 - Browse repository at this point
Copy the full SHA 48905c7View commit details -
Use /v1/_test/events route instead of /v1/events-test
More clearly indicates that this is a route for internal use.
Configuration menu - View commit details
-
Copy full SHA for aab39ad - Browse repository at this point
Copy the full SHA aab39adView commit details -
Merge pull request #9 from ottomata/master
Add a configurable /v1/events-test route
Configuration menu - View commit details
-
Copy full SHA for d3326ba - Browse repository at this point
Copy the full SHA d3326baView commit details
Commits on Aug 12, 2020
-
Fix bug in /v1/_test/events where test event default values were only…
… being set once Downstream processors of events might mutate those events if they are filling in default values. Usually this is fine since normal events are discarded after they are processed. But we were holding a reference to test_events, and when they were mutated, the next call to /v1/_test/events was passing in the mutated events from the previous call.
Configuration menu - View commit details
-
Copy full SHA for e7cfa6d - Browse repository at this point
Copy the full SHA e7cfa6dView commit details
Commits on Aug 27, 2020
-
In CORS mode, also respond with access-control-allow-methods
This is needed for compatibility with Chrome's Network Error Logging reporter code: https://bit.ly/2YWcf6f
Configuration menu - View commit details
-
Copy full SHA for 15d1a96 - Browse repository at this point
Copy the full SHA 15d1a96View commit details -
Also parse content-type application/reports+json
Per the Reporting API W3C technical recommendation, this is the content-type used by browsers to POST reporting events. https://www.w3.org/TR/reporting/#media-type
Configuration menu - View commit details
-
Copy full SHA for 6a367d8 - Browse repository at this point
Copy the full SHA 6a367d8View commit details
Commits on Aug 28, 2020
-
Configuration menu - View commit details
-
Copy full SHA for b21443b - Browse repository at this point
Copy the full SHA b21443bView commit details -
Merge pull request #10 from cdanis/network-error-logging-compat
Make EventGate compatible with receiving Network Error Logging reports from Chrome
Configuration menu - View commit details
-
Copy full SHA for 38e2ec0 - Browse repository at this point
Copy the full SHA 38e2ec0View commit details -
Add comment in app.js about cors modification for network error logging.
Configuration menu - View commit details
-
Copy full SHA for e900440 - Browse repository at this point
Copy the full SHA e900440View commit details
Commits on Sep 23, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 892079f - Browse repository at this point
Copy the full SHA 892079fView commit details
Commits on Oct 20, 2020
-
Make node-rdkafka an optionalDependency
Producing to Kafka is just one way to use EventGate. It's nice to have it as the default, except that building the librdkafka binary is not very lightway, nor does it always work so smoothly on all OS-es (e.g. MacOS). By making node-rdkafka an optional dependency (and guarding against it being missing), we should be able to more easily create development eventgate instances without needing to build librdkafka. Bug: T266058
2Configuration menu - View commit details
-
Copy full SHA for dcfe10c - Browse repository at this point
Copy the full SHA dcfe10cView commit details -
Since node-rdkafka-statsd is an optionalDependency, guard against req…
…uiring it Bug: T266058
Configuration menu - View commit details
-
Copy full SHA for 4b605bd - Browse repository at this point
Copy the full SHA 4b605bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b6023c - Browse repository at this point
Copy the full SHA 3b6023cView commit details