Skip to content

Commit 07e354b

Browse files
committed
Refactor de tooodo lo de tripo y ajustes de marca y prenda.
1 parent f840e5f commit 07e354b

File tree

120 files changed

+995
-447
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

120 files changed

+995
-447
lines changed

src/main/java/com/outfitlab/project/ProjectApplication.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
66

77
@SpringBootApplication
8-
@EnableJpaRepositories(basePackages = "com.outfitlab.project.domain.repositories")
8+
@EnableJpaRepositories(basePackages = "com.outfitlab.project.infrastructure.repositories.interfaces")
99
public class ProjectApplication {
1010

1111
public static void main(String[] args) {
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
package com.outfitlab.project.domain.exceptions;
2+
3+
public class ErroBytesException extends Throwable {
4+
public ErroBytesException(String s) {
5+
super(s);
6+
}
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
package com.outfitlab.project.domain.exceptions;
2+
3+
public class ErrorGenerateGlbException extends Throwable {
4+
public ErrorGenerateGlbException(String msj) {
5+
super(msj);
6+
}
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
package com.outfitlab.project.domain.exceptions;
2+
3+
public class ErrorGlbGenerateTimeExpiredException extends Throwable {
4+
public ErrorGlbGenerateTimeExpiredException(String msj) {
5+
super(msj);
6+
}
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
package com.outfitlab.project.domain.exceptions;
2+
3+
public class ErrorReadJsonException extends Throwable {
4+
public ErrorReadJsonException(String msj) {
5+
super(msj);
6+
}
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
package com.outfitlab.project.domain.exceptions;
2+
3+
public class ErrorTripoEntityNotFound extends Throwable {
4+
public ErrorTripoEntityNotFound(String msj) {
5+
super(msj);
6+
}
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
package com.outfitlab.project.domain.exceptions;
2+
3+
public class ErrorUploadImageToTripo extends Throwable {
4+
public ErrorUploadImageToTripo(String msj) {
5+
super(msj);
6+
}
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
package com.outfitlab.project.domain.exceptions;
2+
3+
public class ErrorWhenSleepException extends Throwable {
4+
public ErrorWhenSleepException(String msj) {
5+
super(msj);
6+
}
7+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
package com.outfitlab.project.domain.exceptions;
2+
3+
public class FileEmptyException extends Throwable {
4+
public FileEmptyException(String msj) {super(msj);}
5+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
package com.outfitlab.project.domain.interfaces.repositories;
2+
3+
import org.springframework.web.multipart.MultipartFile;
4+
5+
public interface IAwsRepository {
6+
7+
String uploadFile(MultipartFile file, String folder);
8+
9+
void deleteFile(String key);
10+
11+
String getFileUrl(String key);
12+
}

0 commit comments

Comments
 (0)