Skip to content

Commit

Permalink
Rename conflicting beans in Registry (eclipse-basyx#228)
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusmolina-iese authored Feb 22, 2024
1 parent 065a1fd commit ef46cc6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
public class MongoDbConfiguration {

@Bean
public AasRegistryStorage createStorage(MongoTemplate template) {
public AasRegistryStorage createAasRegistryStorage(MongoTemplate template) {
initializeIndices(template);
return new CursorEncodingRegistryStorage(new MongoDbAasRegistryStorage(template));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
public class MongoDbConfiguration {

@Bean
public SubmodelRegistryStorage createStorage(MongoTemplate template) {
public SubmodelRegistryStorage createSubmodelRegistryStorage(MongoTemplate template) {
return new CursorEncodingRegistryStorage(new MongoDbSubmodelRegistryStorage(template));
}

Expand Down

0 comments on commit ef46cc6

Please sign in to comment.