Page MenuHomePhabricator

Hardikj (Hardikj)
User

Projects (2)

Today

  • No visible events.

Tomorrow

  • No visible events.

Friday

  • No visible events.

User Details

User Since
Nov 27 2014, 9:06 PM (594 w, 5 d)
Availability
Available
LDAP User
Hardikj
MediaWiki User
Unknown

Recent Activity

Dec 4 2015

Hardikj added a comment to T120257: Investigate RESTBase as a possible storage solution for wikitext "errors" and issues that are found by Parsoid.

The web service for linter lives here, if it helps - https://github.com/hardikj/lintbridge/blob/master/server.js#L127

Dec 4 2015, 1:55 PM · Services (watching), RESTBase, Parsoid

May 19 2015

Hardikj added a comment to T99696: cleanup and refactor test/index.js.

Ideas below are inspired from the directory structure of the tests in restbase

May 19 2015, 11:05 PM · RESTBase-Cassandra
Hardikj claimed T99696: cleanup and refactor test/index.js.
May 19 2015, 6:58 PM · RESTBase-Cassandra

May 13 2015

Hardikj moved T89888: Support 'static' columns in SQLite3 module back-end for RESTBase from Backlog to In progress on the RESTBase board.
May 13 2015, 11:37 PM · RESTBase

Mar 3 2015

Hardikj added a comment to T89888: Support 'static' columns in SQLite3 module back-end for RESTBase.

This have been implemented here https://github.com/wikimedia/restbase-mod-table-sqlite/pull/1

Mar 3 2015, 1:22 AM · RESTBase

Feb 19 2015

Hardikj added a comment to T89888: Support 'static' columns in SQLite3 module back-end for RESTBase.

@mobrovac I like your idea about having one static table for multiple data table. But here is the original Idea that I discussed with @GWicke yesterday on IRC which include one to one mapping for static and data table.

Feb 19 2015, 4:58 PM · RESTBase

Feb 18 2015

Hardikj created T89888: Support 'static' columns in SQLite3 module back-end for RESTBase.
Feb 18 2015, 9:08 PM · RESTBase

Feb 9 2015

Hardikj added a comment to T88191: SQLite3 storage module back-end for RESTBase.

Yup, that makes sense to me.

Feb 9 2015, 4:14 PM · SQLite, RESTBase
Hardikj added a comment to T88191: SQLite3 storage module back-end for RESTBase.

I posted the link to the repo for the current work in my first comment here - https://phabricator.wikimedia.org/T88191#1016968

Feb 9 2015, 3:42 PM · SQLite, RESTBase
Hardikj added a comment to T78212: Determine license for RESTBase code.

Yes, Apache2 sounds like a good option to me too.

Feb 9 2015, 3:35 PM · Software-Licensing, RESTBase

Feb 7 2015

Hardikj added a comment to T88191: SQLite3 storage module back-end for RESTBase.

Current Status: Create table, Get and Put path seems to work fine for the most used cases.
Next Task: refine secondary index creation

Feb 7 2015, 8:58 PM · SQLite, RESTBase
Hardikj added a comment to T88191: SQLite3 storage module back-end for RESTBase.

In cassandra we use "insert" only for 'if not exists', or when no non-primary-key attributes are specified and "update" for other cases (upsert). Since "update" query also perform insert this is handled easily by cassandra. But, In sqlite3 a "update" query don't perform insert if the row doesn't exists.

Actually, if not exists is used only for table creation inside the Cassandra module. However, since this is a purely-Cassandra construct, I wouldn't rely on it.

Feb 7 2015, 5:50 AM · SQLite, RESTBase

Feb 5 2015

Hardikj added a comment to T88191: SQLite3 storage module back-end for RESTBase.

To use insert or replace, http://sqlite.org/lang_conflict.html.

Hmmm, replace is too destructive, IMHO, as it triggers cascading deletes in case a PK exists.

Feb 5 2015, 8:10 AM · SQLite, RESTBase
Hardikj added a comment to T88191: SQLite3 storage module back-end for RESTBase.

My vote is to the first option here, this includes

Feb 5 2015, 3:36 AM · SQLite, RESTBase
Hardikj added a comment to T88191: SQLite3 storage module back-end for RESTBase.

Current work on this is hosted here https://github.com/hardikj/restbase-mod-table-sqlite

Feb 5 2015, 2:39 AM · SQLite, RESTBase

Jan 12 2015

