Skip to content

Commit

Permalink
Adding more test users linked to the publicaitons
Browse files Browse the repository at this point in the history
  • Loading branch information
phochste committed Sep 14, 2017
1 parent afd2d7e commit 32af38c
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 38 deletions.
56 changes: 28 additions & 28 deletions devel/researcher.yml
@@ -1,82 +1,82 @@
---
_id: '1'
_version: 2
_version: 12
account_status: active
date_created: 2017-09-14T07:38:52Z
date_updated: 2017-09-14T07:38:52Z
first_name: Elvis
full_name: Presley, Elvis
last_name: Presley
login: elvis
password: $2a$08$DVI4GDbknih/JMt61b0PVuSbj.ll9yB.C2MITHqkSsz0NMnI0XiWW
date_created: 2017-09-14T07:39:22Z
date_updated: 2017-09-14T12:10:37Z
first_name: Test
full_name: User, Test
last_name: User
login: test
password: $2a$08$Li8NSoaLndvIc3eqO5Y07.eqeXwqYWvem/ekfZeL4vK5V7MqX/Z.u
style: apa
...
---
_id: '1234'
_version: 1
_version: 10
account_status: active
alias: genius
date_created: 2017-09-14T07:38:07Z
date_updated: 2017-09-14T07:38:07Z
date_updated: 2017-09-14T12:00:04Z
department:
- _id: 9996
email: einstein@physics.com
first_name: Albert
full_name: Einstein, Albert
last_name: Einstein
login: einstein
password: $2a$08$UYr512xTCV9.FktQld.tBe84ptqqONtP3Wuo6deY//wblH1hXlZhm
password: $2a$08$YZGgVi6uHpdXuK0QaXxgX.qmt2abPMoNyDEjUlzDw12lc6jX0PtXC
super_admin: 1
...
---
_id: '2'
_version: 1
_version: 11
account_status: active
date_created: 2017-09-14T07:39:22Z
date_updated: 2017-09-14T07:39:22Z
first_name: Test
full_name: Test, Test
last_name: Test
login: test
password: $2a$08$x067F8z.WNYiLtJ4Mk0/wOliS5fnke7HK0LRpeYEo5bIAzSfobYHS
date_created: 2017-09-14T07:38:52Z
date_updated: 2017-09-14T12:00:04Z
first_name: Elvis
full_name: Presley, Elvis
last_name: Presley
login: elvis
password: $2a$08$xq/ss3QCezgrsjS3/KGiWeJpB8161TpYlqZUVi1r2mCPX9jDSj.92
style: apa
...
---
_id: '3'
_version: 1
_version: 10
account_status: active
date_created: 2017-09-14T07:39:48Z
date_updated: 2017-09-14T07:39:48Z
date_updated: 2017-09-14T12:00:05Z
first_name: James
full_name: Dean, James
last_name: Dean
login: james
password: $2a$08$aLKiJuc1SbLHL7J3wA47u.iZ2Zry1OB3Pz/RdhB6pKgCI2ue2SsZ6
password: $2a$08$C5t6tOGcCpEKVldRN3HstuV9t6fO8Um0onKj3qhxJWzTucTM1tRam
style: apa
...
---
_id: '4'
_version: 1
_version: 10
account_status: active
date_created: 2017-09-14T07:40:42Z
date_updated: 2017-09-14T07:40:42Z
date_updated: 2017-09-14T12:00:05Z
first_name: Marilyn
full_name: Monroe, Marilyn
last_name: Monroe
login: marilyn
password: $2a$08$TXyinAi6a8rrV7pmCytoH.DxizD5yMMH7cBiAHvbc8DsZ.6yP2rQq
password: $2a$08$mj7A1hBihzXlCivTGB12NuUxJhtV5/4hUKaWYQrRxAtn/cZHEz4q.
style: apa
...
---
_id: '5'
_version: 1
_version: 10
account_status: active
date_created: 2017-09-14T07:41:27Z
date_updated: 2017-09-14T07:41:27Z
date_updated: 2017-09-14T12:00:05Z
first_name: Natalie
full_name: Portman, Natalie
last_name: Portman
login: natalie
password: $2a$08$XivJnCdT66INAtvFXqZ2UOpu38Qmrl7M.dYg6jXtyHiywFovcXiCq
password: $2a$08$mUIBTKL0cU3cNEgozGLryuDhNdm5SdwqE6/HtTrT3VV/whWoD9wBi
style: apa
...
11 changes: 1 addition & 10 deletions index.sh
Expand Up @@ -20,16 +20,7 @@ case "${CMD}" in
;;
drop)
echo "Dropping index.."
echo "researcher..."
carton exec "bin/librecat delete search --bag researcher"
echo "publication..."
carton exec "bin/librecat delete search --bag publication"
echo "department..."
carton exec "bin/librecat delete search --bag department"
echo "research_group..."
carton exec "bin/librecat delete search --bag research_group"
echo "project..."
carton exec "bin/librecat delete search --bag project"
carton exec "bin/librecat drop search"
echo "Done"
;;
drop_backup)
Expand Down

0 comments on commit 32af38c

Please sign in to comment.