Skip to content

Commit

Permalink
Merge pull request #102 from eclipse-basyx/mongo-fix
Browse files Browse the repository at this point in the history
Excludes MongoDB if not needed in Submodel Repo
  • Loading branch information
FrankSchnicke authored Oct 5, 2023
2 parents 8e15964 + 5c6588a commit 652d11b
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,18 @@

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.data.mongo.MongoDataAutoConfiguration;
import org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration;

/**
* Creates and starts the SubmodelRepository off-shelf-component
*
* @author schnicke
*
*/
@SpringBootApplication(scanBasePackages = "org.eclipse.digitaltwin.basyx")
@SpringBootApplication(
scanBasePackages = "org.eclipse.digitaltwin.basyx",
exclude = { MongoAutoConfiguration.class, MongoDataAutoConfiguration.class })
public class SubmodelRepositoryComponent {
public static void main(String[] args) {
SpringApplication.run(SubmodelRepositoryComponent.class, args);
Expand Down

0 comments on commit 652d11b

Please sign in to comment.