Skip to content

Commit

Permalink
chore(cloud): remove old api code (#1616)
Browse files Browse the repository at this point in the history
  • Loading branch information
gotbadger committed May 29, 2024
1 parent 9947948 commit 13841fa
Show file tree
Hide file tree
Showing 24 changed files with 3 additions and 822 deletions.
61 changes: 0 additions & 61 deletions .github/workflows/kpi_scans.yml

This file was deleted.

61 changes: 0 additions & 61 deletions .github/workflows/kpi_scans_staging.yml

This file was deleted.

22 changes: 1 addition & 21 deletions api/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,30 +13,10 @@ type Endpoint struct {
}

type APIEndpoints struct {
RequestFileUpload Endpoint
ScanFinished Endpoint
FetchIgnores Endpoint
Hello Endpoint
Version Endpoint
Version Endpoint
}

var Endpoints = APIEndpoints{
RequestFileUpload: Endpoint{
HttpMethod: "POST",
Route: "/cloud/file_uploads",
},
ScanFinished: Endpoint{
HttpMethod: "POST",
Route: "/cloud/scans",
},
FetchIgnores: Endpoint{
HttpMethod: "GET",
Route: "/cloud/ignores",
},
Hello: Endpoint{
HttpMethod: "POST",
Route: "/cloud/hello",
},
Version: Endpoint{
HttpMethod: "GET",
Route: "/r/version",
Expand Down
45 changes: 0 additions & 45 deletions api/fetch_ignores.go

This file was deleted.

8 changes: 0 additions & 8 deletions api/hello.go

This file was deleted.

42 changes: 0 additions & 42 deletions api/request_file_upload.go

This file was deleted.

44 changes: 0 additions & 44 deletions api/s3/sign.go

This file was deleted.

88 changes: 0 additions & 88 deletions api/s3/upload.go

This file was deleted.

Loading

0 comments on commit 13841fa

Please sign in to comment.