Skip to content

Commit

Permalink
Updating the specs to 23.1 following the main Fortify SSC release
Browse files Browse the repository at this point in the history
  • Loading branch information
akaryakina committed May 8, 2023
1 parent c59d96d commit 2cdd91a
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 44,996 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2019 Micro Focus or one of its affiliates
Copyright 2019 - 2023 Open Text

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Fortify Software Security Center REST API java client
Communicate with Fortify Software Security Center through REST API in java, a swagger generated client
- API version: 1:21.1.1.0015
- API version: 1:23.1.0.0145

## Generation:

Expand All @@ -27,7 +27,7 @@ Add this dependency to your project's POM:
<dependency>
<groupId>com.fortify</groupId>
<artifactId>ssc-restapi-client</artifactId>
<version>21.1</version>
<version>23.1</version>
<scope>compile</scope>
</dependency>
```
Expand All @@ -37,15 +37,15 @@ Add this dependency to your project's POM:
Add this dependency to your project's build file:

```groovy
compile "com.fortify:ssc-restapi-client:21.1"
compile "com.fortify:ssc-restapi-client:23.1"
```

### Others

At first generate the JAR by running the gradle build
Then manually install the following JARs:

* build/libs/ssc-restapi-client-21.1.jar
* build/libs/ssc-restapi-client-23.1.jar
* build/swagger-code-ssc/build/target/lib/*.jar

## Getting Started
Expand Down
26 changes: 14 additions & 12 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
plugins {
id 'java'
id 'idea'
id ('org.openapi.generator') version('5.2.1')
id ('org.openapi.generator') version('5.4.0')
id 'maven-publish'
id 'signing'
id 'io.github.gradle-nexus.publish-plugin' version '1.0.0'
id 'io.github.gradle-nexus.publish-plugin' version '1.3.0'
}

repositories {
mavenCentral()
}

group = 'com.fortify'
version = '22.2'
version = '23.1'
description 'Fortify SSC REST API client'

sourceCompatibility = JavaVersion.VERSION_1_8
Expand All @@ -27,15 +27,17 @@ ext {

dependencies {

implementation "org.openapitools:openapi-generator-gradle-plugin:5.2.1"
implementation 'com.squareup.okhttp3:okhttp:4.10.0'
implementation 'com.squareup.okhttp3:logging-interceptor:4.10.0'
implementation 'io.swagger:swagger-annotations:1.6.6'
implementation 'com.google.code.gson:gson:2.8.9'
implementation "org.openapitools:openapi-generator-gradle-plugin:5.4.0"
implementation 'com.squareup.okhttp3:okhttp:4.11.0'
implementation 'com.squareup.okhttp3:logging-interceptor:4.11.0'
implementation 'io.swagger:swagger-annotations:1.6.10'
implementation 'com.google.code.gson:gson:2.10.1'
implementation 'io.gsonfire:gson-fire:1.8.5'
implementation("com.google.code.findbugs:jsr305:3.0.2")
implementation("javax.annotation:javax.annotation-api:1.3.2")
testImplementation 'junit:junit:4.12'
implementation 'com.google.code.findbugs:jsr305:3.0.2'
implementation 'javax.ws.rs:jsr311-api:1.1.1'
implementation 'javax.ws.rs:javax.ws.rs-api:2.1.1'
implementation 'jakarta.annotation:jakarta.annotation-api:1.3.5'
testImplementation 'junit:junit:4.13.2'
}

task sourcesJar(type: Jar, dependsOn: classes) {
Expand Down Expand Up @@ -121,7 +123,7 @@ publishing {
id = 'fortify'
name = 'Fortify'
email = '[email protected]'
organization = 'Micro Focus Fortify'
organization = 'Open Text Fortify'
organizationUrl = 'https://www.microfocus.com/en-us/cyberres/application-security'
}
}
Expand Down
Loading

0 comments on commit 2cdd91a

Please sign in to comment.