-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use storage records api in e2e (#4373)
* use storage records api * use updated server in e2e * update dump * fix failing tests * update e2e server * fix failing test * fix lint * remove screenshots * add docs regarding recording * fix notifications error * rename existing dump to legacy * add initial dump with desk and article * disable old spec
- Loading branch information
Showing
90 changed files
with
75 additions
and
31 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
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
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
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
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
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
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 |
---|---|---|
@@ -1,2 +1,3 @@ | ||
env | ||
dump | ||
__pycache__ |
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,12 @@ | ||
|
||
# Start recording based on e2e base dump | ||
|
||
When running e2e server via docker you can run: | ||
|
||
$ docker-compose run superdesk run python manage.py storage:record -b e2e -n new | ||
|
||
This will create new record called `new` in the records which can be used now via `/restore_record` api. | ||
|
||
If running locally using `honcho` you can use similar command: | ||
|
||
$ honcho run python manage.py storage:record -b e2e -n new |
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
Binary file added
BIN
+99 Bytes
e2e/server/dump/full/initial/contentapi_e2e/_sd_dump_metadata.json.bz2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+102 Bytes
e2e/server/dump/full/initial/superdesk_e2e/_sd_dump_metadata.json.bz2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+37 Bytes
e2e/server/dump/full/initial/superdesk_e2e/archive_autosave.json.bz2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+37 Bytes
e2e/server/dump/full/initial/superdesk_e2e/archive_versions_versions.json.bz2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+593 Bytes
e2e/server/dump/full/initial/superdesk_e2e/content_templates.json.bz2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+37 Bytes
e2e/server/dump/full/initial/superdesk_e2e/filter_conditions.json.bz2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+37 Bytes
e2e/server/dump/full/initial/superdesk_e2e/ingest_providers.json.bz2
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+37 Bytes
e2e/server/dump/full/initial/superdesk_e2e/media_references.json.bz2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+109 Bytes
e2e/server/dump/full/initial/superdesk_e2e_archived/_sd_dump_metadata.json.bz2
Binary file not shown.
Binary file added
BIN
+37 Bytes
e2e/server/dump/full/initial/superdesk_e2e_archived/archived.json.bz2
Binary file not shown.
Binary file added
BIN
+115 Bytes
e2e/server/dump/full/initial/superdesk_e2e_legal_archive/_sd_dump_metadata.json.bz2
Binary file not shown.
Binary file added
BIN
+37 Bytes
e2e/server/dump/full/initial/superdesk_e2e_legal_archive/legal_archive.json.bz2
Binary file not shown.
Binary file added
BIN
+37 Bytes
e2e/server/dump/full/initial/superdesk_e2e_legal_archive/legal_archive_history.json.bz2
Binary file not shown.
Binary file added
BIN
+37 Bytes
e2e/server/dump/full/initial/superdesk_e2e_legal_archive/legal_archive_versions.json.bz2
Binary file not shown.
Binary file added
BIN
+37 Bytes
e2e/server/dump/full/initial/superdesk_e2e_legal_archive/legal_publish_queue.json.bz2
Binary file not shown.
Binary file added
BIN
+99 Bytes
e2e/server/dump/full/legacy/contentapi_e2e/_sd_dump_metadata.json.bz2
Binary file not shown.
Binary file added
BIN
+99 Bytes
e2e/server/dump/full/legacy/superdesk_e2e/_sd_dump_metadata.json.bz2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+911 Bytes
e2e/server/dump/full/legacy/superdesk_e2e/content_templates.json.bz2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+191 Bytes
e2e/server/dump/full/legacy/superdesk_e2e/email_timestamps.json.bz2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+581 Bytes
e2e/server/dump/full/legacy/superdesk_e2e/ingest_providers.json.bz2
Binary file not shown.
Binary file added
BIN
+331 Bytes
e2e/server/dump/full/legacy/superdesk_e2e/internal_destinations.json.bz2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+107 Bytes
e2e/server/dump/full/legacy/superdesk_e2e_archived/_sd_dump_metadata.json.bz2
Binary file not shown.
Binary file added
BIN
+879 Bytes
e2e/server/dump/full/legacy/superdesk_e2e_archived/archived.json.bz2
Binary file not shown.
Binary file added
BIN
+115 Bytes
e2e/server/dump/full/legacy/superdesk_e2e_legal_archive/_sd_dump_metadata.json.bz2
Binary file not shown.
Binary file added
BIN
+852 Bytes
e2e/server/dump/full/legacy/superdesk_e2e_legal_archive/legal_archive.json.bz2
Binary file not shown.
Binary file added
BIN
+1.13 KB
e2e/server/dump/full/legacy/superdesk_e2e_legal_archive/legal_archive_versions.json.bz2
Binary file not shown.
Binary file not shown.
Binary file not shown.
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 @@ | ||
rs.initiate(); |
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