Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
202 changes: 165 additions & 37 deletions catalog.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,25 @@
"schemaType": "JSON",
"protocol": "kafka",
"path": "kafka/position.schema.json",
"producers": ["hr-service", "organization-service"],
"consumers": ["hr-service", "organization-service"]
"producers": [
"organization-service",
"hr-service"
],
"consumers": [
"hr-service",
"organization-service"
]
},
{
"groupId": "monadiam.kafka",
"artifactId": "position-dead-value",
"schemaType": "JSON",
"protocol": "kafka",
"path": "kafka/envelope.schema.json",
"producers": ["hr-service", "organization-service"],
"producers": [
"organization-service",
"hr-service"
],
"consumers": []
},
{
Expand All @@ -25,88 +34,158 @@
"schemaType": "PROTOBUF",
"protocol": "grpc",
"path": "grpc/access_control.proto",
"producers": ["access-control-service"],
"consumers": ["identity-service", "notification-service"]
"producers": [
"access-control-service"
],
"consumers": [
"organization-service",
"notification-service",
"identity-service",
"template-service",
"hr-service"
]
},
{
"groupId": "monadiam.kafka",
"artifactId": "account-value",
"schemaType": "JSON",
"protocol": "kafka",
"path": "kafka/account.schema.json",
"producers": ["identity-service"],
"consumers": ["access-control-service", "organization-service", "notification-service"]
"producers": [
"identity-service"
],
"consumers": [
"access-control-service",
"organization-service",
"notification-service"
]
},
{
"groupId": "monadiam.kafka",
"artifactId": "realm-value",
"schemaType": "JSON",
"protocol": "kafka",
"path": "kafka/realm.schema.json",
"producers": ["hr-service", "organization-service", "access-control-service"],
"consumers": ["hr-service", "access-control-service", "organization-service", "identity-service"]
"producers": [
"access-control-service",
"organization-service",
"hr-service"
],
"consumers": [
"access-control-service",
"organization-service",
"identity-service",
"hr-service"
]
},
{
"groupId": "monadiam.kafka",
"artifactId": "access-cache-value",
"schemaType": "JSON",
"protocol": "kafka",
"path": "kafka/access_cache.schema.json",
"producers": ["access-control-service"],
"consumers": ["identity-service", "notification-service", "template-service", "organization-service"]
"producers": [
"access-control-service"
],
"consumers": [
"notification-service",
"organization-service",
"identity-service",
"template-service"
]
},
{
"groupId": "monadiam.kafka",
"artifactId": "notification-value",
"schemaType": "JSON",
"protocol": "kafka",
"path": "kafka/notification.schema.json",
"producers": ["hr-service", "identity-service", "access-control-service"],
"consumers": ["notification-service"]
"producers": [
"access-control-service",
"identity-service",
"hr-service"
],
"consumers": [
"notification-service"
]
},
{
"groupId": "monadiam.kafka",
"artifactId": "blacklist-value",
"schemaType": "JSON",
"protocol": "kafka",
"path": "kafka/blacklist.schema.json",
"producers": ["identity-service"],
"consumers": ["access-control-service", "notification-service", "identity-service", "template-service", "organization-service"]
"producers": [
"identity-service"
],
"consumers": [
"access-control-service",
"notification-service",
"organization-service",
"identity-service",
"template-service"
]
},
{
"groupId": "monadiam.kafka",
"artifactId": "reauthentication-value",
"schemaType": "JSON",
"protocol": "kafka",
"path": "kafka/reauthentication.schema.json",
"producers": ["identity-service"],
"consumers": ["access-control-service", "notification-service", "identity-service", "template-service", "organization-service"]
"producers": [
"identity-service"
],
"consumers": [
"access-control-service",
"notification-service",
"organization-service",
"identity-service",
"template-service"
]
},
{
"groupId": "monadiam.kafka",
"artifactId": "projection-journal-value",
"schemaType": "JSON",
"protocol": "kafka",
"path": "kafka/projection_journal.schema.json",
"producers": ["access-control-service"],
"consumers": ["access-control-service"]
"producers": [
"access-control-service"
],
"consumers": [
"access-control-service",
"organization-service",
"notification-service",
"identity-service",
"template-service",
"hr-service"
]
},
{
"groupId": "monadiam.kafka",
"artifactId": "message-dispatch-value",
"schemaType": "JSON",
"protocol": "kafka",
"path": "kafka/message_dispatch.schema.json",
"producers": ["notification-service"],
"consumers": ["notification-service"]
"producers": [
"notification-service"
],
"consumers": [
"notification-service"
]
},
{
"groupId": "monadiam.kafka",
"artifactId": "access-cache-dead-value",
"schemaType": "JSON",
"protocol": "kafka",
"path": "kafka/envelope.schema.json",
"producers": ["identity-service", "notification-service", "template-service", "organization-service"],
"producers": [
"notification-service",
"organization-service",
"identity-service",
"template-service"
],
"consumers": []
},
{
Expand All @@ -115,7 +194,10 @@
"schemaType": "JSON",
"protocol": "kafka",
"path": "kafka/envelope.schema.json",
"producers": ["access-control-service", "organization-service"],
"producers": [
"access-control-service",
"organization-service"
],
"consumers": []
},
{
Expand All @@ -124,7 +206,12 @@
"schemaType": "JSON",
"protocol": "kafka",
"path": "kafka/envelope.schema.json",
"producers": ["hr-service", "access-control-service", "organization-service", "identity-service"],
"producers": [
"access-control-service",
"organization-service",
"identity-service",
"hr-service"
],
"consumers": []
},
{
Expand All @@ -133,7 +220,9 @@
"schemaType": "JSON",
"protocol": "kafka",
"path": "kafka/envelope.schema.json",
"producers": ["notification-service"],
"producers": [
"notification-service"
],
"consumers": []
},
{
Expand All @@ -142,7 +231,9 @@
"schemaType": "JSON",
"protocol": "kafka",
"path": "kafka/envelope.schema.json",
"producers": ["notification-service"],
"producers": [
"notification-service"
],
"consumers": []
},
{
Expand All @@ -151,7 +242,9 @@
"schemaType": "JSON",
"protocol": "kafka",
"path": "kafka/envelope.schema.json",
"producers": ["access-control-service"],
"producers": [
"access-control-service"
],
"consumers": []
},
{
Expand All @@ -160,7 +253,10 @@
"schemaType": "JSON",
"protocol": "kafka",
"path": "kafka/envelope.schema.json",
"producers": ["identity-service", "organization-service"],
"producers": [
"organization-service",
"identity-service"
],
"consumers": []
},
{
Expand All @@ -169,7 +265,13 @@
"schemaType": "JSON",
"protocol": "kafka",
"path": "kafka/envelope.schema.json",
"producers": ["access-control-service", "identity-service", "notification-service", "template-service", "organization-service"],
"producers": [
"access-control-service",
"notification-service",
"organization-service",
"identity-service",
"template-service"
],
"consumers": []
},
{
Expand All @@ -178,25 +280,41 @@
"schemaType": "JSON",
"protocol": "kafka",
"path": "kafka/interface_client.schema.json",
"producers": ["identity-service"],
"consumers": ["notification-service", "template-service", "access-control-service"]
"producers": [
"identity-service"
],
"consumers": [
"access-control-service",
"notification-service",
"template-service"
]
},
{
"groupId": "monadiam.kafka",
"artifactId": "service-client-value",
"schemaType": "JSON",
"protocol": "kafka",
"path": "kafka/service_client.schema.json",
"producers": ["identity-service"],
"consumers": ["certificate-service"]
"producers": [
"identity-service"
],
"consumers": [
"certificate-service"
]
},
{
"groupId": "monadiam.kafka",
"artifactId": "audit-log-archive-value",
"schemaType": "JSON",
"protocol": "kafka",
"path": "kafka/audit_log_archive.schema.json",
"producers": ["identity-service", "access-control-service", "notification-service", "template-service", "organization-service"],
"producers": [
"access-control-service",
"notification-service",
"organization-service",
"identity-service",
"template-service"
],
"consumers": []
},
{
Expand All @@ -205,7 +323,13 @@
"schemaType": "JSON",
"protocol": "kafka",
"path": "kafka/change_log_archive.schema.json",
"producers": ["identity-service", "access-control-service", "notification-service", "template-service", "organization-service"],
"producers": [
"access-control-service",
"notification-service",
"organization-service",
"identity-service",
"template-service"
],
"consumers": []
},
{
Expand All @@ -214,8 +338,12 @@
"schemaType": "JSON",
"protocol": "kafka",
"path": "kafka/envelope.schema.json",
"producers": ["notification-service"],
"consumers": ["notification-service"]
"producers": [
"notification-service"
],
"consumers": [
"notification-service"
]
}
]
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "Shared Kafka/gRPC contracts and common enums between MonadIAM services",
"author": "Daniil Egorov (https://github.com/Lambdius)",
"license": "UNLICENSED",
"version": "3.8.0",
"version": "3.9.0",
"types": "dist/index.d.ts",
"main": "dist/index.js",
"exports": {
Expand Down
2 changes: 2 additions & 0 deletions src/enums.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ export enum ProjectionScript {
PERMISSION_UPDATE = "permission/update",
PERMISSION_PURGE = "permission/purge",

CHECKPOINT = "projection/checkpoint",

REALM_CREATE = "realm/create",
REALM_UPDATE = "realm/update",
REALM_PURGE = "realm/purge",
Expand Down
3 changes: 3 additions & 0 deletions src/grpc/access_control.proto
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,7 @@ enum PrivilegeScope {
message ListEffectivePrivilegesResponse {
map<string, PrivilegeScope> privileges = 1;
map<string, PrivilegeScope> global = 2;
map<string, string> revision = 3;
map<string, string> global_revision = 4;
bool revisioned = 5;
}
Loading
Loading