Skip to content
Snippets Groups Projects
Commit c3c830a2 authored by Bartek Wrona's avatar Bartek Wrona
Browse files

branch 'mt-further-pids-refactoring' rebsed onto master

parents eefd0a88 063bcd4a
No related branches found
No related tags found
2 merge requests!161Tests specific to hivemind MR https://gitlab.syncad.com/hive/hivemind/-/merge_requests/329,!156Further pids refactoring
Showing
with 69637 additions and 5 deletions
It's possible to check original values on 0.23 hivemind. It has to be done manually, due to the error when `last_month` is calculated.
Example:
params: {"tag":"blocktrades","start_author":"michelle.gent","start_permlink":"dusty-the-demon-hunter-part-4","limit":10}
------------
a) Find id of account:
select * from hive_accounts where name = 'blocktrades'
found: `441`
------------
b) Find post's id for given author and permlink
SELECT id FROM hive_posts WHERE author = 'michelle.gent' AND permlink = 'dusty-the-demon-hunter-part-4'
found: `711172`
------------
Following query is taken from 0.23 version( for 5 million blocks ).
c) Put calculated values instead of _ID_ACCOUNT, _POST_ID, _LIMIT.
-----------
select hpc.post_id, hpc.author, hpc.permlink
FROM hive_posts_cache hpc
JOIN
(
SELECT post_id
FROM hive_feed_cache
JOIN hive_follows ON account_id = hive_follows.following AND state = 1
JOIN hive_accounts ON hive_follows.following = hive_accounts.id
WHERE hive_follows.follower = _ID_ACCOUNT(here 441)
AND hive_feed_cache.created_at > ( '2016-09-15 19:47:15.0'::timestamp - interval '1 month' )
GROUP BY post_id
HAVING MIN(hive_feed_cache.created_at) <= (
SELECT MIN(created_at) FROM hive_feed_cache WHERE post_id = _POST_ID(here 711172)
AND account_id IN (SELECT following FROM hive_follows
WHERE follower = _ID_ACCOUNT(here 441) AND state = 1))
ORDER BY MIN(hive_feed_cache.created_at) DESC
) T ON hpc.post_id = T.post_id
ORDER BY post_id DESC
LIMIT _LIMIT(here 10)
------------
Check `readme.txt` first
post_id author permlink
------- --------------- ------------------------------------------------------------------------------------------------
707330 nonlinearone in-which-alex-and-ranger-play-fetch-in-the-pool
707012 georgedonnelly episodes-60-63-of-the-coup-conspiracy-dystopian-cryptocurrency-novel
707004 rea the-greatest-joys-can-come-in-the-smallest-packages
706989 asdes very-non-standard-solution-steve-jobs-has-such-people-appreciated
706848 mindover to-the-42-of-american-college-graduates-will-never-read-another-book-for-the-rest-of-their-lives
706706 hilarski 5-types-of-sales-people-and-their-dog-equivalent
706652 jpiper20 let-s-work-together-and-stop-bullies-super-sad-story
706627 someguy123 steam-game-giveaway-outlast
706586 dragonslayer109 a-day-in-the-life-of-charles-darwin-featuring-new-author-cristi
706290 biophil lost-content-digest-4-all-proceeds-go-to-featured-authors
This diff is collapsed.
---
test_name: Hivemind condenser_api.get_discussions_by_feed patterns test
marks:
- patterntest # tag is not a tag but account whose feed we are looking at (set of posts created/reblogged by those followed by selected account)
# there can be no nonempty results for not-up-to-date HM because it only gives posts that were created/reblogged within last month (no param to change it)
includes:
- !include ../../common.yaml
stages:
- name: get_discussions_by_feed
request:
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
json:
jsonrpc: "2.0"
id: 1
method: "condenser_api.get_discussions_by_feed"
params: {"tag":"abit","start_author":"nonlinearone","start_permlink":"in-which-alex-and-ranger-play-fetch-in-the-pool","limit":10}
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "abit"
directory: "condenser_api_patterns/get_discussions_by_feed"
\ No newline at end of file
Check `readme.txt` first
post_id author permlink
------- ------------- ----------------------------------------------------------------------------------------------------
711172 michelle.gent dusty-the-demon-hunter-part-4
711107 michelle.gent dusty-the-demon-hunter-part-3
711028 michelle.gent dusty-the-demon-hunter-part-2
710944 michelle.gent dusty-the-demon-hunter-a-short-story-in-a-few-parts-1
710453 markrmorrisjr short-story-honobia-on-a-usd10-000-00-budget-or-how-to-hunt-sasquatch-for-fun-and-college-credit-par
697179 markrmorrisjr short-story-a-goldfish-mastermind-named-benedict-cumberbatch-and-the-league-of-domesticated-assasins
688460 dantheman steem-dollars-have-limits
686297 markrmorrisjr a-goldfish-mastermind-named-benedict-cumberbatch-and-the-league-of-domesticated-assasins
686111 markrmorrisjr the-odyssey-or-how-my-quest-to-make-spd-usd-turned-into-a-nightmare
684485 dantheman steem-dollar-stability-enhancements
---
test_name: Hivemind condenser_api.get_discussions_by_feed patterns test
marks:
- patterntest # tag is not a tag but account whose feed we are looking at (set of posts created/reblogged by those followed by selected account)
# there can be no nonempty results for not-up-to-date HM because it only gives posts that were created/reblogged within last month (no param to change it)
includes:
- !include ../../common.yaml
stages:
- name: get_discussions_by_feed
request:
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
json:
jsonrpc: "2.0"
id: 1
method: "condenser_api.get_discussions_by_feed"
params: {"tag":"blocktrades","start_author":"michelle.gent","start_permlink":"dusty-the-demon-hunter-part-4","limit":10}
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "blocktrades"
directory: "condenser_api_patterns/get_discussions_by_feed"
\ No newline at end of file
Check `readme.txt` first
post_id author permlink
------- --------------- ----------------------------------------------------------------------------------------------------
640267 jl777 300-btc-open-market-purchase-of-steem-spikes-price-to-00324
640175 hisnameisolllie curation-bot-s-race-to-the-bottom-the-impending-bot-armageddon
639772 fyrstikken introducing-steemspeak-com-a-voice-community-and-24-7-radio-station-for-steemians
638995 knozaki2015 i-travel-the-world-part-19-din-tai-fung-taipei
638815 dana-edwards series-achieving-financial-independence-with-steem-intro-1
638580 crazymumzysa for-the-mint-of-peppermint-featuring-author-thegoldencookie
638374 mrosenquist to-upvote-or-not-on-comments-that-is-the-question
637730 thedashguy recreational-cannabis-or-say-hello-to-the-new-and-improved-www-rainiercannabis-com-built-by-thedashg
637202 sascha typography-part-2-remarkable-typographers-and-their-unparalleled-achievements
636529 originate the-steem-multiple-persona-conundrum-part-1
---
test_name: Hivemind condenser_api.get_discussions_by_feed patterns test
marks:
- patterntest # tag is not a tag but account whose feed we are looking at (set of posts created/reblogged by those followed by selected account)
# there can be no nonempty results for not-up-to-date HM because it only gives posts that were created/reblogged within last month (no param to change it)
includes:
- !include ../../common.yaml
stages:
- name: get_discussions_by_feed
request:
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
json:
jsonrpc: "2.0"
id: 1
method: "condenser_api.get_discussions_by_feed"
params: {"tag":"good-karma","start_author":"jl777","start_permlink":"300-btc-open-market-purchase-of-steem-spikes-price-to-00324","limit":10}
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "good-karma"
directory: "condenser_api_patterns/get_discussions_by_feed"
\ No newline at end of file
[] Check `readme.txt` first
post_id author permlink
------- --------- -----------------------------------------------------
960842 betamusic the-history-of-danna-a-dog-abandoned-saved-by-steemit
[] [
{
"active_votes": [
{
"percent": "10000",
"reputation": 15854806148148,
"rshares": 7803257741,
"voter": "richman"
},
{
"percent": "10000",
"reputation": 3821319838891,
"rshares": 21249911268,
"voter": "sisters"
},
{
"percent": "10000",
"reputation": 7767180487460,
"rshares": 12687813009,
"voter": "gargon"
},
{
"percent": "10000",
"reputation": 1955505384817,
"rshares": 3146097649,
"voter": "pgarcgo"
},
{
"percent": "10000",
"reputation": 3740136030964,
"rshares": 1112699443,
"voter": "future24"
},
{
"percent": "10000",
"reputation": 184100704754,
"rshares": 172646222,
"voter": "sammie"
},
{
"percent": "10000",
"reputation": 28411186,
"rshares": 53389583,
"voter": "ppan08162016"
}
],
"author": "betamusic",
"author_reputation": 3521631459073,
"beneficiaries": [],
"body": "<html><img src=\"https://www.steemimg.com/images/2016/09/15/IMG_20160815_183305b7ce3.jpg\" alt=\"IMG_20160815_183305b7ce3.jpg\" border=\"0\">\n<p>Hello dear steemians, as they have been, on this occasion I'm going to present to each of the dogs, which thanks to our Steemit community, I'm feeding in Venezuela. I will begin with the story of a dog that has moved me, and in my next post, I'll be telling the story of each one of the 24 dogs that we are protecting and feeding thanks to steemit.</p><img src=\"https://www.steemimg.com/images/2016/09/15/animalrescue34001a.jpg\" alt=\"animalrescue34001a.jpg\" border=\"0\">\n<p>She is Dana, one of the dogs, who lives in the Street 3 of my neighborhood, I've been feeding it for more than 2 months, I have no exact date of when I started, but she was the first dog that I an incentive to start this work in my neighborhood, their State of malnutrition was worrying.</p>\n<p>I do not understand as there are people who are unable to leave unless the excess food to the dog who lives on the street, there is street dogs in my neighborhood and among all the neighbors we feed them, with the remains or even let them a full plate of food, it was not necessary to include them to the campaign because we keep them in good shape even sleep on the porch of a House you could say that they adopted them.</p>\n\n<p>With Dana, things have been different, I know the neighbor who took her out the street, told me that they took it from the House of to neighbor in January because she could no longer have it, and adopted it, as it grew became ill apparently of parasitosis since he vomited all what ate, apart gave scabies. The dog already more big came out of the House and my neighbour had that go it to search 4 times, until is was to another city to live by to time and not could return be pending of she.</p>\n<img src=\"https://www.steemimg.com/images/2016/09/15/IMG_20160816_1803333cf0d.jpg\" alt=\"IMG_20160816_1803333cf0d.jpg\" border=\"0\">\n<p>Dana was on the street and not brought it over to his house. The neighbor says \"the dog was getting sick at my house, there is a disease on the walls all dog that dies, gives you diarrhea three days and dies, my mom not could take care of it more, we leave on the street there is better and healthier at home\" I have checked that my neighbor is right every dog that arrives at your House becomes ill and dies if it is puppy , hypothesize that in your House inhabits the bacterium Parvovirus, is sad this situation but equal not so justify.</p>\n<p>This dog is you calculates just a year has a personality cheerful and grateful whenever me sees me salutes with much sweetheart moves its tail and its love is incomparable, can accompany me by all the urban when go, is a faithful companion, is a dog very charismatic and tender. Makes 3 days entered in zeal by them calculations this would be its first zeal, it worrying is that there are several dogs that it have mounted and of have a delivery would be very risky, by the situation of disease and malnutrition of which is leaving, apart that would be other litter more than puppies that would enter to the situation of street.</p>\n<img src=\"https://www.steemimg.com/images/2016/09/15/IMG_20160912_173902731c2.jpg\" alt=\"IMG_20160912_173902731c2.jpg\" border=\"0\">\n<p>All the funds raised in this post will be dedicated to their sterilization and to their treatment. Support us with your UPVOTE will be Save life to Dana. Dona, vote, disseminates, help as can, this dog you it will thank, adopt and know his godfather.</p>\n<p><br></p>\n</html>\nVERSI\u00d3N EN ESPA\u00d1OL\n\n<img src=\"https://www.steemimg.com/images/2016/09/15/IMG_20160815_183305b7ce3.jpg\" alt=\"IMG_20160815_183305b7ce3.jpg\" border=\"0\">\n\nHola estimados steemians, como han estado, en esta ocasi\u00f3n voy a presentar a cada uno de los perros, que gracias a nuestra comunidad de Steemit, estoy alimentando en Venezuela. Voy a comenzar con la historia de una perrita que me ha conmovido, y en mis pr\u00f3ximos post, les voy contando la historia de cada uno de los 24 perros que estamos protegiendo y alimentando gracias a steemit\n\n<img src=\"https://www.steemimg.com/images/2016/09/15/animalrescue34001a.jpg\" alt=\"animalrescue34001a.jpg\" border=\"0\">\n\nElla es Dana una de las perras que habita en la carrera 3 de mi vecindario la he estado alimentando desde hace m\u00e1s de 2 meses, no tengo fecha exacta de cuando comenc\u00e9 pero ella fue la primera perra que me incentivo a comenzar esta labor en mi vecindario, su estado de desnutrici\u00f3n me estaba afectando.\n\nNo entiendo como hay gente que es incapaz de dejarle al menos los sobros de la comida al perro que vive en la calle, en mi cuadra hay perros de la calle y entre todos los vecinos los alimentamos con comida de sal, con los restos o incluso les dejamos un plato completo de comida, no fue necesario incluirlos a la campa\u00f1a de alimentaci\u00f3n porque los mantenemos en buena forma incluso duermen en el porche de alguna casas, se podr\u00eda decir que los adoptaron.\n\nCon Dana las cosas han sido distintas, conozco incluso al vecino que la sac\u00f3 a la calle, me cont\u00f3 que la sacaron de la casa de una vecina en enero porque ella ya no pod\u00eda tenerla y la adoptaron, a medida que fue creciendo se enferm\u00f3 al parecer de parasitosis ya que vomitaba todo lo que com\u00eda, aparte le dio sarna. La perrita ya m\u00e1s crecidita sal\u00eda de la casa y se iba a la de los vecinos y mi vecino tuvo que irla a buscar 4 veces, hasta que se fue a otra ciudad a vivir por un tiempo y no pudo volver estar pendiente de ella.\n\n<img src=\"https://www.steemimg.com/images/2016/09/15/IMG_20160816_1803333cf0d.jpg\" alt=\"IMG_20160816_1803333cf0d.jpg\" border=\"0\">\n\nDana qued\u00f3 en la calle y no la trajeron m\u00e1s a su casa. El vecino dice \u201cLa perra se estaba enfermando en mi casa, hay una enfermedad en las paredes que todo perro que llega se muere, le da diarrea tres d\u00edas y muere, mi mam\u00e1 no pod\u00eda cuidarla m\u00e1s, la dejamos en la calle ah\u00ed est\u00e1 mejor y m\u00e1s sana que en mi casa\u201d he comprobado que mi vecino tiene raz\u00f3n todo perro que llega a su casa se enferma y muere si es cachorro, presumimos que en su casa habita la bacteria Parvovirus, es triste esta situaci\u00f3n pero igual no lo justifico.\n\nEsta perrita se le calcula apenas un a\u00f1o tiene una personalidad alegre y agradecida siempre que me ve me saluda con mucho cari\u00f1o mueve su cola y su amor es incomparable, puede acompa\u00f1arme por toda la urbanizaci\u00f3n cuando salgo, es una fiel compa\u00f1era, de lo que se perdieron sus due\u00f1os, es una perra muy carism\u00e1tica y tierna.. Hace 3 d\u00edas entr\u00f3 en celo por los c\u00e1lculos, este ser\u00eda su primer celo, lo preocupante es que hay varios perros que la han montado y de tener un parto ser\u00eda muy arriesgado, por la situaci\u00f3n de enfermedad y desnutrici\u00f3n en la que est\u00e1, aparte que ser\u00eda otra camada m\u00e1s cachorros que entrar\u00edan a la situaci\u00f3n de calle.\n\n<img src=\"https://www.steemimg.com/images/2016/09/15/IMG_20160912_173902731c2.jpg\" alt=\"IMG_20160912_173902731c2.jpg\" border=\"0\">\n\nTodos los fondos recaudados en este post se dedicar\u00e1n a su esterilizaci\u00f3n y su tratamiento. Ayude con tu UPVOTE salvandole la vida a Dana. Dona, vota, difunde, ayuda como puedas, Dana te lo agradecer\u00e1, adoptala y s\u00e9 su padrino.",
"body_length": 7158,
"cashout_time": "2016-09-22T19:25:06",
"category": "animalrescue",
"children": 0,
"created": "2016-09-15T19:25:06",
"curator_payout_value": "0.000 HBD",
"depth": 0,
"json_metadata": "{\"tags\":[\"animalrescue\",\"spanish\",\"\"],\"image\":[\"https://www.steemimg.com/images/2016/09/15/IMG_20160815_183305b7ce3.jpg\",\"https://www.steemimg.com/images/2016/09/15/animalrescue34001a.jpg\",\"https://www.steemimg.com/images/2016/09/15/IMG_20160816_1803333cf0d.jpg\",\"https://www.steemimg.com/images/2016/09/15/IMG_20160912_173902731c2.jpg\"]}",
"last_payout": "1969-12-31T23:59:59",
"last_update": "2016-09-15T19:25:06",
"max_accepted_payout": "1000000.000 HBD",
"net_rshares": 46225814915,
"parent_author": "",
"parent_permlink": "animalrescue",
"pending_payout_value": "0.010 HBD",
"percent_hbd": 10000,
"permlink": "the-history-of-danna-a-dog-abandoned-saved-by-steemit",
"post_id": 1257697,
"promoted": "0.000 HBD",
"replies": [],
"root_title": "The history of Danna a dog abandoned saved by Steemit",
"title": "The history of Danna a dog abandoned saved by Steemit",
"total_payout_value": "0.000 HBD",
"url": "/animalrescue/@betamusic/the-history-of-danna-a-dog-abandoned-saved-by-steemit"
}
]
[] Check `readme.txt` first
post_id author permlink
------- --------- -----------------------------------------------------
960842 betamusic the-history-of-danna-a-dog-abandoned-saved-by-steemit
[] [
{
"active_votes": [
{
"percent": "10000",
"reputation": 15854806148148,
"rshares": 7803257741,
"voter": "richman"
},
{
"percent": "10000",
"reputation": 3821319838891,
"rshares": 21249911268,
"voter": "sisters"
},
{
"percent": "10000",
"reputation": 7767180487460,
"rshares": 12687813009,
"voter": "gargon"
},
{
"percent": "10000",
"reputation": 1955505384817,
"rshares": 3146097649,
"voter": "pgarcgo"
},
{
"percent": "10000",
"reputation": 3740136030964,
"rshares": 1112699443,
"voter": "future24"
},
{
"percent": "10000",
"reputation": 184100704754,
"rshares": 172646222,
"voter": "sammie"
},
{
"percent": "10000",
"reputation": 28411186,
"rshares": 53389583,
"voter": "ppan08162016"
}
],
"author": "betamusic",
"author_reputation": 3521631459073,
"beneficiaries": [],
"body": "<html><img src=\"https://www.steemimg.com/images/2016/09/15/IMG_20160815_183305b7ce3.jpg\" alt=\"IMG_20160815_183305b7ce3.jpg\" border=\"0\">\n<p>Hello dear steemians, as they have been, on this occasion I'm going to present to each of the dogs, which thanks to our Steemit community, I'm feeding in Venezuela. I will begin with the story of a dog that has moved me, and in my next post, I'll be telling the story of each one of the 24 dogs that we are protecting and feeding thanks to steemit.</p><img src=\"https://www.steemimg.com/images/2016/09/15/animalrescue34001a.jpg\" alt=\"animalrescue34001a.jpg\" border=\"0\">\n<p>She is Dana, one of the dogs, who lives in the Street 3 of my neighborhood, I've been feeding it for more than 2 months, I have no exact date of when I started, but she was the first dog that I an incentive to start this work in my neighborhood, their State of malnutrition was worrying.</p>\n<p>I do not understand as there are people who are unable to leave unless the excess food to the dog who lives on the street, there is street dogs in my neighborhood and among all the neighbors we feed them, with the remains or even let them a full plate of food, it was not necessary to include them to the campaign because we keep them in good shape even sleep on the porch of a House you could say that they adopted them.</p>\n\n<p>With Dana, things have been different, I know the neighbor who took her out the street, told me that they took it from the House of to neighbor in January because she could no longer have it, and adopted it, as it grew became ill apparently of parasitosis since he vomited all what ate, apart gave scabies. The dog already more big came out of the House and my neighbour had that go it to search 4 times, until is was to another city to live by to time and not could return be pending of she.</p>\n<img src=\"https://www.steemimg.com/images/2016/09/15/IMG_20160816_1803333cf0d.jpg\" alt=\"IMG_20160816_1803333cf0d.jpg\" border=\"0\">\n<p>Dana was on the street and not brought it over to his house. The neighbor says \"the dog was getting sick at my house, there is a disease on the walls all dog that dies, gives you diarrhea three days and dies, my mom not could take care of it more, we leave on the street there is better and healthier at home\" I have checked that my neighbor is right every dog that arrives at your House becomes ill and dies if it is puppy , hypothesize that in your House inhabits the bacterium Parvovirus, is sad this situation but equal not so justify.</p>\n<p>This dog is you calculates just a year has a personality cheerful and grateful whenever me sees me salutes with much sweetheart moves its tail and its love is incomparable, can accompany me by all the urban when go, is a faithful companion, is a dog very charismatic and tender. Makes 3 days entered in zeal by them calculations this would be its first zeal, it worrying is that there are several dogs that it have mounted and of have a delivery would be very risky, by the situation of disease and malnutrition of which is leaving, apart that would be other litter more than puppies that would enter to the situation of street.</p>\n<img src=\"https://www.steemimg.com/images/2016/09/15/IMG_20160912_173902731c2.jpg\" alt=\"IMG_20160912_173902731c2.jpg\" border=\"0\">\n<p>All the funds raised in this post will be dedicated to their sterilization and to their treatment. Support us with your UPVOTE will be Save life to Dana. Dona, vote, disseminates, help as can, this dog you it will thank, adopt and know his godfather.</p>\n<p><br></p>\n</html>\nVERSI\u00d3N EN ESPA\u00d1OL\n\n<img src=\"https://www.steemimg.com/images/2016/09/15/IMG_20160815_183305b7ce3.jpg\" alt=\"IMG_20160815_183305b7ce3.jpg\" border=\"0\">\n\nHola estimados steemians, como han estado, en esta ocasi\u00f3n voy a presentar a cada uno de los perros, que gracias a nuestra comunidad de Steemit, estoy alimentando en Venezuela. Voy a comenzar con la historia de una perrita que me ha conmovido, y en mis pr\u00f3ximos post, les voy contando la historia de cada uno de los 24 perros que estamos protegiendo y alimentando gracias a steemit\n\n<img src=\"https://www.steemimg.com/images/2016/09/15/animalrescue34001a.jpg\" alt=\"animalrescue34001a.jpg\" border=\"0\">\n\nElla es Dana una de las perras que habita en la carrera 3 de mi vecindario la he estado alimentando desde hace m\u00e1s de 2 meses, no tengo fecha exacta de cuando comenc\u00e9 pero ella fue la primera perra que me incentivo a comenzar esta labor en mi vecindario, su estado de desnutrici\u00f3n me estaba afectando.\n\nNo entiendo como hay gente que es incapaz de dejarle al menos los sobros de la comida al perro que vive en la calle, en mi cuadra hay perros de la calle y entre todos los vecinos los alimentamos con comida de sal, con los restos o incluso les dejamos un plato completo de comida, no fue necesario incluirlos a la campa\u00f1a de alimentaci\u00f3n porque los mantenemos en buena forma incluso duermen en el porche de alguna casas, se podr\u00eda decir que los adoptaron.\n\nCon Dana las cosas han sido distintas, conozco incluso al vecino que la sac\u00f3 a la calle, me cont\u00f3 que la sacaron de la casa de una vecina en enero porque ella ya no pod\u00eda tenerla y la adoptaron, a medida que fue creciendo se enferm\u00f3 al parecer de parasitosis ya que vomitaba todo lo que com\u00eda, aparte le dio sarna. La perrita ya m\u00e1s crecidita sal\u00eda de la casa y se iba a la de los vecinos y mi vecino tuvo que irla a buscar 4 veces, hasta que se fue a otra ciudad a vivir por un tiempo y no pudo volver estar pendiente de ella.\n\n<img src=\"https://www.steemimg.com/images/2016/09/15/IMG_20160816_1803333cf0d.jpg\" alt=\"IMG_20160816_1803333cf0d.jpg\" border=\"0\">\n\nDana qued\u00f3 en la calle y no la trajeron m\u00e1s a su casa. El vecino dice \u201cLa perra se estaba enfermando en mi casa, hay una enfermedad en las paredes que todo perro que llega se muere, le da diarrea tres d\u00edas y muere, mi mam\u00e1 no pod\u00eda cuidarla m\u00e1s, la dejamos en la calle ah\u00ed est\u00e1 mejor y m\u00e1s sana que en mi casa\u201d he comprobado que mi vecino tiene raz\u00f3n todo perro que llega a su casa se enferma y muere si es cachorro, presumimos que en su casa habita la bacteria Parvovirus, es triste esta situaci\u00f3n pero igual no lo justifico.\n\nEsta perrita se le calcula apenas un a\u00f1o tiene una personalidad alegre y agradecida siempre que me ve me saluda con mucho cari\u00f1o mueve su cola y su amor es incomparable, puede acompa\u00f1arme por toda la urbanizaci\u00f3n cuando salgo, es una fiel compa\u00f1era, de lo que se perdieron sus due\u00f1os, es una perra muy carism\u00e1tica y tierna.. Hace 3 d\u00edas entr\u00f3 en celo por los c\u00e1lculos, este ser\u00eda su primer celo, lo preocupante es que hay varios perros que la han montado y de tener un parto ser\u00eda muy arriesgado, por la situaci\u00f3n de enfermedad y desnutrici\u00f3n en la que est\u00e1, aparte que ser\u00eda otra camada m\u00e1s cachorros que entrar\u00edan a la situaci\u00f3n de calle.\n\n<img src=\"https://www.steemimg.com/images/2016/09/15/IMG_20160912_173902731c2.jpg\" alt=\"IMG_20160912_173902731c2.jpg\" border=\"0\">\n\nTodos los fondos recaudados en este post se dedicar\u00e1n a su esterilizaci\u00f3n y su tratamiento. Ayude con tu UPVOTE salvandole la vida a Dana. Dona, vota, difunde, ayuda como puedas, Dana te lo agradecer\u00e1, adoptala y s\u00e9 su padrino.",
"body_length": 7158,
"cashout_time": "2016-09-22T19:25:06",
"category": "animalrescue",
"children": 0,
"created": "2016-09-15T19:25:06",
"curator_payout_value": "0.000 HBD",
"depth": 0,
"json_metadata": "{\"tags\":[\"animalrescue\",\"spanish\",\"\"],\"image\":[\"https://www.steemimg.com/images/2016/09/15/IMG_20160815_183305b7ce3.jpg\",\"https://www.steemimg.com/images/2016/09/15/animalrescue34001a.jpg\",\"https://www.steemimg.com/images/2016/09/15/IMG_20160816_1803333cf0d.jpg\",\"https://www.steemimg.com/images/2016/09/15/IMG_20160912_173902731c2.jpg\"]}",
"last_payout": "1969-12-31T23:59:59",
"last_update": "2016-09-15T19:25:06",
"max_accepted_payout": "1000000.000 HBD",
"net_rshares": 46225814915,
"parent_author": "",
"parent_permlink": "animalrescue",
"pending_payout_value": "0.010 HBD",
"percent_hbd": 10000,
"permlink": "the-history-of-danna-a-dog-abandoned-saved-by-steemit",
"post_id": 1257697,
"promoted": "0.000 HBD",
"replies": [],
"root_title": "The history of Danna a dog abandoned saved by Steemit",
"title": "The history of Danna a dog abandoned saved by Steemit",
"total_payout_value": "0.000 HBD",
"url": "/animalrescue/@betamusic/the-history-of-danna-a-dog-abandoned-saved-by-steemit"
}
]
This diff is collapsed.
This diff is collapsed.
---
test_name: Hivemind condenser_api.get_state patterns test # Deprecated
marks:
- patterntest
includes:
- !include ../../common.yaml
stages:
- name: get_state
request:
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
json:
jsonrpc: "2.0"
id: 1
method: "condenser_api.get_state"
params: ["/@blocktrades"]
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "blocktrades"
directory: "condenser_api_patterns/get_state"
\ No newline at end of file
{
"code": -32602,
"data": "Post dragonho/suntory-time-weekend does not exist",
"message": "Invalid parameters"
}
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
marks: marks:
- patterntest - patterntest
- negative
includes: includes:
...@@ -26,4 +27,5 @@ ...@@ -26,4 +27,5 @@
function: validate_response:compare_response_with_pattern function: validate_response:compare_response_with_pattern
extra_kwargs: extra_kwargs:
method: "not_full_permlink" method: "not_full_permlink"
directory: "tags_api_patterns/get_discussions_by_author_before_date" directory: "tags_api_negative/get_discussions_by_author_before_date"
\ No newline at end of file error_response: true
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment