Skip to content

Commit

Permalink
Minor updates to Docker and build files
Browse files Browse the repository at this point in the history
  • Loading branch information
kadraman committed Jul 15, 2024
1 parent c7e3653 commit ccecb56
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
/etc/WSD/
/installs/
/fortify-sca.settings

bin

# Ignore Gradle project-specific cache directory
.gradle
Expand Down
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
FROM openjdk:11-jdk-slim
# A JDK 1.8 is needed if the WebInspect Runtime Agent is being used
#FROM openjdk:8u342-jdk-slim

LABEL maintainer="klee2@opentext.com"

Expand Down
2 changes: 2 additions & 0 deletions Dockerfile.win
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
FROM eclipse-temurin:11-windowsservercore
# A JDK 1.8 is needed if the WebInspect Runtime Agent is being used
#FROM openjdk:openjdk:8u342-windowsservercore

LABEL maintainer="klee2@opentext.com"

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
![Continuous Inspection](https://github.com/fortify-presales/IWAPharmacyDirect/workflows/Continuous%20Inspection/badge.svg)
[![DevSecOps with Fortify on Demand](https://github.com/fortify-presales/IWA/actions/workflows/fod.yml/badge.svg)](https://github.com/fortify-presales/IWA/actions/workflows/fod.yml)

# IWA (Insecure Web App) Pharmacy Direct

Expand Down
7 changes: 6 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ ext {
springSecurityVersion = '3.0.4.RELEASE'
jacksonVersion = '2.13.0'
tymeleafLayoutDialectVersion = '3.2.1'
itextVersion = '7.2.5'
springdocOpenApiVersion = '1.7.0'
junitVersion = '4.12'
junitJupiterVersion = '5.7.0'
Expand Down Expand Up @@ -38,13 +39,14 @@ dependencies {
implementation "org.apache.commons:commons-email:1.4"
implementation "com.google.guava:guava:30.1.1-jre"
implementation "com.h2database:h2:1.4.197"
implementation "com.itextpdf:itext7-core:${itextVersion}"
implementation "org.passay:passay:1.5.0"
implementation "org.webjars:bootstrap:4.5.3"
implementation "org.webjars:jquery:3.5.1"
implementation "org.webjars:font-awesome:5.15.2"
implementation "org.webjars:chartjs:2.9.4"
implementation "org.webjars.npm:axios:0.21.1"
implementation ("org.springdoc:springdoc-openapi-ui:${springdocOpenApiVersion}")
implementation "org.springdoc:springdoc-openapi-ui:${springdocOpenApiVersion}"
implementation "org.springdoc:springdoc-openapi-security:${springdocOpenApiVersion}"
implementation "com.fasterxml.jackson.core:jackson-core:${jacksonVersion}"
implementation "com.fasterxml.jackson.core:jackson-annotations:${jacksonVersion}"
Expand Down Expand Up @@ -109,6 +111,9 @@ project.archivesBaseName = 'iwa'
group = 'com.microfocus.example'
version = '1.0'
description = 'IWA (Insecure Web App) Pharmacy Direct - an insecure web application for use in Fortify demonstrations'
// A JDK 1.8 is needed if the WebInspect Runtime Agent is being used
//sourceCompatibility = JavaVersion.VERSION_1_8
//targetCompatibility = JavaVersion.VERSION_1_8
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11

Expand Down

0 comments on commit ccecb56

Please sign in to comment.