-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Define and document the TAR and zip structure for data sections #1163
Comments
Example 1The JSON looks like: {
"apiVersion" : "1.0",
"data" : {
"sources" : [ {
"name" : "open-api-file-reference",
"fileystem" : {
"files" : [ "gamechanger-webapp/src/main/resources/openapi3.json" ]
}
} ]
},
"codeScan" : {
"fileSystem" : {
"folders" : [ "gamechanger-android/src/main/java", "gamechanger-server/src/main/java" ]
},
"excludes" : [ "**/mytestcode/**", "**/documentation/**" ],
"additionalFilenameExtensions" : [ ".cplusplus", ".py9" ],
"uses" : [ "open-api-file-reference"]
},
"webScan" : {
"openApi" : {
"uses" : [ "open-api-file-reference" ]
},
"uri" : "https://productfailure.demo.example.org"
}
} All of those parts do contain sources and will be combined inside The resulting zip file will have following content:
|
This was referenced May 5, 2022
de-jcup
added a commit
that referenced
this issue
May 6, 2022
de-jcup
added a commit
that referenced
this issue
May 6, 2022
de-jcup
added a commit
that referenced
this issue
May 6, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Situation
This is (not only) a sub issue of #1166
When #1154 and #1098 are implemented a user is able to upload multiple binaries, sources etc. give them names and reference the files/folders inside
the sechub configuration file
But doing this, we must
were we want to filter files
Wanted
Solution
General Definition
We map the JSON model into the file system by using always following path pattern:
$storageDataType
can besources
orbinaries
(like in JSON)$dataObjectName
is just the name defined inside JSON for the data section$originPath
represents the origin path from file systemExamples
Next steps
Implement
The text was updated successfully, but these errors were encountered: