DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Zones

Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

Curious about the future of data-driven systems? Join our Data Engineering roundtable and learn how to build scalable data platforms.

Data Engineering: The industry has come a long way from organizing unstructured data to adopting today's modern data pipelines. See how.

Threat Detection: Learn core practices for managing security risks and vulnerabilities in your organization — don't regret those threats!

Managing API integrations: Assess your use case and needs — plus learn patterns for the design, build, and maintenance of your integrations.

Avatar

Jesus J. Puente

analist at gfi

Logroño, ES

Joined Oct 2018

http://www.profesor-p.com

Stats

Reputation: 568
Pageviews: 996.8K
Articles: 10
Comments: 15
  • Articles
  • Comments

Articles

article thumbnail
Reactive Programming in Java: Using the WebClient Class
WebClient is the equivalent of the RestTemplate class — except it works with asynchronous requests.
August 28, 2019
· 60,493 Views · 8 Likes
article thumbnail
Working With Filters in Spring
Check out this post to learn more about working with filters in Spring.
Updated June 24, 2019
· 118,776 Views · 6 Likes
article thumbnail
Using Cache in Spring Boot
In this article, we explore the uses of cache in Spring Boot and look at how cache works as a function of memory.
June 3, 2019
· 60,248 Views · 9 Likes
article thumbnail
Optimizing Relationships Between Entities in Hibernate
See how to optimize relationships between entities in Hibernate.
April 22, 2019
· 11,625 Views · 4 Likes
article thumbnail
Redirecting HTTP Requests With Zuul in Spring Boot
In this post, we take a look at how to use Zuul and Spring Boot in microservices applications in order to redirect HTTP requests.
March 27, 2019
· 86,375 Views · 13 Likes
article thumbnail
Customize Query in Runtime With JPA
Learn more about how you can customize a query at runtime with JPA.
February 26, 2019
· 20,685 Views · 3 Likes
article thumbnail
Creating Microservices With Spring and Eureka
Learn how to create distributed microservices, and make these microservices work together using Spring Boot, Feign, and a Eureka server.
January 8, 2019
· 85,335 Views · 18 Likes
article thumbnail
How to Use the Spring Config Server
Learn more about how to create remote configurations in your applications.
December 21, 2018
· 171,822 Views · 27 Likes
article thumbnail
Customize HTTP Error Responses in Spring Boot
Learn more about customizing error responses in Spring Boot.
November 30, 2018
· 151,127 Views · 18 Likes
article thumbnail
Securing REST Services With OAuth2 in Spring Boot
Want to learn more about securing REST services? Check out this tutorial on how to secure REST with OAuth2 and Spring Boot.
October 23, 2018
· 178,374 Views · 20 Likes

Comments

Reactive Programming in Java: Using the WebClient Class

Sep 05, 2019 · Jesus J. Puente

Yes.There was a problem with dns direcctions. Thanks for you feedbak.

How to Use the Spring Config Server

Jul 16, 2019 · Jesus J. Puente

Hello,

The uri should always be finished in ".git". When you clone a repository, with the git command you do not need to end the URL with ".git", but think that the server can be local and be in / opt / my_repository / servercloudconfig.git


Securing REST Services With OAuth2 in Spring Boot

Jun 17, 2019 · Jesus J. Puente

Ok. Thanks a lot. Anyway, Which version is you talking about?

Securing REST Services With OAuth2 in Spring Boot

Jun 17, 2019 · Jesus J. Puente

Ok. Thanks a lot. Anyway, Which version is you talking about?

Spring Boot Security + JWT ''Hello World'' Example

Jun 01, 2019 · Rida Shaikh

Excelent post :-) Great Job

How to Use the Spring Config Server

May 31, 2019 · Jesus J. Puente

No, you don't.

You must only restart your client.

How to Use the Spring Config Server

May 30, 2019 · Jesus J. Puente

Hello.

I think that one solution would be to use profiles.

You could made Configuration class an interface and then create clasess like this

@Data
@Component
@ConfigurationProperties("limit_production")
@Profile("production")
public class ConfigurationImpl implements Configuration {
private int minimum;
private int maximum;
}

@Data
@Component
@ConfigurationProperties("limit_developer")
@Profile("developer")
public class ConfigurationImpl implements Configuration{
private int minimum;
private int maximum;
}

In your git files you must put some like this:

limit_developer.minimum=-10
limit_developer.maximum=20
limit_production.minimum=-1
limit_production.maximum=2

And in your Configuration class you will have the correct values.


Regards,

Jesús



Securing REST Services With OAuth2 in Spring Boot

May 30, 2019 · Jesus J. Puente

I'm sorry but i have never worked with Axios . Anyway I recomend you to try Postman. It's great.

Securing REST Services With OAuth2 in Spring Boot

May 17, 2019 · Jesus J. Puente

The token is kept in memory in the TokenStore object (see AuthorizationServerConfigurerAdapter class)

Authorization Server creates it when you call to http://localhost:8080/oauth/token and the Resource Server validate it when you make the following calls to http://localhost:8080/private for example.

Redirecting HTTP Requests With Zuul in Spring Boot

Mar 28, 2019 · Jesus J. Puente

Yes, I know. But Spring made a great job of integration and now it is easier to work with it.

Netflix Zuul is open source and Spring have its own fork and it's part of the familiy Spring Cloud NetFlix

Redirecting HTTP Requests With Zuul in Spring Boot

Mar 28, 2019 · Jesus J. Puente

Because Spring Cloud Gateway works only in Spring Boot 2.0 and there are still legacy programs ;-) But if you can, you must use Spring Cloud Gateway or Zuul 2.0.

Creating Microservices With Spring and Eureka

Jan 08, 2019 · Jesus J. Puente

Yes, you're right. But Ribbon is a client-side load balancing, Kubernetes is not. Anyway, I would use Ribbon only for small projects.

How to Use the Spring Config Server

Dec 29, 2018 · Jesus J. Puente

Yes. I agree. Take note. Thanks for you comment

Customize HTTP Error Responses in Spring Boot

Dec 02, 2018 · Jesus J. Puente

Ok. Thank you very much. I change it in GitHub ;-)




Customize HTTP Error Responses in Spring Boot

Dec 01, 2018 · Jesus J. Puente

Thanks

User has been successfully modified

Failed to modify user

ABOUT US

  • About DZone
  • Support and feedback
  • Community research
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 100
  • Nashville, TN 37211
  • support@dzone.com

Let's be friends: