-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #515 from owasp-noir/issue-511-add-cache-scope
Add cache scope to Docker actions and fix #508
- Loading branch information
Showing
5 changed files
with
58 additions
and
8 deletions.
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
42 changes: 42 additions & 0 deletions
42
spec/functional_test/fixtures/java/spring/src/ItemController2.java
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,42 @@ | ||
package com.test; | ||
import org.springframework.web.bind.annotation.*; | ||
import a.b.c.bind.annotation.*; | ||
import org.springframework.c.d.e.*; | ||
|
||
@RestController | ||
@RequestMapping("items2") | ||
public class ItemController { | ||
|
||
@GetMapping("{id}") | ||
public Item getItem(@PathVariable Long id) throws ItemNotFoundException { | ||
} | ||
|
||
@PostMapping("/create") | ||
public Item createItem(@RequestBody Item item) { | ||
} | ||
|
||
@PutMapping("edit/") | ||
public Item editItem(@RequestBody Item item) { | ||
} | ||
} | ||
|
||
class Item { | ||
int id; | ||
String name; | ||
|
||
public void setId(int _id) { | ||
id = _id; | ||
} | ||
|
||
public int getId() { | ||
return id; | ||
} | ||
|
||
public void setName(String _name) { | ||
name = _name; | ||
} | ||
|
||
public String getName() { | ||
return name; | ||
} | ||
} |
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
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