Skip to content

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
masoudarvishian committed May 10, 2024
1 parent 84f0118 commit 6350dae
Show file tree
Hide file tree
Showing 15 changed files with 21 additions and 21 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.zenjob.challenge.rest.config;
package com.zenjob.challenge.application.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.zenjob.challenge.rest.config;
package com.zenjob.challenge.application.config;

import io.micrometer.core.aop.TimedAspect;
import io.micrometer.core.instrument.MeterRegistry;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package com.zenjob.challenge.rest.controller;
package com.zenjob.challenge.rest_api.controller;

import com.zenjob.challenge.rest.dto.job.CancelJobRequestDto;
import com.zenjob.challenge.rest.dto.job.RequestJobRequestDto;
import com.zenjob.challenge.rest.dto.job.RequestJobResponseDto;
import com.zenjob.challenge.rest.dto.ResponseDto;
import com.zenjob.challenge.rest_api.dto.job.CancelJobRequestDto;
import com.zenjob.challenge.rest_api.dto.job.RequestJobRequestDto;
import com.zenjob.challenge.rest_api.dto.job.RequestJobResponseDto;
import com.zenjob.challenge.rest_api.dto.ResponseDto;
import com.zenjob.challenge.domain.entity.Job;
import com.zenjob.challenge.application.interfaces.JobService;
import javassist.NotFoundException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.zenjob.challenge.rest.controller;
package com.zenjob.challenge.rest_api.controller;

import com.zenjob.challenge.application.interfaces.ShiftService;
import com.zenjob.challenge.rest.dto.ResponseDto;
import com.zenjob.challenge.rest.dto.shift.*;
import com.zenjob.challenge.rest_api.dto.ResponseDto;
import com.zenjob.challenge.rest_api.dto.shift.*;
import javassist.NotFoundException;
import lombok.RequiredArgsConstructor;
import org.springframework.http.HttpStatus;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.zenjob.challenge.rest.dto;
package com.zenjob.challenge.rest_api.dto;

import lombok.Builder;
import lombok.Data;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.zenjob.challenge.rest.dto.job;
package com.zenjob.challenge.rest_api.dto.job;

import lombok.Data;
import lombok.NoArgsConstructor;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.zenjob.challenge.rest.dto.job;
package com.zenjob.challenge.rest_api.dto.job;

import lombok.AllArgsConstructor;
import lombok.Data;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.zenjob.challenge.rest.dto.job;
package com.zenjob.challenge.rest_api.dto.job;

import lombok.Builder;
import lombok.Data;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.zenjob.challenge.rest.dto.shift;
package com.zenjob.challenge.rest_api.dto.shift;

import lombok.Data;
import lombok.NoArgsConstructor;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.zenjob.challenge.rest.dto.shift;
package com.zenjob.challenge.rest_api.dto.shift;

import lombok.Data;
import lombok.NoArgsConstructor;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.zenjob.challenge.rest.dto.shift;
package com.zenjob.challenge.rest_api.dto.shift;

import lombok.Data;
import lombok.NoArgsConstructor;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.zenjob.challenge.rest.dto.shift;
package com.zenjob.challenge.rest_api.dto.shift;

import lombok.Builder;
import lombok.Data;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.zenjob.challenge.rest.dto.shift;
package com.zenjob.challenge.rest_api.dto.shift;

import lombok.Builder;
import lombok.Data;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.zenjob.challenge.rest.exceptionhandler;
package com.zenjob.challenge.rest_api.exceptionhandler;

import lombok.*;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.zenjob.challenge.rest.exceptionhandler;
package com.zenjob.challenge.rest_api.exceptionhandler;

import com.zenjob.challenge.domain.exceptions.InvalidActionException;
import com.zenjob.challenge.domain.exceptions.InvalidEndDateException;
Expand Down

0 comments on commit 6350dae

Please sign in to comment.