Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

[Feature] Load Stage-API-Config from subfolder #248

Closed
cwiechmann opened this issue Mar 26, 2020 · 1 comment
Closed

[Feature] Load Stage-API-Config from subfolder #248

cwiechmann opened this issue Mar 26, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@cwiechmann
Copy link

cwiechmann commented Mar 26, 2020

User story
Actually, when giving Swagger-Promote a stage (e.g. -s prod), it's trying to load the Stage-API-Config based on the given API-Config in the same folder.
Primary config: myapi-config.json
Stage config: myapi-config.prod.json

But when using it as part of a pipeline, it might be desirable to have the following folder structure, that controls all Non-Dev-Stages:

|-- anotherapi
|   |-- pom.xml
|   |-- prod
|   |   |-- another-image-for-prod.png
|   |   |-- myapi-config.prod.json
|   |   |-- pom.xml
|   |   `-- prod-server-certificate.crt
|   `-- tst
|       |-- myapi-config.tst.json
|       |-- pom.xml
|       `-- test-certificate.crt
`-- myapi
    |-- pom.xml
    |-- prod
    |   |-- another-image-for-prod.png
    |   |-- myapi-config.prod.json
    |   |-- pom.xml
    |   `-- server-certificate-prod.crt
    `-- tst
        |-- myapi-config.tst.json
        |-- pom.xml
        `-- test-server-certificate.crt

So, the feature request is to support to load Stage-Config-Files also from a sub-folder if not found close to the main-config file.

@cwiechmann cwiechmann added the enhancement New feature or request label Mar 26, 2020
@cwiechmann cwiechmann self-assigned this Mar 26, 2020
@cwiechmann cwiechmann added this to the 1.6.6 milestone Mar 26, 2020
@cwiechmann
Copy link
Author

Is part of release 1.6.6

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant