Is Spring Data Elasticsearch supporting the reactive model? - project-reactor

I was consulting the documentation of Spring Data Elasticsearch store and I came across this line:
Refer to store-specific documentation for more details on reactive support.
Although I'm already in the elasticsearch store documentation, I didn't find any further information about reactive support. Where can I find further informations on this?

reactive support is available in the current master branch (which currerntly is milestone version 3.2.0 M4) and will be released as part of the Spring Data Moore release.
You find the documentation here

Related

How to remove ROLE_ prefix from Spring Security?

I have read many discussions, even on this forum, and I have found many suggestions but I have not found valid code.
I use Spring Boot 2.5.1 and Java 11 but I want to keep my application up to date. I need a code that is possibly valid also in the future.
Is there official Spring support?

Application integration with JIRA using API

I'm working on POC for integrating JIRA board / issue / story into my application.
Front-end is Angular and back-end uses JAVA (Spring MVC). JIRA is hosted on-premise.
I was searching in the JIRA developer page, but it is bit confusing which to use.
I want to know about following things usage.
JIRA Java Rest client
JIRA Agile Rest API
JIRA Maven dependency
Kindly help me understand the JIRA library.
If you ask me to choose between JIRA Java Rest Client (JRJC), I don't see many updates on that section and if you find any issues then you might have to spend time in finding alternative ways to resolve that problem.
If you look at JIRA Agile REST APIs, these should be the best of the possible options that one can opt for amongst the available options (the same that you've listed in your own question). If you choose to opt JIRA REST APIs over the other options, then any issue that you face might be handled either by the JIRA Atlassian Documentation or the Atlassian Developer community (who are always ready to provide solutions to the best of their knowledge).
EDIT-1:
JIRA REST Java Client:
Resources:
Community question explaining the usage
Working JRJC pom.xml
Working JRJC client
JIRA REST APIs:
Resources:
Atlassian Documentation with examples on using JIRA REST APIs
JIRA Maven Dependency:
Resources:
Atlassian Community question answering JRJC Maven dependency
What dependency do we need to add for JIRA Maven integration?
Hope this helps in making your own decisions. If you need further assistance, please do let me know!

Swagger With Spring-Data-Rest

Has anyone configured swagger with spring-data-rest. I know swagger has DocumentationConfig class which scans for all spring-mvc request mappings. But, how to use that for spring-data-rest as there are no explicit request mappings defined. Any help in this regard is greatly appreciated. Also, like to know, if there are any other documentation framework which supports Spring-Data-Rest.
In version greater than 2.6.0 of SpringFox, support for spring data rest was added (but it's still in incubation). In order to add support for Spring Data Rest, you need to include the dependency below:
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-data-rest</artifactId>
<version>2.6.1</version>
</dependency>
This has been lingering out there a while, but as others have mentioned, there are (still) no Swagger implementations that support Spring Data Rest. However, Spring Data Rest does follow the HAL specification, and the HAL Browser integrated really seamlessly with any SDR project. Coupled together with the newer versions of SDR that expose ALPS metadata, this should be very sufficient for your documentation goals.
Answer for your second question:
AsciiDoctor combined with Spring REST Docs/RestAssured can be neat way of documenting SDR endpoints. It does require a bit of manual effort though, as the only automated part will be the creation of snippets. These can then be loaded into your AsciiDoc files.

Sentry Rails Client

per the Sentry documentation:
...Sentry is not limited to Python. The primary implementation is in Python, but it contains a full API for sending events from any language, in any application.
There is a gem called 'sentry' however it is a encryption library having to with OpenSSH and totally unrelated.
Is there a Rails Client for hooking to Sentry already or some other comparable technology out there which can be used with Rails?
If not, +1 for a Rails Sentry Client
As I write this (last updated May 2015), the Sentry docs list clients for Java, JavaScript, Node.js, PHP, Python, and Ruby.
It is a bit hidden, but in the hosted version (dont know if its in the open source version too) you can find information about Ruby and RoR integration on this page:
https://app.getsentry.com/account/projects/PROJEKCT-SLUG/docs/
So it looks like they have Ruby support, but dont tell us on there webpage.
EDIT: I found this: https://github.com/coderanger/raven-ruby
When logged in, there is a reference to https://github.com/coderanger/raven-ruby in the docs.

grails facebook registration/login

I have a Grails app that uses the Spring Security plugin for authorisation/authentication. I would like to also offer users the ability to register/login via Facebook. I need to integrate Facebook login/registration with the Spring Security plugin, such that (for example) if I call
springSecurityService.getCurrentUser()
it will return a user object for the current user regardless of whether that user logged-in with Facebook.
I've found a variety of plugins and blog-posts that propose a solution, but I'm not sure which (if any) will work with the most recent version of Grails (2.0.0.RC1) and the Spring Security plugin.
Can anyone recommend which of these plugins/procedures I should try or should I just work with the Facebook API directly? I read somewhere that using a plugin may be inadvisable, because the Facebook API changes frequently (and there will inevitable be a gap between the time Facebook make these changes and when a compatible version of the plugin is released).
Actually I can't be unbiased there, because I'm the author of http://grails.org/plugin/spring-security-facebook
Btw, can say that this plugin is compatible with Grails 2.0RC1. And i've an grails 2.0 project using this plugins.
PS I you have any questions or found a bug - you can contact me directly
As the author of the "blog-posts" you linked above, I'll say that my guide was done using a Grails 2.0 milestone release and should work with the latest release of Grails and Spring Security.
The spring-security-facebook plugin worked when I tried it last and probably (now) has the latest OAuth2.0 fixes in place, but at the time of the writing for my post, those changes were still in progress.
The choice between using the plugin and not using the plugin is really a balancing act between convenience and control. While Facebook's API changes will probably slow down as the platform matures, which should give people more confidence in the plugin, there will always be inherent risks when adding these additional layers of abstraction.
For me, I found the implementation of Facebook and Spring Security relatively trivial and prefer the extra control knowing that if/when the Facebook API changes, I or one of my developers can go and address the change without having to rely on a third-party, plugin support team has time to fix my issues.

Resources