-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
migrator: oauth2server actions, add tokens test data
- Loading branch information
Pablo Panero
committed
Sep 12, 2023
1 parent
11a2794
commit c797724
Showing
3 changed files
with
5 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
{"topic": "zenodo-migration.public", "partition": 0, "offset": 420641, "timestamp": 1694523120495, "timestamp_type": 0, "key": {"client_id": "SZLrR8ApZPeBjqj7uMB1JWXavhxebu6V0mwMtvMr", "__dbz__physicalTableIdentifier": "zenodo-migration.public.oauth2server_client"}, "value": {"before": null, "after": {"name": "test-incremental-token", "description": "", "website": "", "user_id": 86261, "client_id": "SZLrR8ApZPeBjqj7uMB1JWXavhxebu6V0mwMtvMr", "client_secret": "RmDfTqWnjFBM6gKc29VN0rWZPI4wi0gHBcJQYdVNLtibTK0AR1ZWbWT5oYeQ", "is_confidential": false, "is_internal": true, "_redirect_uris": null, "_default_scopes": "deposit:actions deposit:write user:email"}, "source": {"version": "2.3.0.Final", "connector": "postgresql", "name": "zenodo-migration", "ts_ms": 1694523120027, "snapshot": "false", "db": "zenodo", "sequence": "[\"1470733803496\",\"1470733804152\"]", "schema": "public", "table": "oauth2server_client", "txId": 563773535, "lsn": 1470733804152, "xmin": null}, "op": "c", "ts_ms": 1694523120317, "transaction": {"id": "563773535:1470733804152", "total_order": 1, "data_collection_order": 1}}, "headers": [], "checksum": null, "serialized_key_size": 135, "serialized_value_size": 772, "serialized_header_size": -1} | ||
{"topic": "zenodo-migration.public", "partition": 0, "offset": 420642, "timestamp": 1694523120495, "timestamp_type": 0, "key": {"id": 156666, "__dbz__physicalTableIdentifier": "zenodo-migration.public.oauth2server_token"}, "value": {"before": null, "after": {"id": 156666, "client_id": "SZLrR8ApZPeBjqj7uMB1JWXavhxebu6V0mwMtvMr", "user_id": 86261, "token_type": "bearer", "access_token": "SlhBTjhzbXd4QTcrRjFMcTVMRHl3QlY2Rkdib0VwREY4aDhPcHo2dUt2ZnZ3OVVPa1BvRDl0L1NRZmFrdXNIU2hJR2JWc0NHZDZSVEhVT2JQcmdjS1E9PQ==", "refresh_token": null, "expires": null, "_scopes": "deposit:actions deposit:write user:email", "is_personal": true, "is_internal": false}, "source": {"version": "2.3.0.Final", "connector": "postgresql", "name": "zenodo-migration", "ts_ms": 1694523120027, "snapshot": "false", "db": "zenodo", "sequence": "[\"1470733803496\",\"1470733842408\"]", "schema": "public", "table": "oauth2server_token", "txId": 563773535, "lsn": 1470733842408, "xmin": null}, "op": "c", "ts_ms": 1694523120317, "transaction": {"id": "563773535:1470733842408", "total_order": 2, "data_collection_order": 1}}, "headers": [], "checksum": null, "serialized_key_size": 91, "serialized_value_size": 804, "serialized_header_size": -1} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"topic": "zenodo-migration.public", "partition": 0, "offset": 420646, "timestamp": 1694523146547, "timestamp_type": 0, "key": {"id": 156666, "__dbz__physicalTableIdentifier": "zenodo-migration.public.oauth2server_token"}, "value": {"before": {"id": 156666, "client_id": "SZLrR8ApZPeBjqj7uMB1JWXavhxebu6V0mwMtvMr", "user_id": 86261, "token_type": "bearer", "access_token": "SlhBTjhzbXd4QTcrRjFMcTVMRHl3QlY2Rkdib0VwREY4aDhPcHo2dUt2ZnZ3OVVPa1BvRDl0L1NRZmFrdXNIU2hJR2JWc0NHZDZSVEhVT2JQcmdjS1E9PQ==", "refresh_token": null, "expires": null, "_scopes": "", "is_personal": true, "is_internal": false}, "after": null, "source": {"version": "2.3.0.Final", "connector": "postgresql", "name": "zenodo-migration", "ts_ms": 1694523146009, "snapshot": "false", "db": "zenodo", "sequence": "[\"1470733869488\",\"1470733869488\"]", "schema": "public", "table": "oauth2server_token", "txId": 563773542, "lsn": 1470733869488, "xmin": null}, "op": "d", "ts_ms": 1694523146112, "transaction": {"id": "563773542:1470733869488", "total_order": 1, "data_collection_order": 1}}, "headers": [], "checksum": null, "serialized_key_size": 91, "serialized_value_size": 764, "serialized_header_size": -1} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
{"topic": "zenodo-migration.public", "partition": 0, "offset": 420644, "timestamp": 1694523140034, "timestamp_type": 0, "key": {"client_id": "SZLrR8ApZPeBjqj7uMB1JWXavhxebu6V0mwMtvMr", "__dbz__physicalTableIdentifier": "zenodo-migration.public.oauth2server_client"}, "value": {"before": {"name": "test-incremental-token", "description": "", "website": "", "user_id": 86261, "client_id": "SZLrR8ApZPeBjqj7uMB1JWXavhxebu6V0mwMtvMr", "client_secret": "RmDfTqWnjFBM6gKc29VN0rWZPI4wi0gHBcJQYdVNLtibTK0AR1ZWbWT5oYeQ", "is_confidential": false, "is_internal": true, "_redirect_uris": null, "_default_scopes": "deposit:actions deposit:write user:email"}, "after": {"name": "test-incremental-token-too", "description": "", "website": "", "user_id": 86261, "client_id": "SZLrR8ApZPeBjqj7uMB1JWXavhxebu6V0mwMtvMr", "client_secret": "RmDfTqWnjFBM6gKc29VN0rWZPI4wi0gHBcJQYdVNLtibTK0AR1ZWbWT5oYeQ", "is_confidential": false, "is_internal": true, "_redirect_uris": null, "_default_scopes": "deposit:actions deposit:write user:email"}, "source": {"version": "2.3.0.Final", "connector": "postgresql", "name": "zenodo-migration", "ts_ms": 1694523139263, "snapshot": "false", "db": "zenodo", "sequence": "[\"1470733863952\",\"1470733868536\"]", "schema": "public", "table": "oauth2server_client", "txId": 563773541, "lsn": 1470733868536, "xmin": null}, "op": "u", "ts_ms": 1694523139535, "transaction": {"id": "563773541:1470733868536", "total_order": 1, "data_collection_order": 1}}, "headers": [], "checksum": null, "serialized_key_size": 135, "serialized_value_size": 1111, "serialized_header_size": -1} | ||
{"topic": "zenodo-migration.public", "partition": 0, "offset": 420645, "timestamp": 1694523140034, "timestamp_type": 0, "key": {"id": 156666, "__dbz__physicalTableIdentifier": "zenodo-migration.public.oauth2server_token"}, "value": {"before": {"id": 156666, "client_id": "SZLrR8ApZPeBjqj7uMB1JWXavhxebu6V0mwMtvMr", "user_id": 86261, "token_type": "bearer", "access_token": "SlhBTjhzbXd4QTcrRjFMcTVMRHl3QlY2Rkdib0VwREY4aDhPcHo2dUt2ZnZ3OVVPa1BvRDl0L1NRZmFrdXNIU2hJR2JWc0NHZDZSVEhVT2JQcmdjS1E9PQ==", "refresh_token": null, "expires": null, "_scopes": "user:email deposit:actions deposit:write", "is_personal": true, "is_internal": false}, "after": {"id": 156666, "client_id": "SZLrR8ApZPeBjqj7uMB1JWXavhxebu6V0mwMtvMr", "user_id": 86261, "token_type": "bearer", "access_token": "SlhBTjhzbXd4QTcrRjFMcTVMRHl3QlY2Rkdib0VwREY4aDhPcHo2dUt2ZnZ3OVVPa1BvRDl0L1NRZmFrdXNIU2hJR2JWc0NHZDZSVEhVT2JQcmdjS1E9PQ==", "refresh_token": null, "expires": null, "_scopes": "", "is_personal": true, "is_internal": false}, "source": {"version": "2.3.0.Final", "connector": "postgresql", "name": "zenodo-migration", "ts_ms": 1694523139263, "snapshot": "false", "db": "zenodo", "sequence": "[\"1470733863952\",\"1470733868984\"]", "schema": "public", "table": "oauth2server_token", "txId": 563773541, "lsn": 1470733868984, "xmin": null}, "op": "u", "ts_ms": 1694523139536, "transaction": {"id": "563773541:1470733868984", "total_order": 2, "data_collection_order": 1}}, "headers": [], "checksum": null, "serialized_key_size": 91, "serialized_value_size": 1132, "serialized_header_size": -1} |