Skip to content
Permalink
Browse files
feat: make repo releasable, add parent/bom (#1)
* feat: make repo releasable, add parent/bom

* fix: whitespace
  • Loading branch information
chingor13 committed Oct 18, 2019
1 parent 8c6054a commit ed44eb5538b2202577c885017ac8a3bc06e9be08
Showing with 4,010 additions and 208 deletions.
  1. +51 −0 .github/ISSUE_TEMPLATE/bug_report.md
  2. +21 −0 .github/ISSUE_TEMPLATE/feature_request.md
  3. +7 −0 .github/ISSUE_TEMPLATE/support_request.md
  4. +1 −0 .github/PULL_REQUEST_TEMPLATE.md
  5. +1 −0 .github/release-please.yml
  6. +3 −0 .kokoro/build.bat
  7. +54 −0 .kokoro/build.sh
  8. +13 −0 .kokoro/common.cfg
  9. +24 −0 .kokoro/continuous/common.cfg
  10. +12 −0 .kokoro/continuous/dependencies.cfg
  11. +7 −0 .kokoro/continuous/integration.cfg
  12. +7 −0 .kokoro/continuous/java11.cfg
  13. +7 −0 .kokoro/continuous/java7.cfg
  14. +3 −0 .kokoro/continuous/java8-osx.cfg
  15. +3 −0 .kokoro/continuous/java8-win.cfg
  16. +7 −0 .kokoro/continuous/java8.cfg
  17. +13 −0 .kokoro/continuous/lint.cfg
  18. +53 −0 .kokoro/continuous/propose_release.cfg
  19. +29 −0 .kokoro/continuous/propose_release.sh
  20. +27 −0 .kokoro/dependencies.sh
  21. +33 −0 .kokoro/linkage-monitor.sh
  22. +24 −0 .kokoro/nightly/common.cfg
  23. +12 −0 .kokoro/nightly/dependencies.cfg
  24. +7 −0 .kokoro/nightly/integration.cfg
  25. +7 −0 .kokoro/nightly/java11.cfg
  26. +7 −0 .kokoro/nightly/java7.cfg
  27. +3 −0 .kokoro/nightly/java8-osx.cfg
  28. +3 −0 .kokoro/nightly/java8-win.cfg
  29. +7 −0 .kokoro/nightly/java8.cfg
  30. +13 −0 .kokoro/nightly/lint.cfg
  31. +33 −0 .kokoro/presubmit/common.cfg
  32. +12 −0 .kokoro/presubmit/dependencies.cfg
  33. +31 −0 .kokoro/presubmit/integration.cfg
  34. +7 −0 .kokoro/presubmit/java11.cfg
  35. +7 −0 .kokoro/presubmit/java7.cfg
  36. +3 −0 .kokoro/presubmit/java8-osx.cfg
  37. +3 −0 .kokoro/presubmit/java8-win.cfg
  38. +7 −0 .kokoro/presubmit/java8.cfg
  39. +12 −0 .kokoro/presubmit/linkage-monitor.cfg
  40. +13 −0 .kokoro/presubmit/lint.cfg
  41. +53 −0 .kokoro/release/bump_snapshot.cfg
  42. +30 −0 .kokoro/release/bump_snapshot.sh
  43. +49 −0 .kokoro/release/common.cfg
  44. +50 −0 .kokoro/release/common.sh
  45. +9 −0 .kokoro/release/drop.cfg
  46. +32 −0 .kokoro/release/drop.sh
  47. +10 −0 .kokoro/release/promote.cfg
  48. +34 −0 .kokoro/release/promote.sh
  49. +19 −0 .kokoro/release/publish_javadoc.cfg
  50. +55 −0 .kokoro/release/publish_javadoc.sh
  51. +6 −0 .kokoro/release/snapshot.cfg
  52. +33 −0 .kokoro/release/snapshot.sh
  53. +44 −0 .kokoro/release/stage.cfg
  54. +41 −0 .kokoro/release/stage.sh
  55. +24 −0 .kokoro/trampoline.sh
  56. +3 −3 {google-cloud-websecurityscanner → }/.repo-metadata.json
  57. +93 −0 CODE_OF_CONDUCT.md
  58. +28 −0 CONTRIBUTING.md
  59. +3 −2 LICENSE
  60. 0 {google-cloud-websecurityscanner → }/README.md
  61. +4 −0 codecov.yaml
  62. +103 −0 google-cloud-websecurityscanner-bom/pom.xml
  63. +14 −0 google-cloud-websecurityscanner/clirr-ignored-differences.xml
  64. +71 −50 google-cloud-websecurityscanner/pom.xml
  65. +32 −28 grpc-google-cloud-websecurityscanner-v1alpha/pom.xml
  66. +15 −0 ...ner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/WebSecurityScannerGrpc.java
  67. +32 −28 grpc-google-cloud-websecurityscanner-v1beta/pom.xml
  68. +15 −0 ...anner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/WebSecurityScannerGrpc.java
  69. +15 −0 java.header
  70. +10 −0 license-checks.xml
  71. +283 −0 pom.xml
  72. +10 −8 proto-google-cloud-websecurityscanner-v1alpha/pom.xml
  73. +15 −0 ...securityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/CrawledUrl.java
  74. +15 −0 ...canner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/CrawledUrlOrBuilder.java
  75. +15 −0 ...ityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/CrawledUrlProto.java
  76. +15 −0 ...er-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/CreateScanConfigRequest.java
  77. +15 −0 ...a/src/main/java/com/google/cloud/websecurityscanner/v1alpha/CreateScanConfigRequestOrBuilder.java
  78. +15 −0 ...er-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/DeleteScanConfigRequest.java
  79. +15 −0 ...a/src/main/java/com/google/cloud/websecurityscanner/v1alpha/DeleteScanConfigRequestOrBuilder.java
  80. +15 −0 ...websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/Finding.java
  81. +15 −0 ...yscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/FindingAddonProto.java
  82. +10 −8 ...ecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/FindingName.java
  83. +15 −0 ...tyscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/FindingOrBuilder.java
  84. +15 −0 ...curityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/FindingProto.java
  85. +15 −0 ...tyscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/FindingTypeStats.java
  86. +15 −0 ...-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/FindingTypeStatsOrBuilder.java
  87. +15 −0 ...nner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/FindingTypeStatsProto.java
  88. +15 −0 ...yscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/GetFindingRequest.java
  89. +15 −0 ...v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/GetFindingRequestOrBuilder.java
  90. +15 −0 ...anner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/GetScanConfigRequest.java
  91. +15 −0 ...lpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/GetScanConfigRequestOrBuilder.java
  92. +15 −0 ...yscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/GetScanRunRequest.java
  93. +15 −0 ...v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/GetScanRunRequestOrBuilder.java
  94. +15 −0 ...ner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ListCrawledUrlsRequest.java
  95. +15 −0 ...ha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ListCrawledUrlsRequestOrBuilder.java
  96. +15 −0 ...er-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ListCrawledUrlsResponse.java
  97. +15 −0 ...a/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ListCrawledUrlsResponseOrBuilder.java
  98. +15 −0 ...1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ListFindingTypeStatsRequest.java
  99. +15 −0 ...c/main/java/com/google/cloud/websecurityscanner/v1alpha/ListFindingTypeStatsRequestOrBuilder.java
  100. +15 −0 ...alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ListFindingTypeStatsResponse.java
  101. +15 −0 .../main/java/com/google/cloud/websecurityscanner/v1alpha/ListFindingTypeStatsResponseOrBuilder.java
  102. +15 −0 ...canner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ListFindingsRequest.java
  103. +15 −0 ...alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ListFindingsRequestOrBuilder.java
  104. +15 −0 ...anner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ListFindingsResponse.java
  105. +15 −0 ...lpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ListFindingsResponseOrBuilder.java
  106. +15 −0 ...ner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ListScanConfigsRequest.java
  107. +15 −0 ...ha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ListScanConfigsRequestOrBuilder.java
  108. +15 −0 ...er-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ListScanConfigsResponse.java
  109. +15 −0 ...a/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ListScanConfigsResponseOrBuilder.java
  110. +15 −0 ...canner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ListScanRunsRequest.java
  111. +15 −0 ...alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ListScanRunsRequestOrBuilder.java
  112. +15 −0 ...anner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ListScanRunsResponse.java
  113. +15 −0 ...lpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ListScanRunsResponseOrBuilder.java
  114. +15 −0 ...ityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/OutdatedLibrary.java
  115. +15 −0 ...r-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/OutdatedLibraryOrBuilder.java
  116. +10 −8 ...ecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ProjectName.java
  117. +15 −0 ...securityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ScanConfig.java
  118. +10 −8 ...rityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ScanConfigName.java
  119. +15 −0 ...canner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ScanConfigOrBuilder.java
  120. +15 −0 ...ityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ScanConfigProto.java
  121. +15 −0 ...websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ScanRun.java
  122. +10 −8 ...ecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ScanRunName.java
  123. +15 −0 ...tyscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ScanRunOrBuilder.java
  124. +15 −0 ...curityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ScanRunProto.java
  125. +15 −0 ...canner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/StartScanRunRequest.java
  126. +15 −0 ...alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/StartScanRunRequestOrBuilder.java
  127. +15 −0 ...scanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/StopScanRunRequest.java
  128. +15 −0 ...1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/StopScanRunRequestOrBuilder.java
  129. +15 −0 ...er-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/UpdateScanConfigRequest.java
  130. +15 −0 ...a/src/main/java/com/google/cloud/websecurityscanner/v1alpha/UpdateScanConfigRequestOrBuilder.java
  131. +15 −0 ...yscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ViolatingResource.java
  132. +15 −0 ...v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ViolatingResourceOrBuilder.java
  133. +15 −0 ...yscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/VulnerableHeaders.java
  134. +15 −0 ...v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/VulnerableHeadersOrBuilder.java
  135. +15 −0 ...anner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/VulnerableParameters.java
  136. +15 −0 ...lpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/VulnerableParametersOrBuilder.java
  137. +15 −0 ...er-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/WebSecurityScannerProto.java
  138. +15 −0 ...oud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/Xss.java
  139. +15 −0 ...curityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/XssOrBuilder.java
  140. +10 −8 proto-google-cloud-websecurityscanner-v1beta/pom.xml
  141. +15 −0 ...ebsecurityscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/CrawledUrl.java
  142. +15 −0 ...yscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/CrawledUrlOrBuilder.java
  143. +15 −0 ...urityscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/CrawledUrlProto.java
  144. +15 −0 ...nner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/CreateScanConfigRequest.java
  145. +15 −0 ...ta/src/main/java/com/google/cloud/websecurityscanner/v1beta/CreateScanConfigRequestOrBuilder.java
  146. +15 −0 ...nner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/DeleteScanConfigRequest.java
  147. +15 −0 ...ta/src/main/java/com/google/cloud/websecurityscanner/v1beta/DeleteScanConfigRequestOrBuilder.java
  148. +15 −0 ...d-websecurityscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/Finding.java
  149. +15 −0 ...ityscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/FindingAddonProto.java
  150. +10 −8 ...bsecurityscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/FindingName.java
  151. +15 −0 ...rityscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/FindingOrBuilder.java
  152. +15 −0 ...securityscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/FindingProto.java
  153. +15 −0 ...rityscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/FindingTypeStats.java
  154. +15 −0 ...er-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/FindingTypeStatsOrBuilder.java
  155. +15 −0 ...canner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/FindingTypeStatsProto.java
  156. +15 −0 ...loud-websecurityscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/Form.java
  157. +15 −0 ...ecurityscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/FormOrBuilder.java
  158. +15 −0 ...ityscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/GetFindingRequest.java
  159. +15 −0 ...r-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/GetFindingRequestOrBuilder.java
  160. +15 −0 ...scanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/GetScanConfigRequest.java
  161. +15 −0 ...1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/GetScanConfigRequestOrBuilder.java
  162. +15 −0 ...ityscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/GetScanRunRequest.java
  163. +15 −0 ...r-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/GetScanRunRequestOrBuilder.java
  164. +15 −0 ...anner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/ListCrawledUrlsRequest.java
  165. +15 −0 ...eta/src/main/java/com/google/cloud/websecurityscanner/v1beta/ListCrawledUrlsRequestOrBuilder.java
  166. +15 −0 ...nner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/ListCrawledUrlsResponse.java
  167. +15 −0 ...ta/src/main/java/com/google/cloud/websecurityscanner/v1beta/ListCrawledUrlsResponseOrBuilder.java
  168. +15 −0 ...-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/ListFindingTypeStatsRequest.java
  169. +15 −0 ...rc/main/java/com/google/cloud/websecurityscanner/v1beta/ListFindingTypeStatsRequestOrBuilder.java
  170. +15 −0 ...v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/ListFindingTypeStatsResponse.java
  171. +15 −0 ...c/main/java/com/google/cloud/websecurityscanner/v1beta/ListFindingTypeStatsResponseOrBuilder.java
  172. +15 −0 ...yscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/ListFindingsRequest.java
  173. +15 −0 ...v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/ListFindingsRequestOrBuilder.java
  174. +15 −0 ...scanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/ListFindingsResponse.java
  175. +15 −0 ...1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/ListFindingsResponseOrBuilder.java
  176. +15 −0 ...anner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/ListScanConfigsRequest.java
  177. +15 −0 ...eta/src/main/java/com/google/cloud/websecurityscanner/v1beta/ListScanConfigsRequestOrBuilder.java
  178. +15 −0 ...nner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/ListScanConfigsResponse.java
  179. +15 −0 ...ta/src/main/java/com/google/cloud/websecurityscanner/v1beta/ListScanConfigsResponseOrBuilder.java
  180. +15 −0 ...yscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/ListScanRunsRequest.java
  181. +15 −0 ...v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/ListScanRunsRequestOrBuilder.java
  182. +15 −0 ...scanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/ListScanRunsResponse.java
  183. +15 −0 ...1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/ListScanRunsResponseOrBuilder.java
  184. +15 −0 ...urityscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/OutdatedLibrary.java
  185. +15 −0 ...ner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/OutdatedLibraryOrBuilder.java
  186. +10 −8 ...bsecurityscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/ProjectName.java
  187. +15 −0 ...ebsecurityscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/ScanConfig.java
  188. +15 −0 ...urityscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/ScanConfigError.java
  189. +15 −0 ...ner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/ScanConfigErrorOrBuilder.java
  190. +15 −0 ...scanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/ScanConfigErrorProto.java
  191. +10 −8 ...curityscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/ScanConfigName.java
  192. +15 −0 ...yscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/ScanConfigOrBuilder.java
  193. +15 −0 ...urityscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/ScanConfigProto.java
  194. +15 −0 ...d-websecurityscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/ScanRun.java
  195. +15 −0 ...ityscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/ScanRunErrorTrace.java
  196. +15 −0 ...r-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/ScanRunErrorTraceOrBuilder.java
  197. +15 −0 ...anner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/ScanRunErrorTraceProto.java
  198. +10 −8 ...bsecurityscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/ScanRunName.java
  199. +15 −0 ...rityscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/ScanRunOrBuilder.java
  200. +15 −0 ...securityscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/ScanRunProto.java
  201. +15 −0 ...yscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/ScanRunWarningTrace.java
  202. +15 −0 ...v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/ScanRunWarningTraceOrBuilder.java
  203. +15 −0 ...ner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/ScanRunWarningTraceProto.java
  204. +15 −0 ...yscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/StartScanRunRequest.java
  205. +15 −0 ...v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/StartScanRunRequestOrBuilder.java
  206. +15 −0 ...tyscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/StopScanRunRequest.java
  207. +15 −0 ...-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/StopScanRunRequestOrBuilder.java
  208. +15 −0 ...nner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/UpdateScanConfigRequest.java
  209. +15 −0 ...ta/src/main/java/com/google/cloud/websecurityscanner/v1beta/UpdateScanConfigRequestOrBuilder.java
  210. +15 −0 ...ityscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/ViolatingResource.java
  211. +15 −0 ...r-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/ViolatingResourceOrBuilder.java
  212. +15 −0 ...ityscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/VulnerableHeaders.java
  213. +15 −0 ...r-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/VulnerableHeadersOrBuilder.java
  214. +15 −0 ...scanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/VulnerableParameters.java
  215. +15 −0 ...1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/VulnerableParametersOrBuilder.java
  216. +15 −0 ...nner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/WebSecurityScannerProto.java
  217. +15 −0 ...cloud-websecurityscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/Xss.java
  218. +15 −0 ...securityscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/XssOrBuilder.java
  219. +27 −0 renovate.json
  220. +12 −5 {google-cloud-websecurityscanner → }/synth.metadata
  221. +11 −12 {google-cloud-websecurityscanner → }/synth.py
  222. +8 −0 versions.txt
@@ -0,0 +1,51 @@
---
name: Bug report
about: Create a report to help us improve

---

Thanks for stopping by to let us know something could be better!

**PLEASE READ**: If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/) instead of filing on GitHub. This will ensure a timely response.

