Skip to content

Commit

Permalink
Merge pull request #6 from ingrammicro-xvantage/feature
Browse files Browse the repository at this point in the history
Feature
  • Loading branch information
im-deviprakash authored Feb 16, 2024
2 parents 32173de + fd2bc14 commit 0e64636
Show file tree
Hide file tree
Showing 14 changed files with 37 additions and 32 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/find_replace.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,16 @@ jobs:
- uses: actions/checkout@v2
- name: Find and Replace
run: |
find docs/ -type f -name "*.md" -exec sed -i 's/xi_sdk_resellers "https:\/\/github.com\/dprakash2101\/GoSDK"/xi_sdk_resellers "https:\/\/github.com\/dprakash2101\/GoSDK" ingrammicro-xvantage\/xi-sdk-resellers-go/g' {} +
- name: Commit changes
run: |
find docs/ -type f -name "*.md" -exec sed -i 's/openapiclient "github.com\/GIT_USER_ID\/GIT_REPO_ID"/xi_sdk_resellers "https:\/\/github.com\/ingrammicro-xvantage\/xi-sdk-resellers-go"/g' {} +
- name: Commit changes
run: |
git config --global user.email "${{ secrets.ADMIN_EMAIL }}"
git config --global user.name "${{ secrets.ORG_NAME }}"
git add .
git commit -m "Replace openapiclient with Ingrammicroresellerapi"
git push https://${{secrets.WORKFLOW_TOKEN}}@github.com/ingrammicro-xvantage/xi-sdk-resellers-go.git main
if git diff --quiet; then
echo "No changes to commit."
else
git add .
git commit -m "Replace openapiclient with Ingrammicroresellerapi"
git push https://${{secrets.WORKFLOW_TOKEN}}@github.com/ingrammicro-xvantage/xi-sdk-resellers-go.git main
fi
4 changes: 2 additions & 2 deletions docs/DealsAPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"context"
"fmt"
"os"
xi_sdk_resellers "https://github.com/dprakash2101/GoSDK" ingrammicro-xvantage/xi-sdk-resellers-go ingrammicro-xvantage/xi-sdk-resellers-go
xi_sdk_resellers "github.com/ingrammicro-xvantage/xi-sdk-resellers-go ingrammicro-xvantage/xi-sdk-resellers-go"
)

