Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
hivemind
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hive
hivemind
Commits
ac0356b4
Commit
ac0356b4
authored
4 years ago
by
Mariusz Trela
Browse files
Options
Downloads
Patches
Plain Diff
Data loaded correctly
parent
2b393344
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
mock_data/block_data/community_op/mock_block_data_community.json
+18
-7
18 additions, 7 deletions
...ta/block_data/community_op/mock_block_data_community.json
scripts/ci_sync.sh
+1
-1
1 addition, 1 deletion
scripts/ci_sync.sh
with
19 additions
and
8 deletions
mock_data/block_data/community_op/mock_block_data_community.json
+
18
−
7
View file @
ac0356b4
...
...
@@ -418,8 +418,8 @@
"parent_author"
:
""
,
"parent_permlink"
:
"hive-135485"
,
"author"
:
"test-safari"
,
"permlink"
:
"secrets"
,
"title"
:
"Secrets"
,
"permlink"
:
"secrets
1
"
,
"title"
:
"Secrets
1
"
,
"body"
:
""
,
"json_metadata"
:
"{
\"
image
\"
:[
\"
https:
\/\/
i.pinimg.com
\/
originals
\/
7f
\/
a7
\/
d6
\/
7fa7d618acbe1313d323c0db42ecf211.jpg
\"
],
\"
app
\"
:
\"
steemit
\/
0.1
\"
,
\"
format
\"
:
\"
markdown
\"
}"
}
...
...
@@ -483,6 +483,17 @@
"body"
:
""
,
"json_metadata"
:
"{
\"
image
\"
:[
\"
https:
\/\/
i.pinimg.com
\/
originals
\/
7f
\/
a7
\/
d6
\/
7fa7d618acbe1313d323c0db42ecf211.jpg
\"
],
\"
app
\"
:
\"
steemit
\/
0.1
\"
,
\"
format
\"
:
\"
markdown
\"
}"
}
},
{
"type"
:
"custom_json_operation"
,
"value"
:
{
"required_auths"
:
[],
"required_posting_auths"
:
[
"hive-135485"
],
"id"
:
"community"
,
"json"
:
"[
\"
setRole
\"
,{
\"
community
\"
:
\"
hive-135485
\"
,
\"
account
\"
:
\"
test-safari
\"
,
\"
role
\"
:
\"
admin
\"
}]"
}
}
],
"extensions"
:
[],
...
...
@@ -571,7 +582,7 @@
"test-safari"
],
"id"
:
"community"
,
"json"
:
"[
\"
mutePost
\"
,{
\"
community
\"
:
\"
hive-135485
\"
,
\"
account
\"
:
\"
test-safari
\"
,
\"
permlink
\"
:
\"
secrets
\"
,
\"
notes
\"
:
\"
spamming
\"
}]"
"json"
:
"[
\"
mutePost
\"
,{
\"
community
\"
:
\"
hive-135485
\"
,
\"
account
\"
:
\"
test-safari
\"
,
\"
permlink
\"
:
\"
secrets
1
\"
,
\"
notes
\"
:
\"
spamming
\"
}]"
}
},
{
...
...
@@ -582,7 +593,7 @@
"test-safari"
],
"id"
:
"community"
,
"json"
:
"[
\"
unmutePost
\"
,{
\"
community
\"
:
\"
hive-135485
\"
,
\"
account
\"
:
\"
test-safari
\"
,
\"
permlink
\"
:
\"
secrets
\"
,
\"
notes
\"
:
\"
testibgn
\"
}]"
"json"
:
"[
\"
unmutePost
\"
,{
\"
community
\"
:
\"
hive-135485
\"
,
\"
account
\"
:
\"
test-safari
\"
,
\"
permlink
\"
:
\"
secrets
1
\"
,
\"
notes
\"
:
\"
testibgn
\"
}]"
}
},
{
...
...
@@ -593,7 +604,7 @@
"test-safari"
],
"id"
:
"community"
,
"json"
:
"[
\"
pinPost
\"
,{
\"
community
\"
:
\"
hive-135485
\"
,
\"
account
\"
:
\"
test-safari
\"
,
\"
permlink
\"
:
\"
secrets
\"
}]"
"json"
:
"[
\"
pinPost
\"
,{
\"
community
\"
:
\"
hive-135485
\"
,
\"
account
\"
:
\"
test-safari
\"
,
\"
permlink
\"
:
\"
secrets
1
\"
}]"
}
},
{
...
...
@@ -604,7 +615,7 @@
"test-safari"
],
"id"
:
"community"
,
"json"
:
"[
\"
unpinPost
\"
,{
\"
community
\"
:
\"
hive-135485
\"
,
\"
account
\"
:
\"
test-safari
\"
,
\"
permlink
\"
:
\"
secrets
\"
}]"
"json"
:
"[
\"
unpinPost
\"
,{
\"
community
\"
:
\"
hive-135485
\"
,
\"
account
\"
:
\"
test-safari
\"
,
\"
permlink
\"
:
\"
secrets
1
\"
}]"
}
},
{
...
...
@@ -615,7 +626,7 @@
"test-safari"
],
"id"
:
"community"
,
"json"
:
"[
\"
flagPost
\"
,{
\"
community
\"
:
\"
hive-135485
\"
,
\"
account
\"
:
\"
test-safari
\"
,
\"
permlink
\"
:
\"
secrets
\"
,
\"
comment
\"
:
\"
This is not a kitten..
\"
}]"
"json"
:
"[
\"
flagPost
\"
,{
\"
community
\"
:
\"
hive-135485
\"
,
\"
account
\"
:
\"
test-safari
\"
,
\"
permlink
\"
:
\"
secrets
1
\"
,
\"
notes
\"
:
\"
This is not a kitten..
\"
}]"
}
}
]
...
...
This diff is collapsed.
Click to expand it.
scripts/ci_sync.sh
+
1
−
1
View file @
ac0356b4
...
...
@@ -58,5 +58,5 @@ fi
echo
Attempting to starting hive
sync
using hived node:
$HIVEMIND_SOURCE_HIVED_URL
.
Max
sync
block is:
$HIVEMIND_MAX_BLOCK
echo
Attempting to access database
$DB_URL
./
$HIVE_NAME
sync
--pid-file
hive_sync.pid
--test-max-block
=
$HIVEMIND_MAX_BLOCK
--exit-after-sync
--test-profile
=
False
--steemd-url
"
$HIVEMIND_SOURCE_HIVED_URL
"
--prometheus-port
11011
--database-url
$DB_URL
--mock-follow-block-data-path
mock_data/block_data/follow_op/mock_block_data_follow.json
--mock-community-block-data-path
mock_data/block_data/community_op/mock_block_data_community.json
--community-start-block
499999
9
--community-start-date
'2016-09-15T19:47:1
8
'
2>&1 |
tee
-i
hivemind-sync.log
./
$HIVE_NAME
sync
--pid-file
hive_sync.pid
--test-max-block
=
$HIVEMIND_MAX_BLOCK
--exit-after-sync
--test-profile
=
False
--steemd-url
"
$HIVEMIND_SOURCE_HIVED_URL
"
--prometheus-port
11011
--database-url
$DB_URL
--mock-follow-block-data-path
mock_data/block_data/follow_op/mock_block_data_follow.json
--mock-community-block-data-path
mock_data/block_data/community_op/mock_block_data_community.json
--community-start-block
499999
8
--community-start-date
'2016-09-15T19:47:1
5
'
2>&1 |
tee
-i
hivemind-sync.log
rm
hive_sync.pid
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment