Skip to content

Commit

Permalink
#882 Create a shared project
Browse files Browse the repository at this point in the history
  • Loading branch information
nashtech-huyphamphu committed Sep 17, 2024
1 parent 5f827be commit cf73e4b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cart/src/main/java/com/yas/cart/config/SwaggerConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
flows = @OAuthFlows(authorizationCode = @OAuthFlow(
authorizationUrl = "${springdoc.oauthflow.authorization-url}",
tokenUrl = "${springdoc.oauthflow.token-url}", scopes = {
@OAuthScope(name = "openid", description = "openid")})))
@OAuthScope(name = "openid", description = "openid")})))
public class SwaggerConfig {
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ public final class MessageCode {
public static final String WAREHOUSE_NOT_FOUND = "WAREHOUSE_NOT_FOUND";
public static final String PRODUCT_NOT_FOUND = "PRODUCT_NOT_FOUND";
public static final String NAME_ALREADY_EXITED = "NAME_ALREADY_EXITED";

private MessageCode() {
//Add constructor
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
public final class PageableConstant {
public static final String DEFAULT_PAGE_SIZE = "10";
public static final String DEFAULT_PAGE_NUMBER = "0";

private PageableConstant() {
//Add constructor
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package com.yas.customer.service;

import com.yas.commonlibrary.exception.NotFoundException;
import com.yas.customer.config.KeycloakPropsConfig;
import com.yas.commonlibrary.exception.AccessDeniedException;
import com.yas.commonlibrary.exception.NotFoundException;
import com.yas.commonlibrary.exception.WrongEmailFormatException;
import com.yas.customer.config.KeycloakPropsConfig;
import com.yas.customer.utils.Constants;
import com.yas.customer.viewmodel.customer.CustomerAdminVm;
import com.yas.customer.viewmodel.customer.CustomerListVm;
Expand Down

0 comments on commit cf73e4b

Please sign in to comment.