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
eventlogging-service-eventbus.service - EventLogging Produce HTTP Service | |
Loaded: loaded (/lib/systemd/system/eventlogging-service-eventbus.service; enabled) | |
Active: failed (Result: exit-code) since Thu 2017-07-13 18:08:43 GMT; 1h 16min ago | |
Process: 31720 ExecStart=/vagrant/srv/eventlogging/virtualenv/bin/eventlogging-service @/vagrant/srv/eventlogging/config/eventlogging-service-eventbus (code=exited, status=1/FAILURE) | |
Main PID: 31720 (code=exited, status=1/FAILURE) | |
Jul 13 18:08:43 mediawiki-vagrant eventlogging-service[31720]: Traceback (most recent call last): | |
Jul 13 18:08:43 mediawiki-vagrant eventlogging-service[31720]: File "/vagrant/srv/eventlogging/virtualenv/bin/eventlogging-service", line 4, in <module> | |
Jul 13 18:08:43 mediawiki-vagrant eventlogging-service[31720]: __import__('pkg_resources').require('eventlogging==0.9.post20170222') | |
Jul 13 18:08:43 mediawiki-vagrant eventlogging-service[31720]: File "/vagrant/srv/eventlogging/virtualenv/local/lib/python2.7/site-packages/pkg_resources/__in |
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
1. Get Homebrew from https://brew.sh | |
2. brew install minikube docker-machine-driver-xhyve kubernetes-cli | |
3. brew install docker-machine-driver-xhyve | |
4. minikube start --vm-driver=xhyve --show-libmachine-logs --v=10 --alsologtostderr | |
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
apiVersion: apps/v1beta1 | |
kind: Deployment | |
metadata: | |
name: change-propagation-deploy | |
spec: | |
replicas: 1 | |
template: | |
metadata: | |
labels: | |
service_name: change-propagation |
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
apiVersion: v1 | |
kind: Service | |
metadata: | |
creationTimestamp: 2017-06-02T00:59:47Z | |
labels: | |
service_name: mediawiki-services | |
name: mediawiki | |
namespace: default | |
resourceVersion: "112045" | |
selfLink: /api/v1/namespaces/default/services/mediawiki |
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
import scala.collection.mutable | |
import scala.collection.mutable.ListBuffer | |
import scala.io.Source | |
import scala.util.parsing.json.JSON | |
sealed trait Key { | |
def isMatching(segment: String): Boolean | |
} | |
object Key { |
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
=== Services === | |
* Blockers: none | |
* Updates: | |
** RESTBase code and config deploy moved to scap3 | |
*** https://phabricator.wikimedia.org/T116335 | |
** REST API Version 1.0 | |
*** http://en.wikipedia.org/api/rest_v1/ | |
*** Announced in the blog post: https://blog.wikimedia.org/2017/04/06/wikimedia-rest-api/ | |
** Deployed a new upstream version of PDF render service | |
*** https://en.wikipedia.org/api/rest_v1/#!/Page_content/get_page_pdf_title |
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
ppchelko@scb1001:~$ curl http://localhost:6699/en.wikipedia.org/v1/feed/debug-trending-edits/53674696 | |
[{"id":53674696,"isNew":false,"edits":89,"from":"2017-04-04T23:02:03.000Z","updated":"2017-04-05T20:46:31.000Z","rev_len":31092,"reverts":5,"anonEdits":16,"contributors":{"total":31,"anons":7,"names":{"MeropeRiddle":19,"120.147.3.78":3,"209.52.85.34":1,"WWGB":1,"Continentaleurope":2,"Kieronoldham":3,"82.22.113.75":1,"99.58.48.19":7,"68.150.212.51":1,"45.116.233.18":2,"FriyMan":13,"Kamalthebest":1,"Draconicfire":1,"Раммон":1,"Coffee":1,"Lovkal":1,"ArticCynda":3,"AlexTref871":2,"John":11,"Molecule Extraction":1,"Davey2010":1,"Frietjes":1,"Ycleymans":1,"Каверзин Андрей Викторович":1,"Gianluigi02":1,"Александр Мотин":1,"カビル":2,"Epicgenius":3,"Mymis":1,"Хоббит":1,"67.171.224.154":1},"main":"MeropeRiddle"},"title":"2017_Saint_Petersburg_Metro_bombing","domain":"en.wikipedia.org","bytes":5925,"score":0.058970788251764314}]ppchelko@scb1001:~$ curl http://localhost:6699/en.wikipedia.org/v1/feed/debug-trending-edits/53 |
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
{ | |
"timestamp": "2017-04-05T20:06:25.853Z", | |
"pages": [ | |
{ | |
"totalEdits": 75, | |
"editors": 47, | |
"trendiness": 723.3340695484047, | |
"isNew": false, | |
"since": "2017-04-05T15:41:54.000Z", | |
"updated": "2017-04-05T19:50:30.000Z", |
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
{"size":931,"titles":[{"id":18629727,"title":"Kim_Hyun-joong"},{"id":858665,"title":"Luxury_goods"},{"id":53668053,"title":"Alexis_d'Anjou-Durassow"},{"id":345792,"title":"The_Undertaker"},{"id":20984738,"title":"Anthony_Hudson_(footballer)"},{"id":53494082,"title":"Steixeirastcyr/sandbox"},{"id":30528954,"title":"Nivin_Pauly"},{"id":52965014,"title":"Kelvin_Redvers"},{"id":1385285,"title":"Alanis_Obomsawin"},{"id":52925841,"title":"Amanda_Strong"},{"id":25875,"title":"Rheumatoid_arthritis"},{"id":53691227,"title":"Yung_Simmie"},{"id":13136934,"title":"Gurbaksh_Chahal"},{"id":7019059,"title":"Randy_Hultgren"},{"id":51405258,"title":"WWE_SmackDown_Women's_Championship"},{"id":2483261,"title":"Tye_Dillinger"},{"id":2454237,"title":"Shinsuke_Nakamura"},{"id":52470712,"title":"The_Voice_(U.S._season_12)"},{"id":53347800,"title":"April_Hickox"},{"id":53262748,"title":"Dancing_with_the_Stars_(U.S._season_24)"},{"id":53489490,"title":"2017_Malaysia_Super_Series_Premier"},{"id":14449632,"title":"Dental_public_health" |
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
871 "https://commons.wikimedia.org/wiki/User%3AJJMC89_bot%2Freport%2FBSicons%2Fchanges%2F2017-03" | |
575 "https://commons.wikimedia.org/wiki/User%3ANicolas_R%C3%BCck_(WMDE)%2FSupported_by_Wikimedia_Deutschland_2015%2F1" | |
4413 "https://commons.wikimedia.org/wiki/User%3AJarekt%2Fd" | |
302 "https://commons.wikimedia.org/wiki/Commons%3AQuality_images%2FSubject%2FPlaces%2FNatural_structures" | |
220 "https://commons.wikimedia.org/wiki/User%3ADarkweasel94%2FVienna%2F2016_December_14-16" | |
206 "https://commons.wikimedia.org/wiki/User%3AOxyman%2FLondon%2F2014_October_1-10" | |
197 "https://commons.wikimedia.org/wiki/Commons%3AWikiProject_Aviation%2Frecent_uploads%2F2014_February_17" | |
189 "https://pl.wikisource.org/wiki/Wiki%C5%BAr%C3%B3d%C5%82a%3AWikiprojekt_Proofread_skr%C3%B3cony" | |
117 "https://commons.wikimedia.org/wiki/User%3AMarcus_Cyron%2FOgreBotCeramics%2F2013_May_21-31" |