Please run down the following list and make sure you've tried the usual "quick fixes":

- Search the issues already opened: https://github.com/googleapis/java-websecurityscanner/issues
- Check for answers on StackOverflow: http://stackoverflow.com/questions/tagged/google-cloud-platform

If you are still having issues, please include as much information as possible:

#### Environment details

1. Specify the API at the beginning of the title. For example, "BigQuery: ...").
General, Core, and Other are also allowed as types
2. OS type and version:
3. Java version:
4. websecurityscanner version(s):

#### Steps to reproduce

1. ?
2. ?

#### Code example

```java
// example
```

#### Stack trace
```
Any relevant stacktrace here.
```

#### External references such as API reference guides

- ?

#### Any additional information below


Following these steps guarantees the quickest resolution possible.

Thanks!
@@ -0,0 +1,21 @@
---
name: Feature request
about: Suggest an idea for this library

---

Thanks for stopping by to let us know something could be better!

**PLEASE READ**: If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/) instead of filing on GitHub. This will ensure a timely response.

**Is your feature request related to a problem? Please describe.**
What the problem is. Example: I'm always frustrated when [...]

**Describe the solution you'd like**
What you want to happen.

**Describe alternatives you've considered**
Any alternative solutions or features you've considered.

**Additional context**
Any other context or screenshots about the feature request.
@@ -0,0 +1,7 @@
---
name: Support request
about: If you have a support contract with Google, please create an issue in the Google Cloud Support console.

