Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating a new release #5

Merged
merged 1 commit into from
Dec 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/kyallanum/athena/v0.1.0
module github.com/kyallanum/athena/v1.0.0

go 1.21

Expand Down
10 changes: 5 additions & 5 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import (
"fmt"
"os"

models "github.com/kyallanum/athena/v0.1.0/models"
config "github.com/kyallanum/athena/v0.1.0/models/config"
library "github.com/kyallanum/athena/v0.1.0/models/library"
"github.com/kyallanum/athena/v0.1.0/utils"
models "github.com/kyallanum/athena/v1.0.0/models"
config "github.com/kyallanum/athena/v1.0.0/models/config"
library "github.com/kyallanum/athena/v1.0.0/models/library"
"github.com/kyallanum/athena/v1.0.0/utils"
)

func err_check(err error) {
Expand Down Expand Up @@ -118,7 +118,7 @@ func main() {

parseFlags(&CONFIG_FILE, &LOG_FILE)

fmt.Println("Athena v0.1.0 Starting")
fmt.Println("Athena v1.0.0 Starting")

fmt.Println("Getting Configuration File: ", CONFIG_FILE, "...")
configuration, err := utils.CreateConfiguration(CONFIG_FILE)
Expand Down
4 changes: 2 additions & 2 deletions main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"os"
"testing"

models "github.com/kyallanum/athena/v0.1.0/models/config"
"github.com/kyallanum/athena/v0.1.0/utils"
models "github.com/kyallanum/athena/v1.0.0/models/config"
"github.com/kyallanum/athena/v1.0.0/utils"
)

func TestResolveFile(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion utils/ConfigFile.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"encoding/json"
"fmt"

models "github.com/kyallanum/athena/v0.1.0/models/config"
models "github.com/kyallanum/athena/v1.0.0/models/config"
)

func CreateConfiguration(source string) (config *models.Configuration, err error) {
Expand Down
2 changes: 1 addition & 1 deletion utils/ConfigurationSourceFactory.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"os"

urlverifier "github.com/davidmytton/url-verifier"
config "github.com/kyallanum/athena/v0.1.0/models/config"
config "github.com/kyallanum/athena/v1.0.0/models/config"
)

func getSource(source string) (config.IConfigurationSource, error) {
Expand Down
2 changes: 1 addition & 1 deletion utils/LogFile.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"os"

"github.com/kyallanum/athena/v0.1.0/models"
"github.com/kyallanum/athena/v1.0.0/models"
)

func LoadLogFile(fileName string) (*models.LogFile, error) {
Expand Down
2 changes: 1 addition & 1 deletion utils/Regex.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"regexp"
"strings"

library "github.com/kyallanum/athena/v0.1.0/models/library"
library "github.com/kyallanum/athena/v1.0.0/models/library"
)

// func resolveLine determines whether the current log line matches a
Expand Down
2 changes: 1 addition & 1 deletion utils/Regex_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"reflect"
"testing"

models "github.com/kyallanum/athena/v0.1.0/models/library"
models "github.com/kyallanum/athena/v1.0.0/models/library"
)

func TestResolveLine(t *testing.T) {
Expand Down
6 changes: 3 additions & 3 deletions utils/Rule.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package utils
import (
"fmt"

models "github.com/kyallanum/athena/v0.1.0/models"
config "github.com/kyallanum/athena/v0.1.0/models/config"
library "github.com/kyallanum/athena/v0.1.0/models/library"
models "github.com/kyallanum/athena/v1.0.0/models"
config "github.com/kyallanum/athena/v1.0.0/models/config"
library "github.com/kyallanum/athena/v1.0.0/models/library"
)

func ResolveRule(contents *models.LogFile, rule *config.Rule) (*library.RuleData, error) {
Expand Down
2 changes: 1 addition & 1 deletion utils/Rule_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"reflect"
"testing"

config "github.com/kyallanum/athena/v0.1.0/models/config"
config "github.com/kyallanum/athena/v1.0.0/models/config"
)

func TestResolveRule(t *testing.T) {
Expand Down
6 changes: 3 additions & 3 deletions utils/SearchTerm.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"fmt"
"slices"

models "github.com/kyallanum/athena/v0.1.0/models"
config "github.com/kyallanum/athena/v0.1.0/models/config"
library "github.com/kyallanum/athena/v0.1.0/models/library"
models "github.com/kyallanum/athena/v1.0.0/models"
config "github.com/kyallanum/athena/v1.0.0/models/config"
library "github.com/kyallanum/athena/v1.0.0/models/library"
)

func resolveSearchTerms(logFile *models.LogFile, rule *config.Rule, linesResolved *[]int) (*library.SearchTermData, error) {
Expand Down
2 changes: 1 addition & 1 deletion utils/Summary.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"slices"
"strings"

library "github.com/kyallanum/athena/v0.1.0/models/library"
library "github.com/kyallanum/athena/v1.0.0/models/library"
)

func resolveSummaryLine(summaryLine string, ruleData *library.RuleData) ([]string, error) {
Expand Down
2 changes: 1 addition & 1 deletion utils/SummaryFactory.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"strings"

library "github.com/kyallanum/athena/v0.1.0/models/library"
library "github.com/kyallanum/athena/v1.0.0/models/library"
)

func GetOperation(operation string, key string) (library.ISummaryOperation, error) {
Expand Down