Hardikj closed T75815: Investigate float test failures as Resolved.
Jan 12 2015, 8:27 PM · RESTBase-Cassandra
Hardikj closed T85574: Add coverage tracking for restbase-cassandra & improve coverage as Resolved.
Jan 12 2015, 8:26 PM · RESTBase-Cassandra
Hardikj closed T85640: Paging support as Resolved.
Jan 12 2015, 8:26 PM · RESTBase-release-1.0, RESTBase-API, RESTBase-Cassandra, RESTBase

Jan 5 2015

Hardikj added a comment to T85640: Paging support.

I just opened a pull request which currently handle most of the stuff https://github.com/wikimedia/restbase-cassandra/pull/52

Jan 5 2015, 9:07 PM · RESTBase-release-1.0, RESTBase-API, RESTBase-Cassandra, RESTBase
Hardikj added a comment to T85640: Paging support.

Basically, any request that has more results than provided in the first page (so with a limit higher than the page size) should have the next link

Jan 5 2015, 8:14 PM · RESTBase-release-1.0, RESTBase-API, RESTBase-Cassandra, RESTBase
Hardikj added a comment to T85640: Paging support.

just a found this comment in the test which suggest to use "from" in the GET request
https://github.com/wikimedia/restbase-cassandra/blob/master/test/index.js#L535

Jan 5 2015, 1:04 AM · RESTBase-release-1.0, RESTBase-API, RESTBase-Cassandra, RESTBase

Jan 4 2015

Hardikj added a comment to T85640: Paging support.

Another thing to decide on would be how would be initiate the paging request?

Jan 4 2015, 11:47 PM · RESTBase-release-1.0, RESTBase-API, RESTBase-Cassandra, RESTBase

Jan 3 2015

Hardikj claimed T85640: Paging support.
Jan 3 2015, 10:09 PM · RESTBase-release-1.0, RESTBase-API, RESTBase-Cassandra, RESTBase

Dec 31 2014

Hardikj added a comment to T78194: Public entry point for RESTBase.

big +1 to rest.wikimedia.org or rest.api.wikimedia.org

Dec 31 2014, 7:26 PM · SRE, Patch-For-Review, RESTBase-API, RESTBase

Dec 30 2014

Hardikj added a comment to T75815: Investigate float test failures.

float seems to be working fine now.
I just sent a pull request to enable float type in restbase-cassandra https://github.com/wikimedia/restbase-cassandra/pull/49#

Dec 30 2014, 3:35 PM · RESTBase-Cassandra

Dec 29 2014

Hardikj claimed T75815: Investigate float test failures.
Dec 29 2014, 6:50 PM · RESTBase-Cassandra
Hardikj added a comment to T75808: Schema compatibility checking / schema evolution / migration on table creation for table that already exists.

first pass on this is implemented here https://github.com/wikimedia/restbase-cassandra/pull/47

Dec 29 2014, 6:29 PM · Services, RESTBase-Cassandra

Dec 16 2014

Hardikj added a comment to T76734: Test against the HTTP interface.

All the tests except "simple delete query" now use HTTP interface.

Dec 16 2014, 11:08 PM · Services, RESTBase-Cassandra

Dec 15 2014

Hardikj closed T76885: Testing: Add offline test mode / config flag as Resolved.
Dec 15 2014, 10:09 PM · RESTBase
Hardikj added a comment to T76734: Test against the HTTP interface.

Implemented here https://github.com/wikimedia/restbase-cassandra/pull/31

Dec 15 2014, 7:44 PM · Services, RESTBase-Cassandra
Hardikj claimed T76734: Test against the HTTP interface.
Dec 15 2014, 7:44 PM · Services, RESTBase-Cassandra
Hardikj claimed T75808: Schema compatibility checking / schema evolution / migration on table creation for table that already exists.
Dec 15 2014, 7:39 PM · Services, RESTBase-Cassandra

Dec 12 2014

Hardikj added a comment to T76735: Test restarting restbase.

do we need to do more work on this or else I can mark this as resolved?

Dec 12 2014, 10:48 PM · RESTBase, RESTBase-Cassandra
Hardikj added a comment to T78410: Move Parsoid and RESTBase testing from Travis CI to our Jenkins.

+1, this would be really useful.

Dec 12 2014, 6:55 PM · Platform Team Legacy (Later), Parsoid-Tests, Parsoid, Continuous-Integration-Infrastructure, RESTBase

Dec 11 2014

Hardikj claimed T76885: Testing: Add offline test mode / config flag.
Dec 11 2014, 6:57 AM · RESTBase