bb-fuel icon indicating copy to clipboard operation
bb-fuel copied to clipboard

Unable to use clients repository proxy for the 'hardcoded' specs path

Open Robin-Bezuijen opened this issue 3 years ago • 0 comments

When using a client repo proxy (which is normal on customer projects not sharing the master credentials) the wagon urls will not work:

                    <configuration>
                        <url>https://repo.backbase.com/specs/accessgroup-integration-service</url>
                        <fromFile>accessgroup-integration-inbound-api-v2.2.0.yaml</fromFile>
                    </configuration>

the /specs path is not a repository (under /repo/specs)

Possible fixes:

  1. Add the specs to the repo to make https://repo.backbase.com/repo/specs/accessgroup-integration-service/accessgroup-integration-inbound-api-v2.2.0.yaml work.

  2. Use the bom and uzip all specs from a bom version to the downloaded-api folder:

                             <artifactItem>
                                 <groupId>com.backbase.dbs</groupId>
                                 <artifactId>banking-services-bom</artifactId>
                                 <version>${dbs-bom.version}</version>
                                 <classifier>api</classifier>
                                 <type>zip</type>
                                 <outputDirectory>${project.build.directory}/specs</outputDirectory>
                             </artifactItem>
    

Option 2 makes way more sense because then fuel is in sync with a BB release.

Robin-Bezuijen avatar Jan 30 '22 20:01 Robin-Bezuijen