Skip to content

Commit

Permalink
#30669 rename package
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinogiardino committed Nov 22, 2024
1 parent 5df1df3 commit fb10066
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.dotcms.rest.api.v1.contentImport;
package com.dotcms.rest.api.v1.content._import;

import com.dotcms.repackage.javax.validation.constraints.NotNull;
import com.dotcms.rest.api.Validated;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.dotcms.rest.api.v1.contentImport;
package com.dotcms.rest.api.v1.content._import;

import com.dotcms.jobs.business.api.JobQueueManagerAPI;
import com.dotcms.rest.api.v1.JobQueueManagerHelper;
Expand Down Expand Up @@ -106,7 +106,7 @@ public String createJob(
*/
private Map<String, Object> createJobParameters(
final String command,
final com.dotcms.rest.api.v1.contentImport.ContentImportParams params,
final ContentImportParams params,
final User user,
final HttpServletRequest request) throws JsonProcessingException {

Expand Down Expand Up @@ -135,7 +135,7 @@ private Map<String, Object> createJobParameters(
* @throws JsonProcessingException If there is an error processing JSON data.
*/
private void addOptionalParameters(
final com.dotcms.rest.api.v1.contentImport.ContentImportParams params,
final ContentImportParams params,
final Map<String, Object> jobParameters) throws JsonProcessingException {

final ContentImportForm form = params.getForm();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.dotcms.rest.api.v1.contentImport;
package com.dotcms.rest.api.v1.content._import;

import com.dotcms.repackage.javax.validation.ValidationException;
import com.dotcms.repackage.javax.validation.constraints.NotNull;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.dotcms.rest.api.v1.contentImport;
package com.dotcms.rest.api.v1.content._import;

import com.dotcms.jobs.business.error.JobValidationException;
import com.dotcms.rest.ResponseEntityView;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.dotcms.rest.api.v1.content.upload;
package com.dotcms.rest.api.v1.content._import;

import static org.junit.jupiter.api.Assertions.*;
import static org.mockito.Mockito.mock;
Expand All @@ -15,10 +15,6 @@
import com.dotcms.mock.response.MockHttpResponse;
import com.dotcms.rest.ResponseEntityView;
import com.dotcms.rest.api.v1.JobQueueManagerHelper;
import com.dotcms.rest.api.v1.contentImport.ContentImportForm;
import com.dotcms.rest.api.v1.contentImport.ContentImportHelper;
import com.dotcms.rest.api.v1.contentImport.ContentImportParams;
import com.dotcms.rest.api.v1.contentImport.ContentImportResource;
import com.dotcms.rest.exception.ValidationException;
import com.dotcms.util.IntegrationTestInitService;
import com.dotmarketing.beans.Host;
Expand Down Expand Up @@ -50,7 +46,7 @@
@ApplicationScoped
@EnableWeld
@RunWith(JUnit4WeldRunner.class)
public class ContentUploadResourceIntegrationTest extends Junit5WeldBaseTest {
public class ContentImportResourceIntegrationTest extends Junit5WeldBaseTest {

private static User adminUser;
private static HttpServletRequest request;
Expand Down

0 comments on commit fb10066

Please sign in to comment.