Skip to content

SDK Auto Release #11

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

Open
wants to merge 37 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
762fdd6
add model folder
yufeiminds Sep 23, 2019
bdd5712
add model folder
yufeiminds Sep 23, 2019
5a146a2
Merge pull request #4 from yufeiminds/faeture/auto-release
ucloud-bot Sep 23, 2019
7f234ab
update template
yufeiminds Sep 23, 2019
457e9ec
auto release by sdk team
ucloud-bot Sep 24, 2019
ce82fec
auto release by sdk team
ucloud-bot Sep 24, 2019
058ca31
Merge branch 'auto-release' of https://github.com/ucloud-bot/ucloud-s…
ucloud-bot Sep 24, 2019
c37c0ad
auto release by sdk team
ucloud-bot Sep 24, 2019
e83bf54
Merge branch 'auto-release' of https://github.com/ucloud-bot/ucloud-s…
ucloud-bot Sep 24, 2019
b2ad8c0
auto release by sdk team
ucloud-bot Sep 24, 2019
2730289
Merge branch 'auto-release' of https://github.com/ucloud-bot/ucloud-s…
ucloud-bot Sep 24, 2019
68ea031
auto release by sdk team
ucloud-bot Sep 24, 2019
be29814
Merge branch 'auto-release' of https://github.com/ucloud-bot/ucloud-s…
ucloud-bot Sep 24, 2019
402ef4f
auto release by sdk team
ucloud-bot Sep 24, 2019
21dae2c
Merge branch 'auto-release' of https://github.com/ucloud-bot/ucloud-s…
ucloud-bot Sep 24, 2019
7f07db6
auto release by sdk team
ucloud-bot Sep 24, 2019
2190021
Merge branch 'auto-release' of https://github.com/ucloud-bot/ucloud-s…
ucloud-bot Sep 24, 2019
7c722f4
auto release by sdk team
ucloud-bot Sep 24, 2019
3a243f5
Merge branch 'auto-release' of https://github.com/ucloud-bot/ucloud-s…
ucloud-bot Sep 24, 2019
901bc4b
auto release by sdk team
ucloud-bot Sep 24, 2019
6181982
Merge branch 'auto-release' of https://github.com/ucloud-bot/ucloud-s…
ucloud-bot Sep 24, 2019
511d797
fix version
ucloud-bot Sep 24, 2019
e80af02
auto release by sdk team
ucloud-bot Sep 25, 2019
f734b70
Merge branch 'auto-release' of https://github.com/ucloud-bot/ucloud-s…
ucloud-bot Sep 25, 2019
59b2ff7
auto release by sdk team
ucloud-bot Sep 25, 2019
bd1be88
Merge branch 'auto-release' of https://github.com/ucloud-bot/ucloud-s…
ucloud-bot Sep 25, 2019
f1a6e1f
auto release by sdk team
ucloud-bot Sep 25, 2019
2ff0433
Merge branch 'auto-release' of https://github.com/ucloud-bot/ucloud-s…
ucloud-bot Sep 25, 2019
f09fea2
auto release by sdk team
ucloud-bot Sep 25, 2019
0e66412
Merge branch 'auto-release' of https://github.com/ucloud-bot/ucloud-s…
ucloud-bot Sep 25, 2019
847b6b0
auto release by sdk team
ucloud-bot Sep 26, 2019
96785ca
Merge branch 'auto-release' of https://github.com/ucloud-bot/ucloud-s…
ucloud-bot Sep 26, 2019
703b1f2
fix version
ucloud-bot Sep 26, 2019
df6456e
auto release by sdk team
ucloud-bot Sep 26, 2019
247bfa2
Merge branch 'auto-release' of https://github.com/ucloud-bot/ucloud-s…
ucloud-bot Sep 26, 2019
641b23e
auto release by sdk team
ucloud-bot Sep 26, 2019
109cd4d
Merge branch 'auto-release' of https://github.com/ucloud-bot/ucloud-s…
ucloud-bot Sep 26, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
222 changes: 222 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,222 @@
SDK Auto Release

FEATURE:

