rename github org
This commit is contained in:
parent
2650b0564f
commit
1be688562a
2
LICENSE
2
LICENSE
@ -1,6 +1,6 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2019 nordix-airship
|
||||
Copyright (c) 2019 Nordix
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
2
Makefile
2
Makefile
@ -1,7 +1,7 @@
|
||||
.PHONY: code-gen
|
||||
code-gen:
|
||||
rm -rf client
|
||||
openapi-generator generate -i ./spec/openapi.yaml -g go --package-name "client" --git-repo-id go-redfish/client --git-user-id nordix-airship -o client/
|
||||
openapi-generator generate -i ./spec/openapi.yaml -g go --package-name "client" --git-repo-id go-redfish/client --git-user-id Nordix -o client/
|
||||
|
||||
.PHONY: deps
|
||||
deps:
|
||||
|
@ -12,7 +12,7 @@ To use `go-redfish` library in go code, you just need to import the library as b
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
redfish "github.com/nordix-airship/go-redfish/client"
|
||||
redfish "github.com/Nordix/go-redfish/client"
|
||||
)
|
||||
```
|
||||
|
||||
@ -28,7 +28,7 @@ cfg := &redfish.Configuration{
|
||||
redfishApi := redfish.NewAPIClient(cfg).DefaultApi
|
||||
```
|
||||
|
||||
Use `redfishApi` to interact with redfish server. This object contains get, set and list functions for different redfish resources. There are loose validations on the client side for the required paramaters of a certain API. In case of any error e.g. missing a required parameter; then server will generate the error. To see the available actions for API endpoints see [Endpoint Reference](https://github.com/nordix-airship/go-redfish/tree/master/client#documentation-for-api-endpoints) and [Model Definitions](https://github.com/nordix-airship/go-redfish/tree/master/client#documentation-for-models). See following examples for different operations.
|
||||
Use `redfishApi` to interact with redfish server. This object contains get, set and list functions for different redfish resources. There are loose validations on the client side for the required paramaters of a certain API. In case of any error e.g. missing a required parameter; then server will generate the error. To see the available actions for API endpoints see [Endpoint Reference](https://github.com/Nordix/go-redfish/tree/master/client#documentation-for-api-endpoints) and [Model Definitions](https://github.com/Nordix/go-redfish/tree/master/client#documentation-for-models). See following examples for different operations.
|
||||
|
||||
## Examples ##
|
||||
|
||||
|
@ -8,7 +8,7 @@ git_repo_id=$2
|
||||
release_note=$3
|
||||
|
||||
if [ "$git_user_id" = "" ]; then
|
||||
git_user_id="nordix-airship"
|
||||
git_user_id="Nordix"
|
||||
echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
|
||||
fi
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
module github.com/nordix-airship/go-redfish/client
|
||||
module github.com/Nordix/go-redfish/client
|
||||
|
||||
require (
|
||||
github.com/antihax/optional v0.0.0-20180406194304-ca021399b1a6
|
||||
|
Loading…
Reference in New Issue
Block a user