---

**PLEASE READ**: If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/) instead of filing on GitHub. This will ensure a timely response.
@@ -0,0 +1 @@
Fixes #<issue_number_goes_here> (it's a good idea to open an issue first for context and/or discussion)
@@ -0,0 +1 @@
releaseType: java-yoshi
@@ -0,0 +1,3 @@
:: See documentation in type-shell-output.bat

"C:\Program Files\Git\bin\bash.exe" github/java-websecurityscanner/.kokoro/build.sh
@@ -0,0 +1,54 @@
#!/bin/bash
# Copyright 2019 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

set -eo pipefail

## Get the directory of the build script
scriptDir=$(realpath $(dirname "${BASH_SOURCE[0]}"))
## cd to the parent directory, i.e. the root of the git repo
cd ${scriptDir}/..

# Print out Java version
java -version
echo ${JOB_TYPE}

mvn install -B -V \
-DskipTests=true \
-Dmaven.javadoc.skip=true \
-Dgcloud.download.skip=true \
-T 1C

# if GOOGLE_APPLICATION_CREDIENTIALS is specified as a relative path prepend Kokoro root directory onto it
if [[ ! -z "${GOOGLE_APPLICATION_CREDENTIALS}" && "${GOOGLE_APPLICATION_CREDENTIALS}" != /* ]]; then
export GOOGLE_APPLICATION_CREDENTIALS=$(realpath ${KOKORO_ROOT}/src/${GOOGLE_APPLICATION_CREDENTIALS})
fi

case ${JOB_TYPE} in
test)
mvn test -B
bash ${KOKORO_GFILE_DIR}/codecov.sh
;;
lint)
mvn com.coveo:fmt-maven-plugin:check
;;
javadoc)
mvn javadoc:javadoc javadoc:test-javadoc
;;
integration)
mvn -B ${INTEGRATION_TEST_ARGS} -DtrimStackTrace=false -fae verify
;;
*)
;;
esac
@@ -0,0 +1,13 @@
# Format: //devtools/kokoro/config/proto/build.proto

# Download trampoline resources. These will be in ${KOKORO_GFILE_DIR}
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline"

# All builds use the trampoline script to run in docker.
build_file: "java-websecurityscanner/.kokoro/trampoline.sh"

# Tell the trampoline which build file to use.
env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
value: "github/java-websecurityscanner/.kokoro/build.sh"
}
@@ -0,0 +1,24 @@
# Format: //devtools/kokoro/config/proto/build.proto

# Build logs will be here
action {
define_artifacts {
regex: "**/*sponge_log.xml"
}
}

