Skip to content

Commit

Permalink
Remove PG code (#3028)
Browse files Browse the repository at this point in the history
* Remove PG code.

* Delete tests.

* Remove `LocalMessageCodec`

---------

Co-authored-by: Alex Maltsev <and1sscsgo@gmail.com>
  • Loading branch information
CTMBNara and And1sS authored Apr 5, 2024
1 parent 37753fe commit c603657
Show file tree
Hide file tree
Showing 366 changed files with 493 additions and 37,628 deletions.
52 changes: 1 addition & 51 deletions docs/config-app.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,17 +202,7 @@ Also, each bidder could have its own bidder-specific options.
- `admin-endpoints.tracelog.enabled` - if equals to `true` the endpoint will be available.
- `admin-endpoints.tracelog.path` - the server context path where the endpoint will be accessible.
- `admin-endpoints.tracelog.on-application-port` - when equals to `false` endpoint will be bound to `admin.port`.
- `admin-endpoints.tracelog.protected` - when equals to `true` endpoint will be protected by basic authentication configured in `admin-endpoints.credentials`

- `admin-endpoints.deals-status.enabled` - if equals to `true` the endpoint will be available.
- `admin-endpoints.deals-status.path` - the server context path where the endpoint will be accessible.
- `admin-endpoints.deals-status.on-application-port` - when equals to `false` endpoint will be bound to `admin.port`.
- `admin-endpoints.deals-status.protected` - when equals to `true` endpoint will be protected by basic authentication configured in `admin-endpoints.credentials`

- `admin-endpoints.lineitem-status.enabled` - if equals to `true` the endpoint will be available.
- `admin-endpoints.lineitem-status.path` - the server context path where the endpoint will be accessible.
- `admin-endpoints.lineitem-status.on-application-port` - when equals to `false` endpoint will be bound to `admin.port`.
- `admin-endpoints.lineitem-status.protected` - when equals to `true` endpoint will be protected by basic authentication configured in `admin-endpoints.credentials`
- `admin-endpoints.tracelog.protected` - when equals to `true` endpoint will be protected by basic authentication configured in `admin-endpoints.credentials`

- `admin-endpoints.e2eadmin.enabled` - if equals to `true` the endpoint will be available.
- `admin-endpoints.e2eadmin.path` - the server context path where the endpoint will be accessible.
Expand All @@ -224,11 +214,6 @@ Also, each bidder could have its own bidder-specific options.
- `admin-endpoints.collected-metrics.on-application-port` - when equals to `false` endpoint will be bound to `admin.port`.
- `admin-endpoints.collected-metrics.protected` - when equals to `true` endpoint will be protected by basic authentication configured in `admin-endpoints.credentials`

- `admin-endpoints.force-deals-update.enabled` - if equals to `true` the endpoint will be available.
- `admin-endpoints.force-deals-update.path` - the server context path where the endpoint will be accessible.
- `admin-endpoints.force-deals-update.on-application-port` - when equals to `false` endpoint will be bound to `admin.port`.
- `admin-endpoints.force-deals-update.protected` - when equals to `true` endpoint will be protected by basic authentication configured in `admin-endpoints.credentials`

- `admin-endpoints.credentials` - user and password for access to admin endpoints if `admin-endpoints.[NAME].protected` is true`.

## Metrics
Expand Down Expand Up @@ -442,41 +427,6 @@ If not defined in config all other Health Checkers would be disabled and endpoin
- `analytics.pubstack.buffers.count` - threshold in events count for buffer to send events
- `analytics.pubstack.buffers.report-ttl-ms` - max period between two reports.

## Programmatic Guaranteed Delivery
- `deals.planner.plan-endpoint` - planner endpoint to get plans from.
- `deals.planner.update-period` - cron expression to start job for requesting Line Item metadata updates from the Planner.
- `deals.planner.plan-advance-period` - cron expression to start job for advancing Line Items to the next plan.
- `deals.planner.retry-period-sec` - how long (in seconds) to wait before re-sending a request to the Planner that previously failed with 5xx HTTP error code.
- `deals.planner.timeout-ms` - default operation timeout for requests to planner's endpoints.
- `deals.planner.register-endpoint` - register endpoint to get plans from.
- `deals.planner.register-period-sec` - time period (in seconds) to send register request to the Planner.
- `deals.planner.username` - username for planner BasicAuth.
- `deals.planner.password` - password for planner BasicAuth.
- `deals.delivery-stats.delivery-period` - cron expression to start job for sending delivery progress to planner.
- `deals.delivery-stats.cached-reports-number` - how many reports to cache while planner is unresponsive.
- `deals.delivery-stats.timeout-ms` - default operation timeout for requests to delivery progress endpoints.
- `deals.delivery-stats.username` - username for delivery progress BasicAuth.
- `deals.delivery-stats.password` - password for delivery progress BasicAuth.
- `deals.delivery-stats.line-items-per-report` - max number of line items in each report to split for batching. Default is 25.
- `deals.delivery-stats.reports-interval-ms` - interval in ms between consecutive reports. Default is 0.
- `deals.delivery-stats.batches-interval-ms` - interval in ms between consecutive batches. Default is 1000.
- `deals.delivery-stats.request-compression-enabled` - enables request gzip compression when set to true.
- `deals.delivery-progress.line-item-status-ttl-sec` - how long to store line item's metrics after it was expired.
- `deals.delivery-progress.cached-plans-number` - how many plans to store in metrics per line item.
- `deals.delivery-progress.report-reset-period`- cron expression to start job for closing current delivery progress and starting new one.
- `deals.delivery-progress-report.competitors-number`- number of line items top competitors to send in delivery progress report.
- `deals.user-data.user-details-endpoint` - user Data Store endpoint to get user details from.
- `deals.user-data.win-event-endpoint` - user Data Store endpoint to which win events should be sent.
- `deals.user-data.timeout` - time to wait (in milliseconds) for User Data Service response.
- `deals.user-data.user-ids` - list of Rules for determining user identifiers to send to User Data Store.
- `deals.max-deals-per-bidder` - maximum number of deals to send to each bidder.
- `deals.alert-proxy.enabled` - enable alert proxy service if `true`.
- `deals.alert-proxy.url` - alert service endpoint to send alerts to.
- `deals.alert-proxy.timeout-sec` - default operation timeout for requests to alert service endpoint.
- `deals.alert-proxy.username` - username for alert proxy BasicAuth.
- `deals.alert-proxy.password` - password for alert proxy BasicAuth.
- `deals.alert-proxy.alert-types` - key value pair of alert type and sampling factor to send high priority alert.

## Debugging
- `debug.override-token` - special string token for overriding Prebid Server account and/or adapter debug information presence in the auction response.

Expand Down
152 changes: 0 additions & 152 deletions docs/deals.md

This file was deleted.

26 changes: 0 additions & 26 deletions docs/metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,29 +133,3 @@ Following metrics are collected and submitted if account is configured with `det
- `analytics.<reporter-name>.(auction|amp|video|cookie_sync|event|setuid).timeout` - number of event requests, failed with timeout cause
- `analytics.<reporter-name>.(auction|amp|video|cookie_sync|event|setuid).err` - number of event requests, failed with errors
- `analytics.<reporter-name>.(auction|amp|video|cookie_sync|event|setuid).badinput` - number of event requests, rejected with bad input cause

## win notifications
- `win_notifications` - total number of win notifications.
- `win_requests` - total number of requests sent to user service for win notifications.
- `win_request_preparation_failed` - number of request failed validation and were not sent.
- `win_request_time` - latency between request to user service and response for win notifications.
- `win_request_failed` - number of failed request sent to user service for win notifications.
- `win_request_successful` - number of successful request sent to user service for win notifications.

## user details
- `user_details_requests` - total number of requests sent to user service to get user details.
- `user_details_request_preparation_failed` - number of request failed validation and were not sent.
- `user_details_request_time` - latency between request to user service and response to get user details.
- `user_details_request_failed` - number of failed request sent to user service to get user details.
- `user_details_request_successful` - number of successful request sent to user service to get user details.

## Programmatic guaranteed metrics
- `pg.planner_lineitems_received` - number of line items received from general planner.
- `pg.planner_requests` - total number of requests sent to general planner.
- `pg.planner_request_failed` - number of failed request sent to general planner.
- `pg.planner_request_successful` - number of successful requests sent to general planner.
- `pg.planner_request_time` - latency between request to general planner and its successful (200 OK) response.
- `pg.delivery_requests` - total number of requests to delivery stats service.
- `pg.delivery_request_failed` - number of failed requests to delivery stats service.
- `pg.delivery_request_successful` - number of successful requests to delivery stats service.
- `pg.delivery_request_time` - latency between request to delivery stats and its successful (200 OK) response.
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ public class NotificationEvent {

Account account;

String lineItemId;

String bidder;

Long timestamp;
Expand Down
Loading

0 comments on commit c603657

Please sign in to comment.