- Add `CreateUHostInstance`
- Add `StopUHostInstance`
- Add `DescribeURedisGroup`
- Add `DeleteBandwidthPackage`
- Add `UpdateUDBInstanceBackupStrategy`
- Add `GetUserInfo`
- Add `RestartUDBInstance`
- Add `PoweroffUHostInstance`
- Add `DeleteURedisGroup`
- Add `DetachUDisk`
- Add `DeleteUMemcacheGroup`
- Add `ModifyUHostInstanceTag`
- Add `SendUSMSMessage`
- Add `ReinstallUHostInstance`
- Add `TerminateCustomImage`
- Add `UpdateULBAttribute`
- Add `UpdateSubnetAttribute`
- Add `ReleaseVIP`
- Add `DescribeUDBParamGroup`
- Add `UpdateUSMSTemplate`
- Add `DescribeUDBType`
- Add `ResizeUDBInstance`
- Add `DescribeUDiskSnapshot`
- Add `ReleaseEIP`
- Add `CreateCustomImage`
- Add `DescribeUDBInstanceUpgradePrice`
- Add `DescribeUMemcacheGroup`
- Add `DescribeUDBBackup`
- Add `GetProjectList`
- Add `DeleteSubnet`
- Add `DeleteUSMSTemplate`
- Add `UpdateFirewallAttribute`
- Add `StartUHostInstance`
- Add `DescribeUDBInstanceBackupURL`
- Add `AllocateEIP`
- Add `TerminateProject`
- Add `DescribeUHostInstance`
- Add `AllocateUDPN`
- Add `ModifyUDBInstanceName`
- Add `ModifyUDBInstancePassword`
- Add `CreateUMemcacheGroup`
- Add `GrantFirewall`
- Add `DescribeUDBInstanceBinlogBackupState`
- Add `GetUMemSpaceState`
- Add `DescribeVServer`
- Add `StartUDBInstance`
- Add `GetEIPPrice`
- Add `ModifyUDPNBandwidth`
- Add `DescribeUDBBackupBlacklist`
- Add `CreateUDBRouteInstance`
- Add `CreatePolicy`
- Add `DeleteVPC`
- Add `PromoteUDBSlave`
- Add `ReleaseUDPN`
- Add `BackupUDBInstance`
- Add `UpdateEIPAttribute`
- Add `DescribeURedisUpgradePrice`
- Add `BindEIP`
- Add `UnBindEIP`
- Add `FetchUDBInstanceEarliestRecoverTime`
- Add `RebootUHostInstance`
- Add `DeleteUDBLogPackage`
- Add `AddVPCNetwork`
- Add `ModifyEIPWeight`
- Add `DescribeUMemcachePrice`
- Add `DescribePHostTags`
- Add `ModifyUMemSpaceName`
- Add `GetPHostPrice`
- Add `AssociateEIPWithShareBandwidth`
- Add `DescribeURedisBackupURL`
- Add `GetUHostInstanceVncInfo`
- Add `CreateUSMSSignature`
- Add `CloneUDisk`
- Add `GetSFWorkflowTemplate`
- Add `GetUDPNPrice`
- Add `UpdateUDBInstanceSlaveBackupSwitch`
- Add `TerminatePHost`
- Add `DescribeVPCIntercom`
- Add `DescribeSubnet`
- Add `DescribeUDBLogBackupURL`
- Add `DeleteGlobalSSHInstance`
- Add `DescribeUDBBinlogBackupURL`
- Add `CreatePHost`
- Add `ResetUHostInstancePassword`
- Add `ResizeURedisGroup`
- Add `CreateUDiskSnapshot`
- Add `TerminateUHostInstance`
- Add `ResizeUMemSpace`
- Add `CreateUDisk`
- Add `DeleteUDBBackup`
- Add `DescribeUDisk`
- Add `DescribePHost`
- Add `GetUHostInstancePrice`
- Add `UpgradeToArkUHostInstance`
- Add `CreateFirewall`
- Add `AttachUDisk`
- Add `DescribeUDiskPrice`
- Add `CreateGlobalSSHInstance`
- Add `DescribeUDPN`
- Add `ResizeUDredisSpace`
- Add `DeleteUMemSpace`
- Add `GetUDPNUpgradePrice`
- Add `DescribeVPC`
- Add `ModifyGlobalSSHPort`
- Add `DeleteVServer`
- Add `CheckUDBInstanceToHAAllowance`
- Add `GetUDPNLineList`
- Add `ReinstallPHost`
- Add `CreateURedisGroup`
- Add `DescribeShareBandwidth`
- Add `DescribeUDBInstancePrice`
- Add `ResizeUHostInstance`
- Add `ImportCustomImage`
- Add `DeleteUDBParamGroup`
- Add `UpdateBackendAttribute`
- Add `ResizeAttachedDisk`
- Add `CreateSubnet`
- Add `UpdateVServerAttribute`
- Add `CreateSFWorkflowFromTemplate`
- Add `PromoteUDBInstanceToHA`
- Add `SwitchUDBInstanceToHA`
- Add `BindSSL`
- Add `DescribeBandwidthUsage`
- Add `GetUSMSSendReceipt`
- Add `CreateVPCIntercom`
- Add `ModifyEIPBandwidth`
- Add `DeleteUDiskSnapshot`
- Add `GetEIPUpgradePrice`
- Add `SetEIPPayMode`
- Add `DeleteSSL`
- Add `DescribeUDBInstanceState`
- Add `DescribePHostImage`
- Add `ModifyUHostInstanceRemark`
- Add `RenameUDisk`
- Add `DescribeFirewallResource`
- Add `DescribeULB`
- Add `GetEIPPayMode`
- Add `UpdateUSMSSignature`
- Add `RestartUMemcacheGroup`
- Add `DescribeUMemcacheUpgradePrice`
- Add `DeleteVPCIntercom`
- Add `RestoreUDisk`
- Add `QueryUSMSSignature`
- Add `CreateSSL`
- Add `DescribeUMemSpace`
- Add `ReleaseShareBandwidth`
- Add `DescribeEIP`
- Add `DescribeGlobalSSHInstance`
- Add `UpdatePolicy`
- Add `UpdateVPCNetwork`
- Add `CreateVServer`
- Add `EditUDBBackupBlacklist`
- Add `BackupUDBInstanceErrorLog`
- Add `DeletePolicy`
- Add `CreateBandwidthPackage`
- Add `CopyCustomImage`
- Add `ReleaseBackend`
- Add `DeleteFirewall`
- Add `CreateUDBInstance`
- Add `DeleteULB`
- Add `AllocateShareBandwidth`
- Add `CreateUMemSpace`
- Add `ResizeShareBandwidth`
- Add `DescribeUDBInstance`
- Add `UnbindSSL`
- Add `DescribeUMemUpgradePrice`
- Add `CreateULB`
- Add `CreateUSMSTemplate`
- Add `DeleteUSMSSignature`
- Add `DescribeUDiskUpgradePrice`
- Add `DescribeSubnetResource`
- Add `ModifyGlobalSSHRemark`
- Add `DescribeGlobalSSHArea`
- Add `DescribeBandwidthPackage`
- Add `StopUDBInstance`
- Add `DescribeUHostTags`
- Add `DescribeURedisBackup`
- Add `CreateVPC`
- Add `AllocateBackend`
- Add `CreateProject`
- Add `ModifyUHostInstanceName`
- Add `DescribeSSL`
- Add `AllocateVIP`
- Add `DescribeUDBLogPackage`
- Add `DescribeURedisPrice`
- Add `PoweroffPHost`
- Add `DisassociateEIPWithShareBandwidth`
- Add `CheckRecoverUDBInstance`
- Add `DescribeVIP`
- Add `GetUHostUpgradePrice`
- Add `DescribeImage`
- Add `StartPHost`
- Add `DescribeFirewall`
- Add `RebootPHost`
- Add `BackupUDBInstanceBinlog`
- Add `CreateUDBSlave`
- Add `CreateUDBParamGroup`
- Add `UpdateUDBParamGroup`
- Add `ModifyURedisGroupName`
- Add `QueryUSMSTemplate`
- Add `DescribeUDBInstanceBackupState`
- Add `DescribeUMemPrice`
- Add `UpdateFirewall`
- Add `SetUDiskUDataArkMode`
- Add `DescribeUDBInstanceBinlog`
- Add `UploadUDBParamGroup`
- Add `CreateUDBInstanceByRecovery`
- Add `ResizeUDisk`
- Add `ModifyPHostInfo`
- Add `CreateUDBReplicationInstance`
- Add `CloneUDiskSnapshot`
- Add `AllocateBackendBatch`
- Add `DeleteUDBInstance`
- Add `ClearUDBLog`
- Add `DeleteUDisk`



