Skip to content
This repository was archived by the owner on Feb 26, 2021. It is now read-only.

Commit 33141c0

Browse files
authored
Merge pull request #73 from secureCodeBox/develop
Release 1.0.1
2 parents 45676ee + e2b7d11 commit 33141c0

4 files changed

Lines changed: 43 additions & 1 deletion

File tree

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,14 @@ To build the docker image run:
5656

5757
`docker build -t IMAGE_NAME .`
5858

59+
## Generating the API Docs
60+
61+
1. Run the Test Suite using the `docs` maven profile: `mvn test -P docs`. This should generate a `swagger.json` file in the target folder of the `scb-engine` module.
62+
2. Run the `swagger2markup:convertSwagger2markup` plugin: `mvn -P docs swagger2markup:convertSwagger2markup`. This should generate a file located `docs/api-doc.md` in the target folder of the `scb-engine` module.
63+
3. Copy the `api-doc.md` file to the user guide of the [secureCodeBox](https://github.com/secureCodeBox/secureCodeBox) repository.
64+
4. Re Add the first disclaimer paragraph pointing the users to the dynamic swagger docs of their engine. This has to be added by hand as it is not included in the export.
65+
5. (Optional) Reformat the generated markdown file with prettier to improve the generated markdown output.
66+
5967
# Guidelines & Standards
6068
Well boring yes - but please read our [guidelines and naming standards][scb-developer-guidelines].
6169

pom.xml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,22 @@
213213
</pluginManagement>
214214
</build>
215215

216+
<pluginRepositories>
217+
<pluginRepository>
218+
<id>jcenter-snapshots</id>
219+
<name>jcenter</name>
220+
<url>http://oss.jfrog.org/artifactory/oss-snapshot-local/</url>
221+
</pluginRepository>
222+
<pluginRepository>
223+
<id>jcenter-releases</id>
224+
<name>jcenter</name>
225+
<url>http://jcenter.bintray.com</url>
226+
<snapshots>
227+
<enabled>false</enabled>
228+
</snapshots>
229+
</pluginRepository>
230+
</pluginRepositories>
231+
216232
<repositories>
217233
<repository>
218234
<id>camunda-bpm-nexus</id>

scb-engine/pom.xml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,11 +236,29 @@
236236
<properties>
237237
<activatedProfiles>docs</activatedProfiles>
238238
</properties>
239+
240+
<pluginRepositories>
241+
<pluginRepository>
242+
<id>jcenter-snapshots</id>
243+
<name>jcenter</name>
244+
<url>http://oss.jfrog.org/artifactory/oss-snapshot-local/</url>
245+
</pluginRepository>
246+
<pluginRepository>
247+
<id>jcenter-releases</id>
248+
<name>jcenter</name>
249+
<url>http://jcenter.bintray.com</url>
250+
<snapshots>
251+
<enabled>false</enabled>
252+
</snapshots>
253+
</pluginRepository>
254+
</pluginRepositories>
255+
239256
<build>
240257
<plugins>
241258
<plugin>
242259
<groupId>io.github.swagger2markup</groupId>
243260
<artifactId>swagger2markup-maven-plugin</artifactId>
261+
<version>1.3.7</version>
244262

245263
<configuration>
246264
<swaggerInput>${project.build.directory}/swagger.json</swaggerInput>

scb-persistenceproviders/s3-persistenceprovider/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
<dependency>
4040
<groupId>com.amazonaws</groupId>
4141
<artifactId>aws-java-sdk-s3</artifactId>
42-
<version>1.11.424</version>
42+
<version>1.11.453</version>
4343
</dependency>
4444
<dependency>
4545
<groupId>org.powermock</groupId>

0 commit comments

Comments
 (0)