There was a new profile added 'webapi-shiny' so that while building an application it should be specified together with a set property 'shiny.app.directory' pointing to a checked out directory on the build server with the Shiny applications source code (a new OHDSI repository to be created @chrisknoll @anthonysena)
The following properties to be specified in settings.xml:
<shiny.connect.url>url-to-your-posit-connect-server</shiny.connect.url>
<shiny.connect.api.key>api-key-to-connect-to-posit-connect-server</shiny.connect.api.key>
<!-- A URL to your ATLAS to navigate back to published artifacts from the Shiny applications -->
<shiny.atlas.url>http://localhost:8080/atlas</shiny.atlas.url>
<!-- A URL to the source code repository with Shiny applications (to be created) to navigate to from the Shiny applications -->
<shiny.repo.link>https://github.com/OHDSI/atlasshinyexport-repository-to-be-created</shiny.repo.link>
<shiny.output.directory>a-directory-on-the-build-server-into-which-shiny-application-placeholder-archives-are-built</shiny.output.directory>
<!-- A timeout to connect to Posit Connect Server -->
<shiny.connect.okhttp.timeout.seconds>10</shiny.connect.okhttp.timeout.seconds>
A specific Spring profile is activated
<spring.profiles.active>default,shiny</spring.profiles.active>
The configuration of WebAPI controls the ability to show/hide the "Shiny App" button on the Atlas UI. The UI then allows for download/publish but if there is no Posit Connect server, we might want to be able to download only which will require a work-around configuration for now.
Shiny reports are designed for a single analysis (i.e. Pathways) on a single data source (i.e. SynPuf). In the future there may be the ability to have multiple data sources included.
Addressing #2349
By default the feature is not enabled
There was a new profile added 'webapi-shiny' so that while building an application it should be specified together with a set property 'shiny.app.directory' pointing to a checked out directory on the build server with the Shiny applications source code (a new OHDSI repository to be created @chrisknoll @anthonysena)
mvn clean package -s WebAPIConfig/settings.xml -P webapi-postgresql,webapi-shiny -D shiny.app.directory=D:\\webapi\\checkout
The following properties to be specified in settings.xml:
A specific Spring profile is activated
<spring.profiles.active>default,shiny</spring.profiles.active>