-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Anna Karyakina
committed
Jan 29, 2019
1 parent
9843ff9
commit 4791ac3
Showing
1,057 changed files
with
171,664 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Swagger Codegen Ignore | ||
# Generated by swagger-codegen https://github.com/swagger-api/swagger-codegen | ||
|
||
# Use this file to prevent files from being overwritten by the generator. | ||
# The patterns follow closely to .gitignore or .dockerignore. | ||
|
||
# As an example, the C# client generator defines ApiClient.cs. | ||
# You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line: | ||
#ApiClient.cs | ||
|
||
# You can match any string of characters against a directory, file or extension with a single asterisk (*): | ||
#foo/*/qux | ||
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux | ||
|
||
# You can recursively match patterns against a directory, file or extension with a double asterisk (**): | ||
#foo/**/qux | ||
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux | ||
|
||
# You can also negate patterns with an exclamation (!). | ||
# For example, you can ignore all files in a docs folder with the file extension .md: | ||
#docs/*.md | ||
# Then explicitly reverse the ignore rule for a single file: | ||
#!docs/README.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
2.3.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# | ||
# Generated by: https://github.com/swagger-api/swagger-codegen.git | ||
# | ||
language: java | ||
jdk: | ||
- oraclejdk8 | ||
- oraclejdk7 | ||
before_install: | ||
# ensure gradlew has proper permission | ||
- chmod a+x ./gradlew | ||
script: | ||
# test using maven | ||
- mvn test | ||
# uncomment below to test using gradle | ||
# - gradle test | ||
# uncomment below to test using sbt | ||
# - sbt test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
apply plugin: 'idea' | ||
apply plugin: 'eclipse' | ||
//apply from: file('fortify-custom.gradle') | ||
|
||
group = 'com.fortify' | ||
version = '2.0' | ||
|
||
buildscript { | ||
repositories { | ||
jcenter() | ||
} | ||
dependencies { | ||
classpath 'com.android.tools.build:gradle:2.3.+' | ||
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5' | ||
classpath "org.jfrog.buildinfo:build-info-extractor-gradle:4.4.0" | ||
} | ||
} | ||
|
||
repositories { | ||
jcenter() | ||
} | ||
|
||
|
||
if(hasProperty('target') && target == 'android') { | ||
|
||
apply plugin: 'com.android.library' | ||
apply plugin: 'com.github.dcendents.android-maven' | ||
|
||
android { | ||
compileSdkVersion 25 | ||
buildToolsVersion '25.0.2' | ||
defaultConfig { | ||
minSdkVersion 14 | ||
targetSdkVersion 25 | ||
} | ||
compileOptions { | ||
sourceCompatibility JavaVersion.VERSION_1_7 | ||
targetCompatibility JavaVersion.VERSION_1_7 | ||
} | ||
|
||
// Rename the aar correctly | ||
libraryVariants.all { variant -> | ||
variant.outputs.each { output -> | ||
def outputFile = output.outputFile | ||
if (outputFile != null && outputFile.name.endsWith('.aar')) { | ||
def fileName = "${project.name}-${variant.baseName}-${version}.aar" | ||
output.outputFile = new File(outputFile.parent, fileName) | ||
} | ||
} | ||
} | ||
|
||
dependencies { | ||
provided 'javax.annotation:jsr250-api:1.0' | ||
} | ||
} | ||
|
||
afterEvaluate { | ||
android.libraryVariants.all { variant -> | ||
def task = project.tasks.create "jar${variant.name.capitalize()}", Jar | ||
task.description = "Create jar artifact for ${variant.name}" | ||
task.dependsOn variant.javaCompile | ||
task.from variant.javaCompile.destinationDir | ||
task.destinationDir = project.file("${project.buildDir}/outputs/jar") | ||
task.archiveName = "${project.name}-${variant.baseName}-${version}.jar" | ||
artifacts.add('archives', task); | ||
} | ||
} | ||
|
||
task sourcesJar(type: Jar) { | ||
from android.sourceSets.main.java.srcDirs | ||
classifier = 'sources' | ||
} | ||
|
||
artifacts { | ||
archives sourcesJar | ||
} | ||
|
||
} else { | ||
|
||
apply plugin: 'java' | ||
apply plugin: 'maven' | ||
|
||
sourceCompatibility = JavaVersion.VERSION_1_7 | ||
targetCompatibility = JavaVersion.VERSION_1_7 | ||
|
||
install { | ||
repositories.mavenInstaller { | ||
pom.artifactId = 'ssc-restapi-client' | ||
} | ||
} | ||
|
||
task execute(type:JavaExec) { | ||
main = System.getProperty('mainClass') | ||
classpath = sourceSets.main.runtimeClasspath | ||
} | ||
} | ||
|
||
dependencies { | ||
compile 'io.swagger:swagger-annotations:1.5.15' | ||
compile 'com.squareup.okhttp:okhttp:2.7.5' | ||
compile 'com.squareup.okhttp:logging-interceptor:2.7.5' | ||
compile 'com.google.code.gson:gson:2.8.1' | ||
compile 'io.gsonfire:gson-fire:1.8.0' | ||
compile 'org.threeten:threetenbp:1.3.5' | ||
testCompile 'junit:junit:4.12' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
lazy val root = (project in file(".")). | ||
settings( | ||
organization := "com.fortify", | ||
name := "ssc-restapi-client", | ||
version := "2.0", | ||
scalaVersion := "2.11.4", | ||
scalacOptions ++= Seq("-feature"), | ||
javacOptions in compile ++= Seq("-Xlint:deprecation"), | ||
publishArtifact in (Compile, packageDoc) := false, | ||
resolvers += Resolver.mavenLocal, | ||
libraryDependencies ++= Seq( | ||
"io.swagger" % "swagger-annotations" % "1.5.15", | ||
"com.squareup.okhttp" % "okhttp" % "2.7.5", | ||
"com.squareup.okhttp" % "logging-interceptor" % "2.7.5", | ||
"com.google.code.gson" % "gson" % "2.8.1", | ||
"org.threeten" % "threetenbp" % "1.3.5" % "compile", | ||
"io.gsonfire" % "gson-fire" % "1.8.0" % "compile", | ||
"junit" % "junit" % "4.12" % "test", | ||
"com.novocode" % "junit-interface" % "0.10" % "test" | ||
) | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"groupId":"com.fortify", | ||
"artifactId":"ssc-restapi-client", | ||
"artifactVersion":"2.0", | ||
"invokerPackage": "com.fortify.ssc.restclient", | ||
"apiPackage": "com.fortify.ssc.restclient.api", | ||
"modelPackage": "com.fortify.ssc.restclient.model" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
|
||
# AATrainingStatus | ||
|
||
## Properties | ||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**lastTrainingTime** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional] | ||
**message** | **String** | | [optional] | ||
**projectVersionId** | **Long** | | [optional] | ||
**status** | [**StatusEnum**](#StatusEnum) | | [optional] | ||
**userName** | **String** | | [optional] | ||
|
||
|
||
<a name="StatusEnum"></a> | ||
## Enum: StatusEnum | ||
Name | Value | ||
---- | ----- | ||
NONE | "NONE" | ||
TRAINING_SUBMITTED | "TRAINING_SUBMITTED" | ||
TRAINING_FAILED | "TRAINING_FAILED" | ||
TRAINING_COMPLETE | "TRAINING_COMPLETE" | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
# AaTrainingStatusOfProjectVersionControllerApi | ||
|
||
All URIs are relative to *https://16.40.6.107:8080/ssc/api/v1* | ||
|
||
Method | HTTP request | Description | ||
------------- | ------------- | ------------- | ||
[**listAaTrainingStatusOfProjectVersion**](AaTrainingStatusOfProjectVersionControllerApi.md#listAaTrainingStatusOfProjectVersion) | **GET** /projectVersions/{parentId}/auditAssistantTrainingStatus | list | ||
|
||
|
||
<a name="listAaTrainingStatusOfProjectVersion"></a> | ||
# **listAaTrainingStatusOfProjectVersion** | ||
> ApiResultListAATrainingStatus listAaTrainingStatusOfProjectVersion(parentId, fields) | ||
list | ||
|
||
### Example | ||
```java | ||
// Import classes: | ||
//import com.fortify.ssc.restclient.ApiClient; | ||
//import com.fortify.ssc.restclient.ApiException; | ||
//import com.fortify.ssc.restclient.Configuration; | ||
//import com.fortify.ssc.restclient.auth.*; | ||
//import com.fortify.ssc.restclient.api.AaTrainingStatusOfProjectVersionControllerApi; | ||
|
||
ApiClient defaultClient = Configuration.getDefaultApiClient(); | ||
|
||
// Configure API key authorization: FortifyToken | ||
ApiKeyAuth FortifyToken = (ApiKeyAuth) defaultClient.getAuthentication("FortifyToken"); | ||
FortifyToken.setApiKey("YOUR API KEY"); | ||
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) | ||
//FortifyToken.setApiKeyPrefix("Token"); | ||
|
||
AaTrainingStatusOfProjectVersionControllerApi apiInstance = new AaTrainingStatusOfProjectVersionControllerApi(); | ||
Long parentId = 789L; // Long | parentId | ||
String fields = "fields_example"; // String | Output fields | ||
try { | ||
ApiResultListAATrainingStatus result = apiInstance.listAaTrainingStatusOfProjectVersion(parentId, fields); | ||
System.out.println(result); | ||
} catch (ApiException e) { | ||
System.err.println("Exception when calling AaTrainingStatusOfProjectVersionControllerApi#listAaTrainingStatusOfProjectVersion"); | ||
e.printStackTrace(); | ||
} | ||
``` | ||
|
||
### Parameters | ||
|
||
Name | Type | Description | Notes | ||
------------- | ------------- | ------------- | ------------- | ||
**parentId** | **Long**| parentId | | ||
**fields** | **String**| Output fields | [optional] | ||
|
||
### Return type | ||
|
||
[**ApiResultListAATrainingStatus**](ApiResultListAATrainingStatus.md) | ||
|
||
### Authorization | ||
|
||
[FortifyToken](../README.md#FortifyToken) | ||
|
||
### HTTP request headers | ||
|
||
- **Content-Type**: application/json | ||
- **Accept**: application/json | ||
|
Oops, something went wrong.