Skip to content

Commit

Permalink
feat: removes unnecessay @Autowired
Browse files Browse the repository at this point in the history
  • Loading branch information
rajadilipkolli committed Nov 16, 2023
1 parent 532895f commit 683c911
Show file tree
Hide file tree
Showing 11 changed files with 223 additions and 20 deletions.
221 changes: 221 additions & 0 deletions META-INF/api-manifest.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,221 @@
GET /api/customers
GET /api/customers/{id}
POST /api/customers
PUT /api/customers/{id}
DELETE /api/customers/{id}
GET /run-allCustomers-job
GET /api/clients
GET /api/clients/{id}
POST /api/clients
PUT /api/clients/{id}
DELETE /api/clients/{id}
GET /api/customers
GET /api/customers/{id}
POST /api/customers
PUT /api/customers/{id}
DELETE /api/customers/{id}
GET /api/restaurant
GET /api/restaurant/name/{restaurantName}
GET /api/restaurant/{restaurantId}
POST /api/restaurant/{restaurantId}/grade
GET /api/restaurant/total
PUT /api/restaurant/{restaurantId}/grades/
POST /api/restaurant
GET /search/borough
GET /search/multi
GET /search/term/borough
GET /search/terms
GET /search/must/bool
GET /search/should/bool
GET /search/wildcard/borough
GET /search/regexp/borough
GET /search/simple
GET /search/restaurant/range
GET /search/date/range
GET /search/aggregate
GET /search/restaurant/withInRange
GET /api/restaurants
GET /api/restaurants/{id}
POST /api/restaurants
PUT /api/restaurants/{id}
DELETE /api/restaurants/{id}
GET /search/borough
GET /search/multi
GET /search/term/borough
GET /search/terms
GET /search/must/bool
GET /search/should/bool
GET /search/wildcard/borough
GET /search/regexp/borough
GET /search/simple
GET /search/restaurant/range
GET /search/date/range
GET /search/aggregate
GET /search/restaurant/withInRange
POST /sendMsg
GET /api/users
GET /api/users/{id}
POST /api/users
PUT /api/users/{id}
DELETE /api/users/{id}
GET /api/customers
GET /api/customers/{id}
POST /api/customers
PUT /api/customers/{id}
DELETE /api/customers/{id}
GET /api/posts/comments
GET /api/posts/comments/{id}
POST /api/posts/comments
PUT /api/posts/comments/{id}
DELETE /api/posts/comments/{id}
GET /api/posts
GET /api/posts/{id}
POST /api/posts
PUT /api/posts/{id}
DELETE /api/posts/{id}
GET /api/tags
GET /api/tags/{id}
POST /api/tags
PUT /api/tags/{id}
DELETE /api/tags/{id}
GET /api/authors
GET /api/authors/{id}
POST /api/authors
PUT /api/authors/{id}
DELETE /api/authors/{id}
GET /api/postcomments
GET /api/postcomments/{id}
POST /api/postcomments
PUT /api/postcomments/{id}
DELETE /api/postcomments/{id}
GET /api/posts
GET /api/posts/{id}
POST /api/posts
PUT /api/posts/{id}
DELETE /api/posts/{id}
GET /api/postdetails
GET /api/postdetails/{id}
PUT /api/postdetails/{id}
GET /api/tags
GET /api/tags/{id}
POST /api/tags
PUT /api/tags/{id}
DELETE /api/tags/{id}
GET /api/posts
GET /api/posts/{id}
POST /api/posts
PUT /api/posts/{id}
DELETE /api/posts/{id}
GET /api/posts
GET /api/posts/{id}
POST /api/posts
PUT /api/posts/{id}
DELETE /api/posts/{id}
GET /api/posts
GET /api/posts/{id}
POST /api/posts
PUT /api/posts/{id}
DELETE /api/posts/{id}
GET /api/posts
GET /api/posts/{id}
POST /api/posts
PUT /api/posts/{id}
DELETE /api/posts/{id}
GET /api/posts
GET /api/posts/{id}
POST /api/posts
PUT /api/posts/{id}
DELETE /api/posts/{id}
GET /api/customers
GET /api/customers/{id}
POST /api/customers
PUT /api/customers/{id}
DELETE /api/customers/{id}
GET /api/orders
GET /api/orders/{id}
POST /api/orders
PUT /api/orders/{id}
DELETE /api/orders/{id}
GET /api/customers
GET /api/customers/{id}
GET /api/customers/{id}/revisions
POST /api/customers
PUT /api/customers/{id}
DELETE /api/customers/{id}
GET /api/actors
POST /api/actors/search
GET /api/actors/{id}
POST /api/actors
PUT /api/actors/{id}
DELETE /api/actors/{id}
GET /details/{memberId}
GET /api/customers
GET /api/customers/{id}
GET /api/customers/search
POST /api/customers
PUT /api/customers/{id}
DELETE /api/customers/{id}
GET /api/orders
GET /api/orders/{id}
POST /api/orders
PUT /api/orders/{id}
DELETE /api/orders/{id}
GET /api/order/items
GET /api/order/items/{id}
POST /api/order/items
PUT /api/order/items/{id}
DELETE /api/order/items/{id}
GET /api/actors
GET /api/actors/{id}
POST /api/actors
PUT /api/actors/{id}
DELETE /api/actors/{id}
GET /api/movies
GET /api/movies/{id}
POST /api/movies
PUT /api/movies/{id}
DELETE /api/movies/{id}
GET /articles/{id}
POST /articles/
GET /api/customers/primary
GET /api/customers/primary/{id}
POST /api/customers/primary
PUT /api/customers/primary/{id}
DELETE /api/customers/primary/{id}
GET /api/customers/secondary
GET /api/customers/secondary/{id}
POST /api/customers/secondary
PUT /api/customers/secondary/{id}
DELETE /api/customers/secondary/{id}
GET /api/customers
GET /api/customers/{id}
POST /api/customers
PUT /api/customers/{id}
DELETE /api/customers/{id}
GET /api/customers
GET /api/customers/{id}
POST /api/customers
PUT /api/customers/{id}
DELETE /api/customers/{id}
GET /api/customers
GET /api/customers/{id}
POST /api/customers
PUT /api/customers/{id}
DELETE /api/customers/{id}
GET /api/posts/comments/
GET /api/posts/comments/{id}
POST /api/posts/comments/
PUT /api/posts/comments/{id}
DELETE /api/posts/comments/{id}
GET /api/posts/
GET /api/posts/{id}
GET /api/posts/{postId}/comments
POST /api/posts/
PUT /api/posts/{id}
DELETE /api/posts/{id}
GET /index
GET /api
GET /api/statuses
POST /api/saveOrUpdate
POST /api/pauseJob
DELETE /api/deleteJob
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import com.example.choasmonkey.repositories.CustomerRepository;
import java.util.List;
import java.util.Optional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;
import org.springframework.data.domain.Pageable;
Expand All @@ -19,7 +18,6 @@ public class CustomerService {

private final CustomerRepository customerRepository;

@Autowired
public CustomerService(CustomerRepository customerRepository) {
this.customerRepository = customerRepository;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import com.example.opensearch.model.response.PagedResult;
import com.example.opensearch.repositories.RestaurantRepository;
import java.util.Optional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;
import org.springframework.data.domain.Pageable;
Expand All @@ -18,7 +17,6 @@ public class RestaurantService {

private final RestaurantRepository restaurantRepository;

@Autowired
public RestaurantService(RestaurantRepository restaurantRepository) {
this.restaurantRepository = restaurantRepository;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import com.example.opensearch.model.response.PagedResult;
import com.example.opensearch.services.RestaurantService;
import com.example.opensearch.utils.AppConstants;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.validation.annotation.Validated;
Expand All @@ -26,7 +25,6 @@ public class RestaurantController {

private final RestaurantService restaurantService;

@Autowired
public RestaurantController(RestaurantService restaurantService) {
this.restaurantService = restaurantService;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import com.example.custom.sequence.utils.AppConstants;
import com.example.custom.sequence.web.api.CustomerAPI;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.validation.annotation.Validated;
Expand All @@ -29,7 +28,6 @@ public class CustomerController implements CustomerAPI {

private final CustomerService customerService;

@Autowired
public CustomerController(CustomerService customerService) {
this.customerService = customerService;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import com.example.custom.sequence.services.OrderService;
import com.example.custom.sequence.utils.AppConstants;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.validation.annotation.Validated;
Expand All @@ -28,7 +27,6 @@ public class OrderController {

private final OrderService orderService;

@Autowired
public OrderController(OrderService orderService) {
this.orderService = orderService;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import com.example.multitenancy.primary.repositories.PrimaryCustomerRepository;
import java.util.List;
import java.util.Optional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

Expand All @@ -14,7 +13,6 @@ public class PrimaryCustomerService {

private final PrimaryCustomerRepository primaryCustomerRepository;

@Autowired
public PrimaryCustomerService(PrimaryCustomerRepository primaryCustomerRepository) {
this.primaryCustomerRepository = primaryCustomerRepository;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import com.example.multitenancy.secondary.repositories.SecondaryCustomerRepository;
import java.util.List;
import java.util.Optional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

Expand All @@ -14,7 +13,6 @@ public class SecondaryCustomerService {

private final SecondaryCustomerRepository secondaryCustomerRepository;

@Autowired
public SecondaryCustomerService(SecondaryCustomerRepository secondaryCustomerRepository) {
this.secondaryCustomerRepository = secondaryCustomerRepository;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import com.example.multitenancy.db.repositories.CustomerRepository;
import java.util.List;
import java.util.Optional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

Expand All @@ -14,7 +13,6 @@ public class CustomerService {

private final CustomerRepository customerRepository;

@Autowired
public CustomerService(CustomerRepository customerRepository) {
this.customerRepository = customerRepository;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import com.example.multitenancy.db.utils.AppConstants;
import java.util.List;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.validation.annotation.Validated;
Expand All @@ -27,7 +26,6 @@ public class CustomerController {

private final CustomerService customerService;

@Autowired
public CustomerController(CustomerService customerService) {
this.customerService = customerService;
}
Expand Down
4 changes: 2 additions & 2 deletions r2dbc/boot-jooq-r2dbc-sample/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@
</execution>
</executions>
</plugin>
<plugin>
<!-- <plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
Expand All @@ -269,7 +269,7 @@
</configuration>
</execution>
</executions>
</plugin>
</plugin> -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
Expand Down

0 comments on commit 683c911

Please sign in to comment.