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
#Tue Sep 05 01:07:19 CEST 2023 | |
recipe.artifacts=org.openrewrite|rewrite-cobol|2.13.0-SNAPSHOT|2.13.0-20230902.180721-21|https\://oss.sonatype.org/content/repositories/snapshots,org.openrewrite.recipe|rewrite-spring|5.1.0-SNAPSHOT|5.1.0-20230902.182431-117|https\://oss.sonatype.org/content/repositories/snapshots,org.openrewrite.recipe|rewrite-static-analysis|1.1.0-SNAPSHOT|1.1.0-20230902.171339-149|https\://oss.sonatype.org/content/repositories/snapshots,org.openrewrite.recipe|rewrite-github-actions|2.1.0-SNAPSHOT|2.1.0-20230902.181229-99|https\://oss.sonatype.org/content/repositories/snapshots,org.openrewrite.recipe|rewrite-concourse|2.1.0-SNAPSHOT|2.1.0-20230902.181809-97|https\://oss.sonatype.org/content/repositories/snapshots,org.openrewrite.recipe|rewrite-jhipster|2.1.0-SNAPSHOT|2.1.0-20230902.181232-99|https\://oss.sonatype.org/content/repositories/snapshots,org.openrewrite.recipe|rewrite-recommendations|1.1.0-SNAPSHOT|1.1.0-20230902.180723-96|https\://oss.sonatype.org/content/repositories/snapshots,org. |
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
#Tue Sep 05 01:07:19 CEST 2023 | |
io.moderne.ai.search.FindCodeThatResembles=org.openrewrite.recipe|rewrite-ai-search|0.2.0-SNAPSHOT|0.2.0-20230902.171309-35|https\://oss.sonatype.org/content/repositories/snapshots | |
org.openrewrite.DeleteSourceFiles=org.openrewrite|rewrite-core|8.5.0-SNAPSHOT|8.5.0-20230902.160738-43|https\://oss.sonatype.org/content/repositories/snapshots | |
org.openrewrite.FindCallGraph=org.openrewrite.recipe|rewrite-all|1.1.0-SNAPSHOT|1.1.0-20230902.180912-108|https\://oss.sonatype.org/content/repositories/snapshots | |
org.openrewrite.FindCollidingSourceFiles=org.openrewrite|rewrite-core|8.5.0-SNAPSHOT|8.5.0-20230902.160738-43|https\://oss.sonatype.org/content/repositories/snapshots | |
org.openrewrite.FindDuplicateSourceFiles=org.openrewrite.recipe|rewrite-all|1.1.0-SNAPSHOT|1.1.0-20230902.180912-108|https\://oss.sonatype.org/content/repositories/snapshots | |
org.openrewrite.FindGitProvenance=org.openrewrite|rewrite-core|8.5.0-SNAPSHOT|8.5.0-20230902.160738-43|https\://oss.sonatype.org/content/repositorie |
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
metadata: | |
name: "security-team/container-scan" | |
type: "brick" | |
golden-paths: | |
- “backend” | |
inputs: | |
image: | |
type: "string" | |
default: "${{repository.name}}:${{repository.sha}}" | |
steps: |
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
metadata: | |
type: "repository" | |
workflows: | |
- url: "github.com/cloudbees/build-flows/go-lang@0.0.1" | |
- url: "github.com/cloudbees/security-flows/anchore-scan@3.4.1" | |
- url: "github.com/cloudbees/deployment-flows/trunk-based/k8s@1.2.3" | |
params: | |
namespaces: | |
- "product-team-a" |
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
metadata: | |
name: "container-scan" | |
type: "integration" | |
on: | |
brick: "delivery-team/push-image:1.0" | |
alias: "push-image" | |
status: "success" | |
run: | |
brick: "security-team/container-scan:1.0" | |
with: |
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
name: Greetings | |
on: [pull_request, issues] | |
jobs: | |
greeting: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/first-interaction@v1 | |
with: |
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
<plugin> | |
<groupId>org.walkmod.maven.plugins</groupId> | |
<artifactId>walkmod-maven-plugin</artifactId> | |
<version>2.0.1</version> | |
<executions> | |
<execution> | |
<goals> | |
<goal>patch</goal> | |
</goals> | |
<configuration> |
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
buildscript { | |
repositories { | |
mavenCentral() | |
jcenter() | |
} | |
dependencies { | |
classpath 'org.walkmod:gradle-walkmod-plugin:0.0.3' | |
} | |
} |
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
public class Calculator { | |
private double total = 0; | |
public int getTotal(){ | |
return total; | |
} | |
public void pow(double value) { | |
total = Math.pow(total, value); |
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
import java.io.InputStream; | |
import java.util.LinkedList; | |
public class Calculator { | |
private double total = 0, zero=0; | |
private void reset(){total = 0;} | |
public int getTotal(){return total;} | |
public void sum(double value){total+=value;} | |
public void pow(double value) { |
NewerOlder