Skip to content

Commit

Permalink
Corrections in generate.mk for new namespaces (#5576)
Browse files Browse the repository at this point in the history
# Description

Updates to generate.mk to include generation of clients for daprrp,
messagingrp and datastoresrp
This PR:
Updates generate.mk
Corrects/updates path for Readme.md files and includes new copyright
text used when generating client files.

##Part of #3499

Fixes: (not created new issues for this. part of #3499)

## Checklist

Please make sure you've completed the relevant tasks for this PR, out of
the following list:

* [ ] Code compiles correctly
* [ ] Adds necessary unit tests for change
* [ ] Adds necessary E2E tests for change
* [ ] Unit tests passing
* [ ] Extended the documentation / Created issue for it
  • Loading branch information
lakshmimsft authored May 22, 2023
1 parent c8c6e00 commit 87e451d
Show file tree
Hide file tree
Showing 32 changed files with 654 additions and 62 deletions.
2 changes: 1 addition & 1 deletion build/generate.mk
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ ifeq ($(GOOS),windows)
endif

.PHONY: generate
generate: generate-genericcliclient generate-rad-corerp-client generate-rad-linkrp-client generate-rad-ucp-client generate-go generate-bicep-types generate-ucp-crd ## Generates all targets.
generate: generate-genericcliclient generate-rad-corerp-client generate-rad-linkrp-client generate-rad-datastoresrp-client generate-rad-messagingrp-client generate-rad-daprrp-client generate-rad-ucp-client generate-go generate-bicep-types generate-ucp-crd ## Generates all targets.

.PHONY: generate-cadl-installed
generate-cadl-installed:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ These settings apply only when `--tag=dapr-2022-03-15-privatepreview` is specifi

```yaml $(tag) == 'dapr-2022-03-15-privatepreview'
input-file:
- ../../../../swagger/specification/applications/resource-manager/Applications.Dapr/preview/2022-03-15-privatepreview/openapi.json
- ../../../swagger/specification/applications/resource-manager/Applications.Dapr/preview/2022-03-15-privatepreview/openapi.json
modelerfour:
treat-type-object-as-anything: false
```
Expand All @@ -47,7 +47,7 @@ version: 3.*.*
use: "@autorest/[email protected]"
module-version: 0.0.1
file-prefix: zz_generated_
license-header: MICROSOFT_MIT_NO_VERSION
license-header: "Licensed under the Apache License, Version 2.0 . See LICENSE in the repository root for license information.\nCode generated by Microsoft (R) AutoRest Code Generator.\nChanges may cause incorrect behavior and will be lost if the code is regenerated."
azure-arm: true
```
Expand All @@ -58,5 +58,5 @@ azure-arm: true
These settings apply only when `--tag=dapr-2022-03-15-privatepreview` is specified on the command line.

```yaml $(tag) == 'dapr-2022-03-15-privatepreview'
output-folder: ../v20220315privatepreview
output-folder: ./v20220315privatepreview
```
36 changes: 34 additions & 2 deletions pkg/daprrp/api/v20220315privatepreview/zz_generated_constants.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

57 changes: 55 additions & 2 deletions pkg/daprrp/api/v20220315privatepreview/zz_generated_models.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

116 changes: 114 additions & 2 deletions pkg/daprrp/api/v20220315privatepreview/zz_generated_models_serde.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 87e451d

Please sign in to comment.