-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #22 from SolaceDev/dev
Release v1.7.0
- Loading branch information
Showing
63 changed files
with
3,800 additions
and
383 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,10 +25,11 @@ jobs: | |
run: go test -coverprofile ./unitcoverage.out ./... | ||
- name: Uploads artifacts | ||
if: ${{ always() }} | ||
uses: actions/upload-artifact@v2 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
path: | | ||
./unitcoverage.out | ||
overwrite: true | ||
|
||
# this job runs linux based tests | ||
Linux: | ||
|
@@ -39,6 +40,11 @@ jobs: | |
steps: | ||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
- uses: actions/checkout@v2 | ||
- name: Install Compose | ||
uses: ndeloof/[email protected] | ||
with: | ||
version: v2.29.1 # pinned to 'latest' as of 06/08/2024 | ||
legacy: true # will also install in PATH as `docker-compose` | ||
- name: Setup Go environment | ||
uses: actions/[email protected] | ||
with: | ||
|
@@ -104,16 +110,17 @@ jobs: | |
run: | | ||
mkdir reports | ||
go install github.com/onsi/ginkgo/v2/[email protected] | ||
ginkgo --junit-report=./reports/report.xml -coverprofile ./reports/coverage.out -coverpkg solace.dev/go/messaging/internal/...,solace.dev/go/messaging/pkg/... -tags enable_debug_logging | ||
ginkgo --junit-report=./reports/report.xml -coverprofile ./reports/coverage.out -coverpkg solace.dev/go/messaging/internal/...,solace.dev/go/messaging/pkg/... -tags enable_debug_logging --label-filter='!flaky-test' | ||
working-directory: ./test | ||
|
||
- name: Uploads artifacts | ||
if: ${{ always() }} | ||
uses: actions/upload-artifact@v2 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
path: | | ||
./unitcoverage.out | ||
./test/reports/report.xml | ||
./test/reports/coverage.out | ||
./test/diagnostics.tgz | ||
overwrite: true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
// pubsubplus-go-client | ||
// | ||
// Copyright 2021-2024 Solace Corporation. All rights reserved. | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
package ccsmp | ||
|
||
/* | ||
#include "solclient/solClient.h" | ||
*/ | ||
import "C" | ||
|
||
const ( | ||
// SolClientEndpointPermissionNone: with no permissions | ||
SolClientEndpointPermissionNone = C.SOLCLIENT_ENDPOINT_PERM_NONE | ||
// SolClientEndpointPermissionReadOnly: with read-only permission | ||
SolClientEndpointPermissionReadOnly = C.SOLCLIENT_ENDPOINT_PERM_READ_ONLY | ||
// SolClientEndpointPermissionConsume: with consume permission | ||
SolClientEndpointPermissionConsume = C.SOLCLIENT_ENDPOINT_PERM_CONSUME | ||
// SolClientEndpointPermissionTopic: with Modify Topic permission | ||
SolClientEndpointPermissionModifyTopic = C.SOLCLIENT_ENDPOINT_PERM_MODIFY_TOPIC | ||
// SolClientEndpointPermissionDelete: with Delete (all) permissions | ||
SolClientEndpointPermissionDelete = C.SOLCLIENT_ENDPOINT_PERM_DELETE | ||
) |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.