6 changes: 6 additions & 0 deletions docs/services.rst
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,12 @@ UPHost
.. autoclass:: ucloud.services.uphost.client.UPHostClient
:members:

USMS
----

.. autoclass:: ucloud.services.usms.client.USMSClient
:members:

VPC
---

Expand Down
1 change: 1 addition & 0 deletions model/artifact.json

Large diffs are not rendered by default.

22 changes: 22 additions & 0 deletions model/changelog.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
SDK 自动发布

{{- define "name" }}
{{- if (eq .ChangeLevel "api") }}`{{ .Api }}`
{{- else if (eq .ChangeLevel "model") }}model `{{ .Model }}` at `{{ .Api }}`
{{- else if (eq .ChangeLevel "field") }}field `{{ .Field }}` at `{{ .Api }}`
{{- end }}
{{- end }}

FEATURE:
{{ range $changelog := . }}
{{- if and (ne .ChangeLevel "field") }}
- {{ .ChangeType | title }} {{ template "name" . -}}
{{- end -}}
{{ end }}

ENHANCEMENT:
{{ range $changelog := . }}
{{- if (eq .ChangeLevel "field") }}
- {{ if .IsCritical }}(**BREAK CHANGE**) {{ end }}{{ .ChangeType | title }} {{ template "name" . -}}
{{- end -}}
{{ end }}
17 changes: 17 additions & 0 deletions model/gen-apis.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/usr/bin/env bash

