Skip to content

Convert from WCF OData to Web API OData#2583

Closed
maartenba wants to merge 38 commits intodevfrom
issue-2557
Closed

Convert from WCF OData to Web API OData#2583
maartenba wants to merge 38 commits intodevfrom
issue-2557

Conversation

@maartenba
Copy link
Copy Markdown
Contributor

This PR fixes #2557.

  • V1, V2 and V2 curated feeds converted from WCF OData to Web API OData
  • WCF OData feeds removed
  • Caching on common search queries
  • Batching

@xavierdecoster @yishaigalatzer @bhuvak @johnataylor Feel free to checkout this branch and perform some testing on the OData endpoints. Any bug / issue you find is very welcome!

@maartenba maartenba self-assigned this Jul 13, 2015
@maartenba maartenba added this to the S4 milestone Jul 13, 2015
Comment thread src/NuGetGallery.Operations/app.config Outdated
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

format the document

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed with fe773ae

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this a onetime call that is being cached?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a one-time call at application startup.

@maartenba
Copy link
Copy Markdown
Contributor Author

Think it's done. @xavierdecoster @yishaigalatzer @bhuvak @johnataylor feel free to checkout this branch and perform some testing on the OData endpoints. If okay I'll merge it in and deploy whenever we feel like it.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Shouldn't m.MediaType == "application/atomsvc+xml" comparison be also case insensitive? (same as the comparison for StartsWith)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, good catch!

* Remove null propagation interceptor as OData FX takes care of it
* Rewrite SearchAdaptor.GetNextLink invocation to ensure results are not
executed twice
* Searches that are deflected to the database are now handled by OData
framework - no need for manual intervention in these cases
@maartenba maartenba self-assigned this Oct 9, 2015
@maartenba maartenba mentioned this pull request Oct 28, 2015
4 tasks
@maartenba
Copy link
Copy Markdown
Contributor Author

Superseded by #2848 - keeping the branch open for a bit though.

@maartenba maartenba closed this Jan 6, 2016
@maartenba maartenba mentioned this pull request Jan 14, 2016
6 tasks
@maartenba maartenba mentioned this pull request Feb 3, 2016
5 tasks
@maartenba maartenba deleted the issue-2557 branch February 3, 2016 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants