Skip to content

Commit

Permalink
🐛 Fixed #330 (#333)
Browse files Browse the repository at this point in the history
🐛 Fixed #330
  • Loading branch information
ctreminiom authored Oct 20, 2024
1 parent 3fd17a6 commit 0ee9a0f
Show file tree
Hide file tree
Showing 386 changed files with 978 additions and 978 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ The **go-atlassian** library is designed to simplify the process of building Go

If you do not have [Go](https://golang.org/) installed yet, you can find installation instructions
[here](https://golang.org/doc/install). Please note that the package requires Go version
1.17 or later for module support.
1.20 or later for module support.

To pull the most recent version of **go-atlassian**, use `go get`.

```
go get github.com/ctreminiom/go-atlassian
go get github.com/ctreminiom/go-atlassian/v2
```

-------------------------
Expand Down
6 changes: 3 additions & 3 deletions admin/api_client_impl.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import (
"net/http"
"net/url"

"github.com/ctreminiom/go-atlassian/admin/internal"
model "github.com/ctreminiom/go-atlassian/pkg/infra/models"
"github.com/ctreminiom/go-atlassian/service/common"
"github.com/ctreminiom/go-atlassian/v2/admin/internal"
model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models"
"github.com/ctreminiom/go-atlassian/v2/service/common"
)

const defaultAPIEndpoint = "https://api.atlassian.com/"
Expand Down
8 changes: 4 additions & 4 deletions admin/api_client_impl_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ import (

"github.com/stretchr/testify/assert"

"github.com/ctreminiom/go-atlassian/admin/internal"
model "github.com/ctreminiom/go-atlassian/pkg/infra/models"
"github.com/ctreminiom/go-atlassian/service/common"
"github.com/ctreminiom/go-atlassian/service/mocks"
"github.com/ctreminiom/go-atlassian/v2/admin/internal"
model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models"
"github.com/ctreminiom/go-atlassian/v2/service/common"
"github.com/ctreminiom/go-atlassian/v2/service/mocks"
)

func TestClient_Call(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions admin/internal/authentication_impl.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package internal

import (
"github.com/ctreminiom/go-atlassian/service"
"github.com/ctreminiom/go-atlassian/service/common"
"github.com/ctreminiom/go-atlassian/v2/service"
"github.com/ctreminiom/go-atlassian/v2/service/common"
)

// NewAuthenticationService creates a new instance of AuthenticationService.
Expand Down
6 changes: 3 additions & 3 deletions admin/internal/authentication_impl_test.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package internal

import (
"github.com/ctreminiom/go-atlassian/service"
"github.com/ctreminiom/go-atlassian/service/common"
"github.com/ctreminiom/go-atlassian/service/mocks"
"github.com/ctreminiom/go-atlassian/v2/service"
"github.com/ctreminiom/go-atlassian/v2/service/common"
"github.com/ctreminiom/go-atlassian/v2/service/mocks"
"github.com/stretchr/testify/assert"
"reflect"
"testing"
Expand Down
6 changes: 3 additions & 3 deletions admin/internal/organization_directory_impl.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (
"fmt"
"net/http"

model "github.com/ctreminiom/go-atlassian/pkg/infra/models"
"github.com/ctreminiom/go-atlassian/service"
"github.com/ctreminiom/go-atlassian/service/admin"
model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models"
"github.com/ctreminiom/go-atlassian/v2/service"
"github.com/ctreminiom/go-atlassian/v2/service/admin"
)

// NewOrganizationDirectoryService creates a new instance of OrganizationDirectoryService.
Expand Down
6 changes: 3 additions & 3 deletions admin/internal/organization_directory_impl_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package internal
import (
"context"
"errors"
model "github.com/ctreminiom/go-atlassian/pkg/infra/models"
"github.com/ctreminiom/go-atlassian/service"
"github.com/ctreminiom/go-atlassian/service/mocks"
model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models"
"github.com/ctreminiom/go-atlassian/v2/service"
"github.com/ctreminiom/go-atlassian/v2/service/mocks"
"github.com/stretchr/testify/assert"
"net/http"
"testing"
Expand Down
6 changes: 3 additions & 3 deletions admin/internal/organization_impl.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import (
"strconv"
"strings"

model "github.com/ctreminiom/go-atlassian/pkg/infra/models"
"github.com/ctreminiom/go-atlassian/service"
"github.com/ctreminiom/go-atlassian/service/admin"
model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models"
"github.com/ctreminiom/go-atlassian/v2/service"
"github.com/ctreminiom/go-atlassian/v2/service/admin"
)

// NewOrganizationService creates a new instance of the OrganizationService.
Expand Down
6 changes: 3 additions & 3 deletions admin/internal/organization_impl_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package internal
import (
"context"
"errors"
model "github.com/ctreminiom/go-atlassian/pkg/infra/models"
"github.com/ctreminiom/go-atlassian/service"
"github.com/ctreminiom/go-atlassian/service/mocks"
model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models"
"github.com/ctreminiom/go-atlassian/v2/service"
"github.com/ctreminiom/go-atlassian/v2/service/mocks"
"github.com/stretchr/testify/assert"
"net/http"
"testing"
Expand Down
6 changes: 3 additions & 3 deletions admin/internal/organization_policy_impl.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package internal
import (
"context"
"fmt"
model "github.com/ctreminiom/go-atlassian/pkg/infra/models"
"github.com/ctreminiom/go-atlassian/service"
"github.com/ctreminiom/go-atlassian/service/admin"
model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models"
"github.com/ctreminiom/go-atlassian/v2/service"
"github.com/ctreminiom/go-atlassian/v2/service/admin"
"net/http"
"net/url"
"strings"
Expand Down
6 changes: 3 additions & 3 deletions admin/internal/organization_policy_impl_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package internal
import (
"context"
"errors"
model "github.com/ctreminiom/go-atlassian/pkg/infra/models"
"github.com/ctreminiom/go-atlassian/service"
"github.com/ctreminiom/go-atlassian/service/mocks"
model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models"
"github.com/ctreminiom/go-atlassian/v2/service"
"github.com/ctreminiom/go-atlassian/v2/service/mocks"
"github.com/stretchr/testify/assert"
"net/http"
"testing"
Expand Down
6 changes: 3 additions & 3 deletions admin/internal/scim_group_impl.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package internal
import (
"context"
"fmt"
model "github.com/ctreminiom/go-atlassian/pkg/infra/models"
"github.com/ctreminiom/go-atlassian/service"
"github.com/ctreminiom/go-atlassian/service/admin"
model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models"
"github.com/ctreminiom/go-atlassian/v2/service"
"github.com/ctreminiom/go-atlassian/v2/service/admin"
"net/http"
"net/url"
"strconv"
Expand Down
6 changes: 3 additions & 3 deletions admin/internal/scim_group_impl_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package internal
import (
"context"
"errors"
model "github.com/ctreminiom/go-atlassian/pkg/infra/models"
"github.com/ctreminiom/go-atlassian/service"
"github.com/ctreminiom/go-atlassian/service/mocks"
model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models"
"github.com/ctreminiom/go-atlassian/v2/service"
"github.com/ctreminiom/go-atlassian/v2/service/mocks"
"github.com/stretchr/testify/assert"
"net/http"
"testing"
Expand Down
6 changes: 3 additions & 3 deletions admin/internal/scim_schema_impl.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package internal
import (
"context"
"fmt"
model "github.com/ctreminiom/go-atlassian/pkg/infra/models"
"github.com/ctreminiom/go-atlassian/service"
"github.com/ctreminiom/go-atlassian/service/admin"
model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models"
"github.com/ctreminiom/go-atlassian/v2/service"
"github.com/ctreminiom/go-atlassian/v2/service/admin"
"net/http"
)

Expand Down
6 changes: 3 additions & 3 deletions admin/internal/scim_schema_impl_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package internal
import (
"context"
"errors"
model "github.com/ctreminiom/go-atlassian/pkg/infra/models"
"github.com/ctreminiom/go-atlassian/service"
"github.com/ctreminiom/go-atlassian/service/mocks"
model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models"
"github.com/ctreminiom/go-atlassian/v2/service"
"github.com/ctreminiom/go-atlassian/v2/service/mocks"
"github.com/stretchr/testify/assert"
"net/http"
"testing"
Expand Down
6 changes: 3 additions & 3 deletions admin/internal/scim_user_impl.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package internal
import (
"context"
"fmt"
model "github.com/ctreminiom/go-atlassian/pkg/infra/models"
"github.com/ctreminiom/go-atlassian/service"
"github.com/ctreminiom/go-atlassian/service/admin"
model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models"
"github.com/ctreminiom/go-atlassian/v2/service"
"github.com/ctreminiom/go-atlassian/v2/service/admin"
"net/http"
"net/url"
"strconv"
Expand Down
6 changes: 3 additions & 3 deletions admin/internal/scim_user_impl_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package internal
import (
"context"
"errors"
model "github.com/ctreminiom/go-atlassian/pkg/infra/models"
"github.com/ctreminiom/go-atlassian/service"
"github.com/ctreminiom/go-atlassian/service/mocks"
model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models"
"github.com/ctreminiom/go-atlassian/v2/service"
"github.com/ctreminiom/go-atlassian/v2/service/mocks"
"github.com/stretchr/testify/assert"
"net/http"
"testing"
Expand Down
6 changes: 3 additions & 3 deletions admin/internal/user_impl.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package internal
import (
"context"
"fmt"
model "github.com/ctreminiom/go-atlassian/pkg/infra/models"
"github.com/ctreminiom/go-atlassian/service"
"github.com/ctreminiom/go-atlassian/service/admin"
model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models"
"github.com/ctreminiom/go-atlassian/v2/service"
"github.com/ctreminiom/go-atlassian/v2/service/admin"
"net/http"
"net/url"
"strings"
Expand Down
6 changes: 3 additions & 3 deletions admin/internal/user_impl_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package internal
import (
"context"
"errors"
model "github.com/ctreminiom/go-atlassian/pkg/infra/models"
"github.com/ctreminiom/go-atlassian/service"
"github.com/ctreminiom/go-atlassian/service/mocks"
model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models"
"github.com/ctreminiom/go-atlassian/v2/service"
"github.com/ctreminiom/go-atlassian/v2/service/mocks"
"github.com/stretchr/testify/assert"
"net/http"
"testing"
Expand Down
6 changes: 3 additions & 3 deletions admin/internal/user_token_impl.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package internal
import (
"context"
"fmt"
model "github.com/ctreminiom/go-atlassian/pkg/infra/models"
"github.com/ctreminiom/go-atlassian/service"
"github.com/ctreminiom/go-atlassian/service/admin"
model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models"
"github.com/ctreminiom/go-atlassian/v2/service"
"github.com/ctreminiom/go-atlassian/v2/service/admin"
"net/http"
)

Expand Down
6 changes: 3 additions & 3 deletions admin/internal/user_token_impl_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package internal
import (
"context"
"errors"
model "github.com/ctreminiom/go-atlassian/pkg/infra/models"
"github.com/ctreminiom/go-atlassian/service"
"github.com/ctreminiom/go-atlassian/service/mocks"
model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models"
"github.com/ctreminiom/go-atlassian/v2/service"
"github.com/ctreminiom/go-atlassian/v2/service/mocks"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/mock"
"net/http"
Expand Down
6 changes: 3 additions & 3 deletions assets/api_client_impl.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import (
"net/http"
"net/url"

"github.com/ctreminiom/go-atlassian/assets/internal"
model "github.com/ctreminiom/go-atlassian/pkg/infra/models"
"github.com/ctreminiom/go-atlassian/service/common"
"github.com/ctreminiom/go-atlassian/v2/assets/internal"
model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models"
"github.com/ctreminiom/go-atlassian/v2/service/common"
)

const DefaultAssetsSite = "https://api.atlassian.com/"
Expand Down
8 changes: 4 additions & 4 deletions assets/api_client_impl_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ import (

"github.com/stretchr/testify/assert"

"github.com/ctreminiom/go-atlassian/assets/internal"
model "github.com/ctreminiom/go-atlassian/pkg/infra/models"
"github.com/ctreminiom/go-atlassian/service/common"
"github.com/ctreminiom/go-atlassian/service/mocks"
"github.com/ctreminiom/go-atlassian/v2/assets/internal"
model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models"
"github.com/ctreminiom/go-atlassian/v2/service/common"
"github.com/ctreminiom/go-atlassian/v2/service/mocks"
)

func TestClient_Call(t *testing.T) {
Expand Down
6 changes: 3 additions & 3 deletions assets/internal/aql_impl.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package internal
import (
"context"
"fmt"
model "github.com/ctreminiom/go-atlassian/pkg/infra/models"
"github.com/ctreminiom/go-atlassian/service"
"github.com/ctreminiom/go-atlassian/service/assets"
model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models"
"github.com/ctreminiom/go-atlassian/v2/service"
"github.com/ctreminiom/go-atlassian/v2/service/assets"
"net/http"
"net/url"
"strconv"
Expand Down
6 changes: 3 additions & 3 deletions assets/internal/aql_impl_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package internal
import (
"context"
"errors"
model "github.com/ctreminiom/go-atlassian/pkg/infra/models"
"github.com/ctreminiom/go-atlassian/service"
"github.com/ctreminiom/go-atlassian/service/mocks"
model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models"
"github.com/ctreminiom/go-atlassian/v2/service"
"github.com/ctreminiom/go-atlassian/v2/service/mocks"
"github.com/stretchr/testify/assert"
"net/http"
"testing"
Expand Down
4 changes: 2 additions & 2 deletions assets/internal/authentication_impl.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package internal

import (
"github.com/ctreminiom/go-atlassian/service"
"github.com/ctreminiom/go-atlassian/service/common"
"github.com/ctreminiom/go-atlassian/v2/service"
"github.com/ctreminiom/go-atlassian/v2/service/common"
)

// NewAuthenticationService creates a new instance of AuthenticationService.
Expand Down
6 changes: 3 additions & 3 deletions assets/internal/authentication_impl_test.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package internal

import (
"github.com/ctreminiom/go-atlassian/service"
"github.com/ctreminiom/go-atlassian/service/common"
"github.com/ctreminiom/go-atlassian/service/mocks"
"github.com/ctreminiom/go-atlassian/v2/service"
"github.com/ctreminiom/go-atlassian/v2/service/common"
"github.com/ctreminiom/go-atlassian/v2/service/mocks"
"github.com/stretchr/testify/assert"
"reflect"
"testing"
Expand Down
6 changes: 3 additions & 3 deletions assets/internal/icon_impl.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package internal
import (
"context"
"fmt"
model "github.com/ctreminiom/go-atlassian/pkg/infra/models"
"github.com/ctreminiom/go-atlassian/service"
"github.com/ctreminiom/go-atlassian/service/assets"
model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models"
"github.com/ctreminiom/go-atlassian/v2/service"
"github.com/ctreminiom/go-atlassian/v2/service/assets"
"net/http"
)

Expand Down
6 changes: 3 additions & 3 deletions assets/internal/icon_impl_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package internal
import (
"context"
"errors"
model "github.com/ctreminiom/go-atlassian/pkg/infra/models"
"github.com/ctreminiom/go-atlassian/service"
"github.com/ctreminiom/go-atlassian/service/mocks"
model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models"
"github.com/ctreminiom/go-atlassian/v2/service"
"github.com/ctreminiom/go-atlassian/v2/service/mocks"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/mock"
"net/http"
Expand Down
6 changes: 3 additions & 3 deletions assets/internal/object_impl.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package internal
import (
"context"
"fmt"
model "github.com/ctreminiom/go-atlassian/pkg/infra/models"
"github.com/ctreminiom/go-atlassian/service"
"github.com/ctreminiom/go-atlassian/service/assets"
model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models"
"github.com/ctreminiom/go-atlassian/v2/service"
"github.com/ctreminiom/go-atlassian/v2/service/assets"
"net/http"
"net/url"
"strconv"
Expand Down
Loading

0 comments on commit 0ee9a0f

Please sign in to comment.