Page MenuHomePhabricator

Expose Drydock blueprints via Conduit
ClosedPublic

Authored by yelirekim on Sep 24 2016, 7:00 AM.
Tags
None
Referenced Files
F14059707: D16593.id39944.diff
Sun, Nov 17, 9:09 PM
F14059705: D16593.id40217.diff
Sun, Nov 17, 9:09 PM
F14052763: D16593.diff
Fri, Nov 15, 10:42 AM
F14048449: D16593.diff
Thu, Nov 14, 7:47 AM
F14037965: D16593.diff
Sun, Nov 10, 8:30 PM
F14033965: D16593.id39944.diff
Sat, Nov 9, 9:04 PM
F14022689: D16593.diff
Wed, Nov 6, 6:44 PM
F14000457: D16593.id40217.diff
Thu, Oct 24, 9:55 PM
Subscribers

Details

Summary

This search engine ports cleanly to Conduit out of the box.

Ref T11694

Test Plan

called the API method from the console, browsed blueprints in the ui

Diff Detail

Repository
rP Phabricator
Branch
blueprint_search (branched from master)
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 13833
Build 17883: Run Core Tests
Build 17882: arc lint + arc unit

Event Timeline

yelirekim retitled this revision from to Expose Drydock blueprints via Conduit.
yelirekim updated this object.
yelirekim edited the test plan for this revision. (Show Details)
epriestley added a reviewer: epriestley.

Is class useful today? If not, maybe omit it?

If you do need it, I think we should give BlueprintImplementation classes a type constant and use that instead -- e.g., drydock.workingcopy instead of DrydockWorkingCopyBlueprintImplementation as the thing that clients deal with. In the past, we did more "just use the class name" stuff since it seemed like a waste of effort and like code duplication to define constants, but have generally moved away from that for several reasons:

  • class names are cumbersome identifiers for humans (moreso if/when we run into PHP namespaces);
  • in practice, we rename classes with some frequency (T5655), and when changes occur, remapping bare class names is super confusing but migrating them is a pain;
  • PhutilClassMapQuery introduced some tools to make using string identifiers easier.
This revision is now accepted and ready to land.Sep 26 2016, 1:44 PM
yelirekim edited edge metadata.

remove class from conduit fields

This revision was automatically updated to reflect the committed changes.