# Download trampoline resources.
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline"

# Use the trampoline script to run in docker.
build_file: "java-websecurityscanner/.kokoro/trampoline.sh"

env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
value: "github/java-websecurityscanner/.kokoro/build.sh"
}

env_vars: {
key: "JOB_TYPE"
value: "test"
}
@@ -0,0 +1,12 @@
# Format: //devtools/kokoro/config/proto/build.proto

# Configure the docker image for kokoro-trampoline.
env_vars: {
key: "TRAMPOLINE_IMAGE"
value: "gcr.io/cloud-devrel-kokoro-resources/java8"
}

env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
value: "github/java-websecurityscanner/.kokoro/dependencies.sh"
}
@@ -0,0 +1,7 @@
# Format: //devtools/kokoro/config/proto/build.proto

# Configure the docker image for kokoro-trampoline.
env_vars: {
key: "TRAMPOLINE_IMAGE"
value: "gcr.io/cloud-devrel-kokoro-resources/java8"
}
@@ -0,0 +1,7 @@
# Format: //devtools/kokoro/config/proto/build.proto

# Configure the docker image for kokoro-trampoline.
env_vars: {
key: "TRAMPOLINE_IMAGE"
value: "gcr.io/cloud-devrel-kokoro-resources/java11"
}
@@ -0,0 +1,7 @@
# Format: //devtools/kokoro/config/proto/build.proto

