Skip to content

Commit

Permalink
feat(core): Introduce tenant
Browse files Browse the repository at this point in the history
Introduced new field `Article.tenant` that indicates if this content belongs to a certain `tenant`.

Initially, this wll be used for regional content.
  • Loading branch information
thisismana committed Mar 11, 2024
1 parent 90cf551 commit 4d64f10
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion stroeer/core/v1/article.proto
Original file line number Diff line number Diff line change
Expand Up @@ -790,7 +790,8 @@ message Article {
* | `event_source` | [`EventSource`][es] | Source of the event that caused this item to be transformed and to be written into the DB. |
* | `seo_score` | `double` | The `article score` (originates from team data's _Content Engine_, higher scores are better) |
* | `publication_id` | `int64` | The unique `publication_id` provided by the CMS, can be used to correlate the state of documents in tapir with the corresponding CMS publication event. |
* | `related_article_source` | `string` | Source of this article, if embedded in another article as a related article. |
* | `related_article_source` | `string` | Source of this article, if embedded in another article as a related article. |
* | `tenant` | `string` | The tenant this article belongs to. e.g. `www`, `berlin` or such |
*
* [ts]: https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Timestamp
* [state]: #state
Expand All @@ -811,6 +812,7 @@ message Article {
double seo_score = 10;
int64 publication_id = 11;
string related_article_source = 12;
string tenant = 13;

/** @CodeBlockEnd */

Expand Down

0 comments on commit 4d64f10

Please sign in to comment.