Skip to content

Commit

Permalink
Command Refactor (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
wizedkyle authored Jul 19, 2021
1 parent 8f764d7 commit e7245f0
Show file tree
Hide file tree
Showing 223 changed files with 1,763 additions and 3,995 deletions.
21 changes: 12 additions & 9 deletions .github/workflows/sumocli-build.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Sumocli Build and Release

env:
GOVERSION: '1.16.6'

on:
push:
tags:
Expand All @@ -12,7 +15,7 @@ jobs:
steps:
- name: Set Version Variable
run: |
echo "TAG=${GITHUB_REF/refs\/tags\/v/}" >> $GITHUB_ENV
echo "TAG=${GITHUB_REF/refs\/tags\/}" >> $GITHUB_ENV
- name: Create Release
id: create_release
uses: actions/create-release@v1
Expand All @@ -34,14 +37,14 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: '1.16.5'
go-version: env.GOVERSION
- name: Setup Dotnet
uses: actions/setup-dotnet@v1
with:
dotnet-version: '2.1.x'
- name: Set Version Variable
run: |
echo "TAG=${GITHUB_REF/refs\/tags\/v/}" >> $GITHUB_ENV
echo "TAG=${GITHUB_REF/refs\/tags\/}" >> $GITHUB_ENV
- name: Install AzureSignTool
shell: pwsh
run: dotnet tool install --global AzureSignTool --version 2.0.17
Expand Down Expand Up @@ -94,10 +97,10 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: '1.16.5'
go-version: env.GOVERSION
- name: Set Version Variable
run: |
echo "TAG=${GITHUB_REF/refs\/tags\/v/}" >> $GITHUB_ENV
echo "TAG=${GITHUB_REF/refs\/tags\/}" >> $GITHUB_ENV
- name: Checkout Repo
uses: actions/checkout@v2
- name: Download Dependencies
Expand Down Expand Up @@ -135,10 +138,10 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: '1.16.5'
go-version: env.GOVERSION
- name: Set Version Variable
run: |
echo "TAG=${GITHUB_REF/refs\/tags\/v/}" >> $GITHUB_ENV
echo "TAG=${GITHUB_REF/refs\/tags\/}" >> $GITHUB_ENV
- name: Checkout Repo
uses: actions/checkout@v2
- name: Download Dependencies
Expand Down Expand Up @@ -205,10 +208,10 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: '1.16.5'
go-version: env.GOVERSION
- name: Set Version Variable
run: |
echo "TAG=${GITHUB_REF/refs\/tags\/v/}" >> $GITHUB_ENV
echo "TAG=${GITHUB_REF/refs\/tags\/}" >> $GITHUB_ENV
- name: Checkout Repo
uses: actions/checkout@v2
- name: Download Dependencies
Expand Down
8 changes: 8 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions .idea/sumocli.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion COMPATIBILITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ You can find further information about supported Sumo Logic sources in their [do
| AWS CloudTrail Source | :white_check_mark: | |
| AWS S3 Audit Source | | |
| AWS Metadata (Tag) Source | | |
| Azure Event Hubs Source | | |
| Azure Event Hubs Source | :white_check_mark: | |
| Carbon Black Cloud Source | | |
| Cloud Syslog Source | | |
| Cisco AMP Source | | |
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ SUMO_ACCESS_ID: abcefghi
SUMO_ACCESS_KEY: AbCeFG123
SUMO_ENDPOINT: https://api.<regioncode>.sumologic.com/api/
SUMO_ENDPOINT: https://api.<regioncode>.sumologic.com/api
```

For a full list of Sumo Logic regions to API endpoints see this page:
Expand Down Expand Up @@ -73,7 +73,7 @@ The contents of the credential file is as follows:
"accessid": "abcefghi",
"accesskey": "AbCeFG123",
"region": "<regioncode>",
"endpoint": "https://api.<regioncode>.sumologic.com/api/"
"endpoint": "https://api.<regioncode>.sumologic.com/api"
}
```

Expand Down
25 changes: 0 additions & 25 deletions api/access-keys.go

This file was deleted.

14 changes: 0 additions & 14 deletions api/account.go

This file was deleted.

73 changes: 0 additions & 73 deletions api/apps.go

This file was deleted.

37 changes: 0 additions & 37 deletions api/archive-ingestion.go

This file was deleted.

29 changes: 0 additions & 29 deletions api/azure-sources.go

This file was deleted.

38 changes: 0 additions & 38 deletions api/roles.go

This file was deleted.

Loading

0 comments on commit e7245f0

Please sign in to comment.