# Configure the docker image for kokoro-trampoline.
env_vars: {
key: "TRAMPOLINE_IMAGE"
value: "gcr.io/cloud-devrel-kokoro-resources/java7"
}
@@ -0,0 +1,3 @@
# Format: //devtools/kokoro/config/proto/build.proto

build_file: "java-websecurityscanner/.kokoro/build.sh"
@@ -0,0 +1,3 @@
# Format: //devtools/kokoro/config/proto/build.proto

build_file: "java-websecurityscanner/.kokoro/build.bat"
@@ -0,0 +1,7 @@
# Format: //devtools/kokoro/config/proto/build.proto

# Configure the docker image for kokoro-trampoline.
env_vars: {
key: "TRAMPOLINE_IMAGE"
value: "gcr.io/cloud-devrel-kokoro-resources/java8"
}
@@ -0,0 +1,13 @@
# Format: //devtools/kokoro/config/proto/build.proto

# Configure the docker image for kokoro-trampoline.

env_vars: {
key: "TRAMPOLINE_IMAGE"
value: "gcr.io/cloud-devrel-kokoro-resources/java8"
}

env_vars: {
key: "JOB_TYPE"
value: "lint"
}
@@ -0,0 +1,53 @@
# Format: //devtools/kokoro/config/proto/build.proto

