Skip to content

Commit

Permalink
[SHIBUI-1063]
Browse files Browse the repository at this point in the history
Set createdBy on our two resolver-seeding profiles to be the 'nonadmin'
user from the dev profile.
  • Loading branch information
Bill Smith committed Jan 24, 2019
1 parent 661ed68 commit 8e67e9f
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ class DevConfig {
@Bean
MetadataResolver fbhmr(ModelRepresentationConversions modelRepresentationConversions) {
return this.metadataResolverRepository.save(new FileBackedHttpMetadataResolver().with {
it.createdBy = 'nonadmin' // depends on dev profile
enabled = true
xmlId = 'test-fbhmr'
name = 'test-fbhmr'
Expand Down Expand Up @@ -120,6 +121,7 @@ class DevConfig {
@Bean
MetadataResolver dhmr(ModelRepresentationConversions modelRepresentationConversions) {
return this.metadataResolverRepository.save(new DynamicHttpMetadataResolver().with {
it.createdBy = 'nonadmin' // depends on dev profile
it.enabled = true
it.xmlId = 'test-dhmr'
it.name = 'test-dhmr'
Expand Down

0 comments on commit 8e67e9f

Please sign in to comment.