Find Jobs
Hire Freelancers

Convertir un repositorio Rest (@RepositoryRestResource) en Controller con capa de Servicio. Spring Boot 2 y Spring 5 para usar anotaciones JWT

$15000-125000 CLP

Ολοκληρώθηκε
Αναρτήθηκε περίπου 6 χρόνια πριν

$15000-125000 CLP

Πληρωμή κατά την παράδοση
What I need is to apply JWT annotations to the REST endpoint generated by Spring Boot with the @RepositoryRestResource annotation. As this annotation (@RepositoryRestResource.) Makes an incredible and huge magic, I can not place any annotation in any of the restpoint that creates me. Automatically for each Entity I create: POST, PUT, PATCH, GET necessary and also generates HATEOAS and HAL Browser. The issue is that I want to occupy JWT; and to occupy JWT what I need is to place annotations like @PreAuthorize ("hasRole ('ADMIN')") in each endpoint REST. The previous thing is impossible occupying the magic @RepositoryRestResource since the endpoints create them automatic. So, I accept 2 solutions, the first being the ideal one. 1) Each endpoint with @RepositoryRestResource can add the @PreAuthorize annotation or whatever is necessary. 2) Convert the project with the Controller, Services and Repository layers used Spring 5 and Spring Boot 2. Attach the project that is needed. This project does not have JWT added, it is not necessary and I do not want to confuse topics, I just need that annotations can be added to each generated endpoint. You must also comply with: * Containing HATEOAS * That contains the HAL Browser. In summary, everything that @RepositoryRestResource does is done through the controllers, services and repository package. I have the database. Whoever wins the project sent it to him to play. The database is in postgres and I have necessary data, I have documentation of the endpoints, etc. Note that an expert who knows the subject should be very clear. The project is created with Spring Eclipse and uses Maven, you can get it from a URL, since [login to view URL] does not allow me to place it or upload the JAR because it weighs a lot, I request to contact me. Thank you very much. =========================================== Lo que necesito es aplicar anotaciones JWT a los endpoint REST que me ha generado Spring Boot con la anotacion @RepositoryRestResource. Como esta anotacion (@RepositoryRestResource.) hace una magia increible y enorme, no puedo colocar ninguna anotación en ninguno de los endpoint rest que me crea. Automaticamente para cada Entity me crea: POST, PUT, PATCH,GET necesarios y además genera HATEOAS y HAL Browser. El tema es que quiero ocupar JWT; y para ocupar JWT lo que necesito es colocar anotaciones como @PreAuthorize("hasRole('ADMIN')") en cada endpoint REST. Lo anterior es imposible ocupando la magia @RepositoryRestResource ya que los endpoints los crea automaticos. Entonces, acepto 2 soluciones, siendo la primera la ideal. 1) Cada endpoint con @RepositoryRestResource le pueda agregar la anotación @PreAuthorize o la que sea necesaria. 2) Convertir el proyecto con las capas Controller, Services y Repository usado Spring 5 y Spring Boot 2. Adjunte el proyecto que se necesita. Este proyecto no tiene agregado el JWT, no es necesario y no quiero confundir temas, solo necesito que a cada endpoint generado se pueda agregar anotaciones. Tambien debe cumplir con: * Que contenga HATEOAS * Que contenga el HAL Browser. En resumen, que todo lo que hace @RepositoryRestResource se haga mediante package de controllers, services y repository. Tengo la base de datos. Quien se adjudique el proyecto se la envio para que juegue. La base de datos esta en postgres y tengo a data necesaria, tengo documentacion de los endpoints, etc. Notar que un experto que conozca del tema esto le debiera quedar muy claro. El proyecto esta creado con Spring Eclipse y utiliza Maven, lo pueden obtener desde una URL, dado que [login to view URL] no me permite colocarla ni tampoco subir el JAR porque pesa mucho, solicito me contacten. Muchas gracias.
Ταυτότητα εργασίας: 16753817

Σχετικά με την εργασία

2 προτάσεις
Απομακρυσμένη Εργασία
Ενεργός/ή 6 χρόνια πριν

Ψάχνεις τρόπο για να κερδίσεις μερικά χρήματα;

Πλεονεκτήματα πλειοδοσίας στο Freelancer

Καθόρισε τον προϋπολογισμό σου και το χρονοδιάγραμμα
Πληρώσου για τη δουλειά σου
Περίγραψε την πρόταση σου
Η εγγραφή και η πλειοδοσία σε εργασίες είναι δωρεάν
Βραβεύτηκε στον/στην:
Avatar Χρήστη
$77.777 CLP σε 3 ημέρες
4,6 (1 αξιολόγηση)
2,4
2,4

Σχετικά με τον πελάτη

Σημαία της CHILE
Las Condes, Chile
5,0
1
Επαληθευμένη μέθοδος πληρωμής
Μέλος από Ιαν 29, 2018

Επαλήθευση Πελάτη

Ευχαριστούμε! Σου έχουμε στείλει ένα email με ένα σύνδεσμο για να διεκδικήσεις τη δωρεάν πίστωση σου.
Κάτι πήγε στραβά κατά την προσπάθεια αποστολής του email σου. Παρακαλούμε δοκίμασε ξανά.
Εγγεγραμμένοι Χρήστες Συνολικές Αναρτημένες Δουλειές
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Φόρτωση προεπισκόπησης
Δόθηκε πρόσβαση για Geolocation.
Η σύνδεση σου έχει λήξει και τώρα έχεις αποσυνδεθεί. Παρακαλούμε συνδέσου ξανά.