# Build logs will be here
action {
define_artifacts {
regex: "**/*sponge_log.xml"
}
}

# Download trampoline resources.
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline"

# Use the trampoline script to run in docker.
build_file: "java-websecurityscanner/.kokoro/trampoline.sh"

# Configure the docker image for kokoro-trampoline.
env_vars: {
key: "TRAMPOLINE_IMAGE"
value: "gcr.io/cloud-devrel-kokoro-resources/node:10-user"
}

env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
value: "github/java-websecurityscanner/.kokoro/continuous/propose_release.sh"
}

# tokens used by release-please to keep an up-to-date release PR.
before_action {
fetch_keystore {
keystore_resource {
keystore_config_id: 73713
keyname: "github-magic-proxy-key-release-please"
}
}
}

before_action {
fetch_keystore {
keystore_resource {
keystore_config_id: 73713
keyname: "github-magic-proxy-token-release-please"
}
}
}

before_action {
fetch_keystore {
keystore_resource {
keystore_config_id: 73713
keyname: "github-magic-proxy-url-release-please"
}
}
}
@@ -0,0 +1,29 @@
#!/bin/bash

# Copyright 2019 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

set -eo pipefail

export NPM_CONFIG_PREFIX=/home/node/.npm-global

if [ -f ${KOKORO_KEYSTORE_DIR}/73713_github-magic-proxy-url-release-please ]; then
# Groom the release PR as new commits are merged.
npx release-please release-pr --token=${KOKORO_KEYSTORE_DIR}/73713_github-magic-proxy-token-release-please \
--repo-url=googleapis/java-websecurityscanner \
--package-name="websecurityscanner" \
--api-url=${KOKORO_KEYSTORE_DIR}/73713_github-magic-proxy-url-release-please \
--proxy-key=${KOKORO_KEYSTORE_DIR}/73713_github-magic-proxy-key-release-please \
--release-type=java-yoshi
fi
@@ -0,0 +1,27 @@
#!/bin/bash
# Copyright 2019 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

set -eo pipefail

cd github/java-websecurityscanner/

# Print out Java
java -version
echo $JOB_TYPE

export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=128m"

mvn install -DskipTests=true -B -V
mvn -B dependency:analyze -DfailOnWarning=true
@@ -0,0 +1,33 @@
#!/bin/bash
# Copyright 2019 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

set -eo pipefail
# Display commands being run.
set -x

cd github/java-websecurityscanner/

# Print out Java version
java -version
echo ${JOB_TYPE}

mvn install -DskipTests=true -Dmaven.javadoc.skip=true -Dgcloud.download.skip=true -B -V

# Kokoro job cloud-opensource-java/ubuntu/linkage-monitor-gcs creates this JAR
JAR=linkage-monitor-latest-all-deps.jar
curl -v -O "https://storage.googleapis.com/cloud-opensource-java-linkage-monitor/${JAR}"

# Fails if there's new linkage errors compared with baseline
java -jar ${JAR} com.google.cloud:libraries-bom

0 comments on commit ed44eb5

Please sign in to comment.