Skip to content

Commit

Permalink
Merge pull request #80 from Financial-Times/organisations
Browse files Browse the repository at this point in the history
Add organisations to the metrics
  • Loading branch information
matthew-andrews committed Apr 2, 2015
2 parents c28ded1 + 6a0dd85 commit 225ec7d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ var serviceMatchers = {
'capi-v2-article': /^https?:\/\/api\.ft\.com\/content\/[\w\-]+/,
'capi-v2-enriched-article': /^https?:\/\/api\.ft\.com\/enrichedcontent\/[\w\-]+/,
'capi-v2-thing': /^https?:\/\/api\.ft\.com\/things\/[\w\-]+/,
'capi-v2-organisation': /^https?:\/\/api\.ft\.com\/organisations\/[\w\-]+/,
'capi-v2-content-by-concept': /^https?:\/\/api\.ft\.com\/content\?isAnnotatedBy=http:\/\/api\.ft\.com\/things\/[\w\-]+/,
// fastft
fastft: /https?:\/\/clamo\.ftdata\.co\.uk\/api/
Expand Down
1 change: 1 addition & 0 deletions test/app.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ describe('simple app', function() {
'capi-v2-article': 'http://api.ft.com/content/1234-abcd',
'capi-v2-enriched-article': 'http://api.ft.com/enrichedcontent/1234-abcd',
'capi-v2-thing': 'http://api.ft.com/things/1234-abcd',
'capi-v2-organisation': 'http://api.ft.com/organisations/1234-abcd',
'capi-v2-content-by-concept': 'http://api.ft.com/content?isAnnotatedBy=http://api.ft.com/things/1234-abcd',
'hello': 'http://world.com'
};
Expand Down

0 comments on commit 225ec7d

Please sign in to comment.