Skip to content

Commit

Permalink
refactor: Remove @Profile("!test") annotation from JobRunrConfig
Browse files Browse the repository at this point in the history
The @Profile("!test") annotation was removed from the JobRunrConfig class. This change ensures that the configuration is applied regardless of the active profile, improving consistency and eliminating potential issues related to test environments.
  • Loading branch information
amengus87 committed May 28, 2024
1 parent 8bde6e3 commit 30a3f5a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions backend/src/main/java/ai/dragon/config/JobRunrConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,8 @@
import org.jobrunr.storage.StorageProvider;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Profile;

@Configuration
@Profile("!test")
public class JobRunrConfig {
@Bean
public StorageProvider storageProvider(JobMapper jobMapper) {
Expand Down
1 change: 0 additions & 1 deletion backend/src/main/java/ai/dragon/entity/IngestorEntity.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ public class IngestorEntity implements IAbstractEntity {
@Schema(description = "Name of the Ingestor. Must be unique.")
private String name;

@NotNull
@Schema(description = "Type of the Ingestor")
private IngestorType type;

Expand Down

0 comments on commit 30a3f5a

Please sign in to comment.