func main() {
Expand Down Expand Up @@ -106,7 +106,7 @@ import (
"context"
"fmt"
"os"
xi_sdk_resellers "https://github.com/dprakash2101/GoSDK" ingrammicro-xvantage/xi-sdk-resellers-go ingrammicro-xvantage/xi-sdk-resellers-go
xi_sdk_resellers "github.com/ingrammicro-xvantage/xi-sdk-resellers-go ingrammicro-xvantage/xi-sdk-resellers-go"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion docs/FreightEstimateAPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
"context"
"fmt"
"os"
xi_sdk_resellers "https://github.com/dprakash2101/GoSDK" ingrammicro-xvantage/xi-sdk-resellers-go ingrammicro-xvantage/xi-sdk-resellers-go
xi_sdk_resellers "github.com/ingrammicro-xvantage/xi-sdk-resellers-go ingrammicro-xvantage/xi-sdk-resellers-go"
)

func main() {
Expand Down
4 changes: 2 additions & 2 deletions docs/InvoicesAPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"context"
"fmt"
"os"
xi_sdk_resellers "https://github.com/dprakash2101/GoSDK" ingrammicro-xvantage/xi-sdk-resellers-go ingrammicro-xvantage/xi-sdk-resellers-go
xi_sdk_resellers "github.com/ingrammicro-xvantage/xi-sdk-resellers-go ingrammicro-xvantage/xi-sdk-resellers-go"
)

func main() {
Expand Down Expand Up @@ -108,7 +108,7 @@ import (
"context"
"fmt"
"os"
xi_sdk_resellers "https://github.com/dprakash2101/GoSDK" ingrammicro-xvantage/xi-sdk-resellers-go ingrammicro-xvantage/xi-sdk-resellers-go
xi_sdk_resellers "github.com/ingrammicro-xvantage/xi-sdk-resellers-go ingrammicro-xvantage/xi-sdk-resellers-go"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion docs/InvoicesV6API.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
"context"
"fmt"
"os"
xi_sdk_resellers "https://github.com/dprakash2101/GoSDK" ingrammicro-xvantage/xi-sdk-resellers-go ingrammicro-xvantage/xi-sdk-resellers-go
xi_sdk_resellers "github.com/ingrammicro-xvantage/xi-sdk-resellers-go ingrammicro-xvantage/xi-sdk-resellers-go"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion docs/OrderStatusAPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
"context"
"fmt"
"os"
xi_sdk_resellers "https://github.com/dprakash2101/GoSDK" ingrammicro-xvantage/xi-sdk-resellers-go ingrammicro-xvantage/xi-sdk-resellers-go
xi_sdk_resellers "github.com/ingrammicro-xvantage/xi-sdk-resellers-go ingrammicro-xvantage/xi-sdk-resellers-go"
)

func main() {
Expand Down
10 changes: 5 additions & 5 deletions docs/OrdersAPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import (
"context"
"fmt"
"os"
xi_sdk_resellers "https://github.com/dprakash2101/GoSDK" ingrammicro-xvantage/xi-sdk-resellers-go ingrammicro-xvantage/xi-sdk-resellers-go
xi_sdk_resellers "github.com/ingrammicro-xvantage/xi-sdk-resellers-go ingrammicro-xvantage/xi-sdk-resellers-go"
)

func main() {
Expand Down Expand Up @@ -108,7 +108,7 @@ import (
"fmt"
"os"
"time"
xi_sdk_resellers "https://github.com/dprakash2101/GoSDK" ingrammicro-xvantage/xi-sdk-resellers-go ingrammicro-xvantage/xi-sdk-resellers-go
xi_sdk_resellers "github.com/ingrammicro-xvantage/xi-sdk-resellers-go ingrammicro-xvantage/xi-sdk-resellers-go"
)

func main() {
Expand Down Expand Up @@ -196,7 +196,7 @@ import (
"context"
"fmt"
"os"
xi_sdk_resellers "https://github.com/dprakash2101/GoSDK" ingrammicro-xvantage/xi-sdk-resellers-go ingrammicro-xvantage/xi-sdk-resellers-go
xi_sdk_resellers "github.com/ingrammicro-xvantage/xi-sdk-resellers-go ingrammicro-xvantage/xi-sdk-resellers-go"
)

func main() {
Expand Down Expand Up @@ -304,7 +304,7 @@ import (
"context"
"fmt"
"os"
xi_sdk_resellers "https://github.com/dprakash2101/GoSDK" ingrammicro-xvantage/xi-sdk-resellers-go ingrammicro-xvantage/xi-sdk-resellers-go
xi_sdk_resellers "github.com/ingrammicro-xvantage/xi-sdk-resellers-go ingrammicro-xvantage/xi-sdk-resellers-go"
)

func main() {
Expand Down Expand Up @@ -378,7 +378,7 @@ import (
"context"
"fmt"
"os"
xi_sdk_resellers "https://github.com/dprakash2101/GoSDK" ingrammicro-xvantage/xi-sdk-resellers-go ingrammicro-xvantage/xi-sdk-resellers-go
xi_sdk_resellers "github.com/ingrammicro-xvantage/xi-sdk-resellers-go ingrammicro-xvantage/xi-sdk-resellers-go"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion docs/OrdersV6API.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"fmt"
"os"
"time"
xi_sdk_resellers "https://github.com/dprakash2101/GoSDK" ingrammicro-xvantage/xi-sdk-resellers-go ingrammicro-xvantage/xi-sdk-resellers-go
xi_sdk_resellers "github.com/ingrammicro-xvantage/xi-sdk-resellers-go ingrammicro-xvantage/xi-sdk-resellers-go"
)

func main() {
Expand Down
6 changes: 3 additions & 3 deletions docs/ProductCatalogAPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (
"context"
"fmt"
"os"
xi_sdk_resellers "https://github.com/dprakash2101/GoSDK" ingrammicro-xvantage/xi-sdk-resellers-go ingrammicro-xvantage/xi-sdk-resellers-go
xi_sdk_resellers "github.com/ingrammicro-xvantage/xi-sdk-resellers-go ingrammicro-xvantage/xi-sdk-resellers-go"
)

func main() {
Expand Down Expand Up @@ -105,7 +105,7 @@ import (
"context"
"fmt"
"os"
xi_sdk_resellers "https://github.com/dprakash2101/GoSDK" ingrammicro-xvantage/xi-sdk-resellers-go ingrammicro-xvantage/xi-sdk-resellers-go
xi_sdk_resellers "github.com/ingrammicro-xvantage/xi-sdk-resellers-go ingrammicro-xvantage/xi-sdk-resellers-go"
)

func main() {
Expand Down Expand Up @@ -199,7 +199,7 @@ import (
"context"
"fmt"
"os"
xi_sdk_resellers "https://github.com/dprakash2101/GoSDK" ingrammicro-xvantage/xi-sdk-resellers-go ingrammicro-xvantage/xi-sdk-resellers-go
xi_sdk_resellers "github.com/ingrammicro-xvantage/xi-sdk-resellers-go ingrammicro-xvantage/xi-sdk-resellers-go"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion docs/QuoteToOrderAPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
"context"
"fmt"
"os"
xi_sdk_resellers "https://github.com/dprakash2101/GoSDK" ingrammicro-xvantage/xi-sdk-resellers-go ingrammicro-xvantage/xi-sdk-resellers-go
xi_sdk_resellers "github.com/ingrammicro-xvantage/xi-sdk-resellers-go ingrammicro-xvantage/xi-sdk-resellers-go"
)

func main() {
Expand Down
6 changes: 3 additions & 3 deletions docs/QuotesAPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (
"context"
"fmt"
"os"
xi_sdk_resellers "https://github.com/dprakash2101/GoSDK" ingrammicro-xvantage/xi-sdk-resellers-go ingrammicro-xvantage/xi-sdk-resellers-go
xi_sdk_resellers "github.com/ingrammicro-xvantage/xi-sdk-resellers-go ingrammicro-xvantage/xi-sdk-resellers-go"
)

func main() {
Expand Down Expand Up @@ -125,7 +125,7 @@ import (
"context"
"fmt"
"os"
xi_sdk_resellers "https://github.com/dprakash2101/GoSDK" ingrammicro-xvantage/xi-sdk-resellers-go ingrammicro-xvantage/xi-sdk-resellers-go
xi_sdk_resellers "github.com/ingrammicro-xvantage/xi-sdk-resellers-go ingrammicro-xvantage/xi-sdk-resellers-go"
)

func main() {
Expand Down Expand Up @@ -199,7 +199,7 @@ import (
"context"
"fmt"
"os"
xi_sdk_resellers "https://github.com/dprakash2101/GoSDK" ingrammicro-xvantage/xi-sdk-resellers-go ingrammicro-xvantage/xi-sdk-resellers-go
xi_sdk_resellers "github.com/ingrammicro-xvantage/xi-sdk-resellers-go ingrammicro-xvantage/xi-sdk-resellers-go"
)

func main() {
Expand Down
4 changes: 2 additions & 2 deletions docs/RenewalsAPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"context"
"fmt"
"os"
xi_sdk_resellers "https://github.com/dprakash2101/GoSDK" ingrammicro-xvantage/xi-sdk-resellers-go ingrammicro-xvantage/xi-sdk-resellers-go
xi_sdk_resellers "github.com/ingrammicro-xvantage/xi-sdk-resellers-go ingrammicro-xvantage/xi-sdk-resellers-go"
)

func main() {
Expand Down Expand Up @@ -104,7 +104,7 @@ import (
"context"
"fmt"
"os"
xi_sdk_resellers "https://github.com/dprakash2101/GoSDK" ingrammicro-xvantage/xi-sdk-resellers-go ingrammicro-xvantage/xi-sdk-resellers-go
xi_sdk_resellers "github.com/ingrammicro-xvantage/xi-sdk-resellers-go ingrammicro-xvantage/xi-sdk-resellers-go"
)

func main() {
Expand Down
6 changes: 3 additions & 3 deletions docs/ReturnsAPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (
"context"
"fmt"
"os"
xi_sdk_resellers "https://github.com/dprakash2101/GoSDK" ingrammicro-xvantage/xi-sdk-resellers-go ingrammicro-xvantage/xi-sdk-resellers-go
xi_sdk_resellers "github.com/ingrammicro-xvantage/xi-sdk-resellers-go ingrammicro-xvantage/xi-sdk-resellers-go"
)

func main() {
Expand Down Expand Up @@ -105,7 +105,7 @@ import (
"context"
"fmt"
"os"
xi_sdk_resellers "https://github.com/dprakash2101/GoSDK" ingrammicro-xvantage/xi-sdk-resellers-go ingrammicro-xvantage/xi-sdk-resellers-go
xi_sdk_resellers "github.com/ingrammicro-xvantage/xi-sdk-resellers-go ingrammicro-xvantage/xi-sdk-resellers-go"
)

func main() {
Expand Down Expand Up @@ -207,7 +207,7 @@ import (
"context"
"fmt"
"os"
xi_sdk_resellers "https://github.com/dprakash2101/GoSDK" ingrammicro-xvantage/xi-sdk-resellers-go ingrammicro-xvantage/xi-sdk-resellers-go
xi_sdk_resellers "github.com/ingrammicro-xvantage/xi-sdk-resellers-go ingrammicro-xvantage/xi-sdk-resellers-go"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion docs/StockUpdateAPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
"context"
"fmt"
"os"
xi_sdk_resellers "https://github.com/dprakash2101/GoSDK" ingrammicro-xvantage/xi-sdk-resellers-go ingrammicro-xvantage/xi-sdk-resellers-go
xi_sdk_resellers "github.com/ingrammicro-xvantage/xi-sdk-resellers-go ingrammicro-xvantage/xi-sdk-resellers-go"
)

func main() {
Expand Down

0 comments on commit 0e64636

Please sign in to comment.