rename github org

This commit is contained in:
Kanwar Saad Bin Liaqat 2019-09-19 00:06:55 +03:00
parent 2650b0564f
commit 1be688562a
No known key found for this signature in database
GPG Key ID: F5189DC439490C63
5 changed files with 7 additions and 7 deletions

View File

@ -1,6 +1,6 @@
MIT License MIT License
Copyright (c) 2019 nordix-airship Copyright (c) 2019 Nordix
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal

View File

@ -1,7 +1,7 @@
.PHONY: code-gen .PHONY: code-gen
code-gen: code-gen:
rm -rf client 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 .PHONY: deps
deps: deps:

View File

@ -12,7 +12,7 @@ To use `go-redfish` library in go code, you just need to import the library as b
import ( import (
"fmt" "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 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 ## ## Examples ##

View File

@ -8,7 +8,7 @@ git_repo_id=$2
release_note=$3 release_note=$3
if [ "$git_user_id" = "" ]; then 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" echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
fi fi

View File

@ -1,4 +1,4 @@
module github.com/nordix-airship/go-redfish/client module github.com/Nordix/go-redfish/client
require ( require (
github.com/antihax/optional v0.0.0-20180406194304-ca021399b1a6 github.com/antihax/optional v0.0.0-20180406194304-ca021399b1a6