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

L47 entensions #227

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
8 changes: 4 additions & 4 deletions .github/workflows/generate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
run: |
echo "${{ steps.get_sha.outputs.sha }}" > store_sha_file
- name: Archive generated artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: generated-artifacts
path: |
Expand All @@ -82,7 +82,7 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
name: generated-artifacts
- name: Install dependencies
Expand All @@ -103,7 +103,7 @@ jobs:
uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
name: generated-artifacts
- name: Display structure of downloaded files
Expand All @@ -125,7 +125,7 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: 3.6
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
name: generated-artifacts
- name: Display structure of downloaded files
Expand Down
5 changes: 3 additions & 2 deletions do.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,12 @@

# supported values - local openapiart path or None
USE_OPENAPIART_DIR = None
USE_MODELS_DIR = None
USE_MODELS_DIR = None #"C:\\Users\\waseebai\\Documents\\project\\GitHub\\models"


# supported values - branch name or None
USE_OPENAPIART_BRANCH = None
USE_MODELS_BRANCH = None
USE_MODELS_BRANCH = "L47_model_support"

OPENAPIART_REPO = "https://github.com/open-traffic-generator/openapiart.git"
MODELS_REPO = "https://github.com/open-traffic-generator/models.git"
Expand Down
23 changes: 19 additions & 4 deletions gosnappi/go.mod
Original file line number Diff line number Diff line change
@@ -1,12 +1,27 @@
module github.com/open-traffic-generator/snappi/gosnappi

go 1.16
go 1.21

toolchain go1.21.13

require (
github.com/Masterminds/semver/v3 v3.2.1
github.com/Masterminds/semver/v3 v3.3.0
github.com/ghodss/yaml v1.0.0
github.com/gorilla/mux v1.8.1
github.com/stretchr/testify v1.9.0
google.golang.org/grpc v1.64.0
google.golang.org/protobuf v1.34.2
google.golang.org/grpc v1.67.1
google.golang.org/protobuf v1.35.1
)

require (
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/kr/pretty v0.3.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
golang.org/x/net v0.28.0 // indirect
golang.org/x/sys v0.24.0 // indirect
golang.org/x/text v0.17.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240814211410-ddb44dafa142 // indirect
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
gopkg.in/yaml.v2 v2.2.3 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
2,623 changes: 14 additions & 2,609 deletions gosnappi/go.sum

Large diffs are not rendered by default.

Loading