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

chore: update api specification for vcf-5.2 #44

Merged
merged 3 commits into from
Oct 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 3 additions & 2 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,9 @@ representative at an online or offline event.
## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported to the community leaders responsible for enforcement at [email protected].
All complaints will be reviewed and investigated promptly and fairly.
reported to the community leaders responsible for enforcement at
[email protected]. All complaints will be reviewed and investigated
promptly and fairly.

All community leaders are obligated to respect the privacy and security of the
reporter of any incident.
Expand Down
19 changes: 5 additions & 14 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,12 @@
# Contributing to vcf-sdk-go
# Contributing

Before you start working with vcf-sdk-go please read our Developer Certificate
of Origin. All contributions to this repository must be signed as described on
that page. Your signature certifies that you wrote the patch or have the right
to pass it on as an open-source patch
Before you start working with `vmware/vcf-sdk-go` please read our Developer
Certificate of Origin. All contributions to this repository must be signed as
described on that page. Your signature certifies that you wrote the patch or have
the right to pass it on as an open-source patch

For any questions about the DCO process, please refer to our [FAQ](https://cla.vmware.com/dco).

## Getting Started

The SDK is generated using [go-swagger](https://github.com/go-swagger/go-swagger).
Any changes should come from the official swagger files for VMware Cloud
Foundation and then processed using `make swagger`.

This will run the correct swagger commands and any fixups needed. After
the generation, the flow below can be used for submitting a change.

## Contribution Flow

This is a general outline of what a contributor's workflow looks like:
Expand Down
36 changes: 0 additions & 36 deletions Makefile

This file was deleted.

5 changes: 3 additions & 2 deletions NOTICE
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
Copyright 2023 VMware, Inc.
© Broadcom. All Rights Reserved.
The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.

This product is licensed to you under the BSD 2 clause (the "License"). You may not use this product except in compliance with the License.

This product may include a number of subcomponents with separate copyright notices and license terms. Your use of these subcomponents is subject to the terms and conditions of the subcomponent's license, as noted in the LICENSE file.
This product may include a number of subcomponents with separate copyright notices and license terms. Your use of these subcomponents is subject to the terms and conditions of the subcomponent's license, as noted in the LICENSE file.
34 changes: 5 additions & 29 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,39 +10,15 @@ A Go SDK for the VMware Cloud Foundation.

Required if building the SDK.

* [Go][golang-install] v1.22
* [go-swagger][go-swagger] v0.30.5
## Building the SDK

The SDK is auto-generated from the VMware Cloud Foundation swagger files.

### Check the `go-swagger` Version

Run the following command to check the version of [go-swagger][go-swagger]:

```console
make check-swagger
```
* [Go][golang-install] v1.22.5
* [oapi-codegen](https://github.com/oapi-codegen/runtime) v1.1.1

### Generate the SDK

Run the following command to generate the SDK:

```console
make swagger
```

>**Note**
>
> Generating the SDK will validate the swagger and run a script to normalize
the naming.

### Build the SDK

Run the following command to build the SDK:

```console
make build
go generate
```

## Contributing
Expand Down Expand Up @@ -77,7 +53,8 @@ incredibly useful:

## License

Copyright 2023 VMware, Inc.
© Broadcom. All Rights Reserved.
The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
Expand Down Expand Up @@ -106,5 +83,4 @@ POSSIBILITY OF SUCH DAMAGE.
[contributing]: CONTRIBUTING.md
[issues]: https://github.com/vmware/vcf-sdk-go/issues
[golang-install]: https://golang.org/doc/install
[go-swagger]: https://github.com/go-swagger/go-swagger
[vmware-cla-dco]: https://cla.vmware.com/dco
6 changes: 6 additions & 0 deletions cfg.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/deepmap/oapi-codegen/HEAD/configuration-schema.json
package: vcf
output: ./vcf/vcf.gen.go
generate:
models: true
client: true
82 changes: 0 additions & 82 deletions client/automation/automation_client.go

This file was deleted.

131 changes: 0 additions & 131 deletions client/automation/get_vras_parameters.go

This file was deleted.

Loading