# Code is generated by ucloud-model, DO NOT EDIT IT.

ucloud-model sdk apis --lang python3 --type public --template ${U_MODEL_HOME}/providers/python/templates/clients.tpl --output ./ucloud/client.py
ucloud-model sdk apis --lang python3 --type public --template ${U_MODEL_HOME}/providers/python/templates/docs.tpl --output ./docs/services.rst

{{ range $index, $product := (.GetAll | extractUnique "Product") }}
mkdir -p ./ucloud/services/{{ . | lower }}/schemas
touch ./ucloud/services/{{ . | lower }}/__init__.py
touch ./ucloud/services/{{ . | lower }}/schemas/__init__.py
ucloud-model sdk apis --lang python3 --product {{ . }} --type public --template ${U_MODEL_HOME}/providers/python/templates/schema.tpl --output ./ucloud/services/{{ . | lower }}/schemas/apis.py
ucloud-model sdk apis --lang python3 --product {{ . }} --type public --template ${U_MODEL_HOME}/providers/python/templates/model.tpl --output ./ucloud/services/{{ . | lower }}/schemas/models.py
ucloud-model sdk apis --lang python3 --product {{ . }} --type public --template ${U_MODEL_HOME}/providers/python/templates/client.tpl --output ./ucloud/services/{{ . | lower }}/client.py
black ucloud/services/{{ . | lower }}
python -m ucloud.services.{{ . | lower }}.client
{{ end }}
13 changes: 13 additions & 0 deletions model/gen-tests.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/usr/bin/env bash

# Code is generated by ucloud-model, DO NOT EDIT IT.

{{ range $index, $test := .GetAll }}
ucloud-model sdk test \
--lang python3 \
--template ${U_MODEL_HOME}/providers/python/templates/testing.tpl \
--output tests/test_services/test_set_{{ $test.ID }}.py \
--name {{ $test.ID }}
{{ end }}

