As far as CORS goes, I think you are right technically…. It’s it’s own thing. Maybe I think of it as part of API from the perspective that supporting CORS makes it easier to integrate with the API from other systems. Kind of like supporting Swagger etc…
> On Jul 14, 2022, at 11:35 AM, Houston Putman <hous...@apache.org> wrote: > > I have added some comments to the API spreadsheet, but really like the > direction. > > Thanks for putting all of this together, it couldn't have been easy! > > - Houston > > On Thu, Jul 14, 2022 at 7:00 AM Jason Gerlowski <gerlowsk...@gmail.com> > wrote: > >> Hey all, >> >> Wanted to give another "plug" to the spreadsheet of proposed v2 API >> changes, in case folks missed it the first time around. Please take a >> look and review whenever you get a chance! >> >> >> https://docs.google.com/spreadsheets/d/1HAoBBFPpSiT8mJmgNZKkZAPwfCfPvlc08m5jz3fQBpA/edit?usp=sharing >> >>> Love to see CORS support added >> >> I'm not a CORS expert, so maybe I'm misunderstanding it, but I always >> thought CORS was a security feature that was somewhat independent from >> an APIs shape/design? Do endpoints need to be designed "for" CORs in >> some way I'm missing? Just trying to understand if and how it'd >> dovetail with the v2 effort here. >> >> Best, >> >> Jason >> >> On Thu, Jul 7, 2022 at 8:20 AM Eric Pugh >> <ep...@opensourceconnections.com> wrote: >>> >>> Love to see CORS support added ;-) >>> >>> >>> On Jul 6, 2022, at 9:45 AM, Jason Gerlowski <gerlowsk...@gmail.com> >> wrote: >>> >>> [Jan] I think it is better for the project to evolve and fix this >>> >>> >>> Glad to hear it; sorry for the confusion if I misunderstood your >> concerns! >>> >>> Well in that case it sounds like there's general support for the idea >>> of broader changes to the v2 API, and no categorical objections >>> (albeit a few concerns about helping users upgrade, etc.) >>> >>> Of course, there'll need to be a good bit of discussion still around >>> what specific changes to make. REST and OpenAPI support are the two >>> things that've come up repeatedly in past discussions, so I've gone >>> ahead and put together a Google Sheet with first-drafts of the changes >>> each API would need if we go in that direction. I've attached the >>> sheet to SOLR-15871 ("Cosmetic and consistency improvements for the v2 >>> API") and linked it below. Hopefully that'll be a good way to >>> kickstart the discussion. >>> >>> >> https://docs.google.com/spreadsheets/d/1HAoBBFPpSiT8mJmgNZKkZAPwfCfPvlc08m5jz3fQBpA/edit?usp=sharing >>> >>> Thanks all for the feedback so far! >>> >>> Best, >>> >>> Jason >>> >>> On Tue, Jun 21, 2022 at 4:25 AM Jan Høydahl <jan....@cominvent.com> >> wrote: >>> >>> >>> I'd love to find a way to >>> address your concerns and still evolve v2 without backcompat, if we >>> can. >>> >>> >>> I just wanted to highlight that some users may be using v2 without >> realizing it was experimental due to the back-and-forth communication we >> have had on this. >>> Personally I think it is better for the project to evolve and fix this, >> even if that means we'll put extra migration effort on some v2 users in >> minor releases. We'd of course need to clearly mark such changes so it >> won't come as a surprise. >>> >>> Jan >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: dev-unsubscr...@solr.apache.org >>> For additional commands, e-mail: dev-h...@solr.apache.org >>> >>> >>> _______________________ >>> Eric Pugh | Founder & CEO | OpenSource Connections, LLC | 434.466.1467 | >> http://www.opensourceconnections.com | My Free/Busy >>> Co-Author: Apache Solr Enterprise Search Server, 3rd Ed >>> This e-mail and all contents, including attachments, is considered to be >> Company Confidential unless explicitly stated otherwise, regardless of >> whether attachments are marked as such. >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscr...@solr.apache.org >> For additional commands, e-mail: dev-h...@solr.apache.org >> >> _______________________ Eric Pugh | Founder & CEO | OpenSource Connections, LLC | 434.466.1467 | http://www.opensourceconnections.com <http://www.opensourceconnections.com/> | My Free/Busy <http://tinyurl.com/eric-cal> Co-Author: Apache Solr Enterprise Search Server, 3rd Ed <https://www.packtpub.com/big-data-and-business-intelligence/apache-solr-enterprise-search-server-third-edition-raw> This e-mail and all contents, including attachments, is considered to be Company Confidential unless explicitly stated otherwise, regardless of whether attachments are marked as such.