black tests/test_services/*
4 changes: 4 additions & 0 deletions model/regression.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env bash

# Code is generated by ucloud-model, DO NOT EDIT IT.
pytest
99 changes: 99 additions & 0 deletions scripts/gen-apis.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
#!/usr/bin/env bash

# Code is generated by ucloud-model, DO NOT EDIT IT.

ucloud-model sdk apis --lang python3 --type public --template ${U_MODEL_HOME}/providers/python/templates/clients.tpl --output ./ucloud/client.py
ucloud-model sdk apis --lang python3 --type public --template ${U_MODEL_HOME}/providers/python/templates/docs.tpl --output ./docs/services.rst


mkdir -p ./ucloud/services/pathx/schemas
touch ./ucloud/services/pathx/__init__.py
touch ./ucloud/services/pathx/schemas/__init__.py
ucloud-model sdk apis --lang python3 --product PathX --type public --template ${U_MODEL_HOME}/providers/python/templates/schema.tpl --output ./ucloud/services/pathx/schemas/apis.py
ucloud-model sdk apis --lang python3 --product PathX --type public --template ${U_MODEL_HOME}/providers/python/templates/model.tpl --output ./ucloud/services/pathx/schemas/models.py
ucloud-model sdk apis --lang python3 --product PathX --type public --template ${U_MODEL_HOME}/providers/python/templates/client.tpl --output ./ucloud/services/pathx/client.py

mkdir -p ./ucloud/services/stepflow/schemas
touch ./ucloud/services/stepflow/__init__.py
touch ./ucloud/services/stepflow/schemas/__init__.py
ucloud-model sdk apis --lang python3 --product StepFlow --type public --template ${U_MODEL_HOME}/providers/python/templates/schema.tpl --output ./ucloud/services/stepflow/schemas/apis.py
ucloud-model sdk apis --lang python3 --product StepFlow --type public --template ${U_MODEL_HOME}/providers/python/templates/model.tpl --output ./ucloud/services/stepflow/schemas/models.py
ucloud-model sdk apis --lang python3 --product StepFlow --type public --template ${U_MODEL_HOME}/providers/python/templates/client.tpl --output ./ucloud/services/stepflow/client.py

mkdir -p ./ucloud/services/uaccount/schemas
touch ./ucloud/services/uaccount/__init__.py
touch ./ucloud/services/uaccount/schemas/__init__.py
ucloud-model sdk apis --lang python3 --product UAccount --type public --template ${U_MODEL_HOME}/providers/python/templates/schema.tpl --output ./ucloud/services/uaccount/schemas/apis.py
ucloud-model sdk apis --lang python3 --product UAccount --type public --template ${U_MODEL_HOME}/providers/python/templates/model.tpl --output ./ucloud/services/uaccount/schemas/models.py
ucloud-model sdk apis --lang python3 --product UAccount --type public --template ${U_MODEL_HOME}/providers/python/templates/client.tpl --output ./ucloud/services/uaccount/client.py

mkdir -p ./ucloud/services/udb/schemas
touch ./ucloud/services/udb/__init__.py
touch ./ucloud/services/udb/schemas/__init__.py
ucloud-model sdk apis --lang python3 --product UDB --type public --template ${U_MODEL_HOME}/providers/python/templates/schema.tpl --output ./ucloud/services/udb/schemas/apis.py
ucloud-model sdk apis --lang python3 --product UDB --type public --template ${U_MODEL_HOME}/providers/python/templates/model.tpl --output ./ucloud/services/udb/schemas/models.py
ucloud-model sdk apis --lang python3 --product UDB --type public --template ${U_MODEL_HOME}/providers/python/templates/client.tpl --output ./ucloud/services/udb/client.py

mkdir -p ./ucloud/services/udpn/schemas
touch ./ucloud/services/udpn/__init__.py
touch ./ucloud/services/udpn/schemas/__init__.py
ucloud-model sdk apis --lang python3 --product UDPN --type public --template ${U_MODEL_HOME}/providers/python/templates/schema.tpl --output ./ucloud/services/udpn/schemas/apis.py
ucloud-model sdk apis --lang python3 --product UDPN --type public --template ${U_MODEL_HOME}/providers/python/templates/model.tpl --output ./ucloud/services/udpn/schemas/models.py
ucloud-model sdk apis --lang python3 --product UDPN --type public --template ${U_MODEL_HOME}/providers/python/templates/client.tpl --output ./ucloud/services/udpn/client.py

mkdir -p ./ucloud/services/udisk/schemas
touch ./ucloud/services/udisk/__init__.py
touch ./ucloud/services/udisk/schemas/__init__.py
ucloud-model sdk apis --lang python3 --product UDisk --type public --template ${U_MODEL_HOME}/providers/python/templates/schema.tpl --output ./ucloud/services/udisk/schemas/apis.py
ucloud-model sdk apis --lang python3 --product UDisk --type public --template ${U_MODEL_HOME}/providers/python/templates/model.tpl --output ./ucloud/services/udisk/schemas/models.py
ucloud-model sdk apis --lang python3 --product UDisk --type public --template ${U_MODEL_HOME}/providers/python/templates/client.tpl --output ./ucloud/services/udisk/client.py

mkdir -p ./ucloud/services/uhost/schemas
touch ./ucloud/services/uhost/__init__.py
touch ./ucloud/services/uhost/schemas/__init__.py
ucloud-model sdk apis --lang python3 --product UHost --type public --template ${U_MODEL_HOME}/providers/python/templates/schema.tpl --output ./ucloud/services/uhost/schemas/apis.py
ucloud-model sdk apis --lang python3 --product UHost --type public --template ${U_MODEL_HOME}/providers/python/templates/model.tpl --output ./ucloud/services/uhost/schemas/models.py
ucloud-model sdk apis --lang python3 --product UHost --type public --template ${U_MODEL_HOME}/providers/python/templates/client.tpl --output ./ucloud/services/uhost/client.py

mkdir -p ./ucloud/services/ulb/schemas
touch ./ucloud/services/ulb/__init__.py
touch ./ucloud/services/ulb/schemas/__init__.py
ucloud-model sdk apis --lang python3 --product ULB --type public --template ${U_MODEL_HOME}/providers/python/templates/schema.tpl --output ./ucloud/services/ulb/schemas/apis.py
ucloud-model sdk apis --lang python3 --product ULB --type public --template ${U_MODEL_HOME}/providers/python/templates/model.tpl --output ./ucloud/services/ulb/schemas/models.py
ucloud-model sdk apis --lang python3 --product ULB --type public --template ${U_MODEL_HOME}/providers/python/templates/client.tpl --output ./ucloud/services/ulb/client.py

mkdir -p ./ucloud/services/umem/schemas
touch ./ucloud/services/umem/__init__.py
touch ./ucloud/services/umem/schemas/__init__.py
ucloud-model sdk apis --lang python3 --product UMem --type public --template ${U_MODEL_HOME}/providers/python/templates/schema.tpl --output ./ucloud/services/umem/schemas/apis.py
ucloud-model sdk apis --lang python3 --product UMem --type public --template ${U_MODEL_HOME}/providers/python/templates/model.tpl --output ./ucloud/services/umem/schemas/models.py
ucloud-model sdk apis --lang python3 --product UMem --type public --template ${U_MODEL_HOME}/providers/python/templates/client.tpl --output ./ucloud/services/umem/client.py

mkdir -p ./ucloud/services/unet/schemas
touch ./ucloud/services/unet/__init__.py
touch ./ucloud/services/unet/schemas/__init__.py
ucloud-model sdk apis --lang python3 --product UNet --type public --template ${U_MODEL_HOME}/providers/python/templates/schema.tpl --output ./ucloud/services/unet/schemas/apis.py
ucloud-model sdk apis --lang python3 --product UNet --type public --template ${U_MODEL_HOME}/providers/python/templates/model.tpl --output ./ucloud/services/unet/schemas/models.py
ucloud-model sdk apis --lang python3 --product UNet --type public --template ${U_MODEL_HOME}/providers/python/templates/client.tpl --output ./ucloud/services/unet/client.py

mkdir -p ./ucloud/services/uphost/schemas
touch ./ucloud/services/uphost/__init__.py
touch ./ucloud/services/uphost/schemas/__init__.py
ucloud-model sdk apis --lang python3 --product UPHost --type public --template ${U_MODEL_HOME}/providers/python/templates/schema.tpl --output ./ucloud/services/uphost/schemas/apis.py
ucloud-model sdk apis --lang python3 --product UPHost --type public --template ${U_MODEL_HOME}/providers/python/templates/model.tpl --output ./ucloud/services/uphost/schemas/models.py
ucloud-model sdk apis --lang python3 --product UPHost --type public --template ${U_MODEL_HOME}/providers/python/templates/client.tpl --output ./ucloud/services/uphost/client.py

mkdir -p ./ucloud/services/usms/schemas
touch ./ucloud/services/usms/__init__.py
touch ./ucloud/services/usms/schemas/__init__.py
ucloud-model sdk apis --lang python3 --product USMS --type public --template ${U_MODEL_HOME}/providers/python/templates/schema.tpl --output ./ucloud/services/usms/schemas/apis.py
ucloud-model sdk apis --lang python3 --product USMS --type public --template ${U_MODEL_HOME}/providers/python/templates/model.tpl --output ./ucloud/services/usms/schemas/models.py
ucloud-model sdk apis --lang python3 --product USMS --type public --template ${U_MODEL_HOME}/providers/python/templates/client.tpl --output ./ucloud/services/usms/client.py

mkdir -p ./ucloud/services/vpc/schemas
touch ./ucloud/services/vpc/__init__.py
touch ./ucloud/services/vpc/schemas/__init__.py
ucloud-model sdk apis --lang python3 --product VPC --type public --template ${U_MODEL_HOME}/providers/python/templates/schema.tpl --output ./ucloud/services/vpc/schemas/apis.py
ucloud-model sdk apis --lang python3 --product VPC --type public --template ${U_MODEL_HOME}/providers/python/templates/model.tpl --output ./ucloud/services/vpc/schemas/models.py
ucloud-model sdk apis --lang python3 --product VPC --type public --template ${U_MODEL_HOME}/providers/python/templates/client.tpl --output ./ucloud/services/vpc/client.py

Loading