Vivek Lakshmanan
65e027062d
Add an underscore if enum values have underscores
2020-11-18 00:07:42 -08:00
Vivek Lakshmanan
41fff5dc08
Add type as prefix for enum values
2020-11-18 00:07:42 -08:00
Vivek Lakshmanan
169fb47154
Consolidate tests
2020-11-18 00:07:42 -08:00
Vivek Lakshmanan
3c2b7a8945
Add additional test to demonstrate strict/relaxed enum semantics
2020-11-18 00:07:42 -08:00
Vivek Lakshmanan
43e48950df
Adding support for go enum generation
2020-11-18 00:07:42 -08:00
Paul Stack
50725543a0
Ensure resource docs have a newline after description but before examples to render correctly ( #5762 )
2020-11-14 00:20:33 +00:00
Mikhail Shilkov
66c5cdb7a1
Parse string arrays from env in Go first-class provider ( #5744 )
2020-11-13 10:59:41 +01:00
Komal
8fb8ea80c0
[codegen/*] - Extract common enum name replacer ( #5721 )
...
* Extract common enum char replacer
* PR feedback
2020-11-11 10:42:08 -08:00
Paul Stack
a6f8b9b205
Ensure we split the import away from the docs description ( #5719 )
2020-11-09 23:00:29 +00:00
Komal
a259d59624
[codegen/dotnet,nodejs] - Improve makeSafeEnumName ( #5711 )
...
* Improve makeSafeEnumName
* Improve nodejs enumName generator
* Fix comment
* PR feedback
2020-11-09 11:33:22 -08:00
Levi Blackstone
64e5de1edc
[codegen/go] Add support for ResourceType and isComponent ( #5497 )
2020-11-09 11:55:53 -07:00
Komal
783f116fb3
[codegen/dotnet] - Fix isValueType to include enums ( #5710 )
2020-11-09 10:45:19 -08:00
stack72
f1b8bc79e2
Prevent panic when assembling the import details
2020-11-09 14:45:55 +00:00
Paul Stack
c389dec868
Ensure multi-line deprecation warnings are escaped correctly in Python ( #5718 )
...
Fixes: https://github.com/pulumi/pulumi-vsphere/issues/143
2020-11-09 14:28:28 +00:00
Paul Stack
3d8068e355
adding the import documentation where specified ( #5667 )
2020-11-09 14:12:58 +00:00
Komal
00f8966a9a
[codegen/nodejs] - Fix typescript enum issues ( #5696 )
...
Co-authored-by: Levi Blackstone <levi@pulumi.com>
2020-11-06 09:29:49 -08:00
Komal
e9dbada593
[codegen/dotnet] - Enums ( #5551 )
2020-11-06 09:01:03 -08:00
Levi Blackstone
5188ec4c9f
[codegen/schema] Add support for external schema refs ( #5606 )
2020-10-29 17:41:12 -06:00
Mikhail Shilkov
5cef84f036
Read .NET plugin name from version.txt ( #5629 )
2020-10-28 15:53:29 +01:00
Paul Stack
83f2aa613b
Adding the Venafi provider to the docs generation ( #5620 )
2020-10-23 20:25:37 +01:00
Komal
ec9c02f578
Add tests for ts enums ( #5605 )
2020-10-22 10:53:29 -07:00
Pat Gavlin
89c71bb49e
[cli] Add an import command. ( #4765 )
...
Co-authored-by: stack72 <public@paulstack.co.uk>
2020-10-14 12:51:53 +01:00
Levi Blackstone
99ba1ab943
[codegen/dotnet] Add support for ResourceType and isComponent ( #5460 )
2020-10-13 12:33:22 -06:00
Komal
af9f636eef
Split schema tests by language ( #5540 )
2020-10-10 13:47:23 -07:00
Pat Gavlin
249140242e
Add support for provider-side preview. ( #5443 )
...
These changes add support for provider-side previews of create and
update operations, which allows resource providers to supply output
property values for resources that are being created or updated during a
preview.
If a plugin supports provider-side preview, its create/update methods
will be invoked during previews with the `preview` property set to true.
It is the responsibility of the provider to fill in any output
properties that are known before returning. It is a best practice for
providers to only fill in property values that are guaranteed to be
identical if the preview were instead an update (i.e. only those output
properties whose values can be conclusively determined without
actually performing the create/update operation should be populated).
Providers that support previews must accept unknown values in their
create and update methods.
If a plugin does not support provider-side preview, the inputs to a
create or update operation will be propagated to the outputs as they are
today.
Fixes #4992 .
2020-10-09 13:13:55 -07:00
Komal
6c51e6ce1c
[codegen/nodejs] - Update enum generation ( #5525 )
2020-10-09 08:27:01 -07:00
Vivek Lakshmanan
08272ff49a
Merge pull request #5520 from pulumi/vl/dotnetProgramGen
...
Fix config params and default handling for .NET programgen
2020-10-08 00:30:11 -07:00
Komal
7039e67284
[codegen/nodejs] - Enums ( #5472 )
2020-10-07 18:13:10 -07:00
Paul Stack
5e8f219652
Reorder resource docs templates to make deprecated more prominent ( #5523 )
...
Fixes: https://github.com/pulumi/docs/issues/4340
The deprecated message sits below the examples so it is not clear
to the user that the resource / datasource is deprecated
2020-10-07 21:25:25 +01:00
Vivek Lakshmanan
a0ee220243
Convert config params to outputs only if promise types are seen
2020-10-07 12:29:33 -07:00
Vivek Lakshmanan
f4235f27a1
Fix config params and default handling for .NET programgen
...
Fixes https://github.com/pulumi/pulumi-azure-nextgen/issues/42
2020-10-07 09:59:23 -07:00
Komal
b531038d33
[codegen/schema] - Add deprecation messages for enum values ( #5521 )
2020-10-07 09:32:00 -07:00
Vivek Lakshmanan
e49ba01f8f
PR comments
2020-10-06 16:13:49 -07:00
Vivek Lakshmanan
ea75755d88
Add test scaffolding for azure provider
2020-10-06 16:13:30 -07:00
Vivek Lakshmanan
8f7874b3e2
Handle aliases correctly for invokes
2020-10-05 22:57:00 -07:00
Vivek Lakshmanan
739b664046
Add support for go config generation
2020-10-05 22:55:41 -07:00
Mikhail Shilkov
98f04cd2fc
Ensure top-level precedence to avoid flaky tests ( #5508 )
2020-10-05 19:50:51 +02:00
Levi Blackstone
38172999e7
[codegen] Extract common test logic ( #5480 )
2020-09-30 14:41:52 -06:00
Levi Blackstone
64602798b1
[codegen/python] Don't generate get methods for ComponentResources ( #5459 )
2020-09-30 10:16:25 -06:00
Komal
59b906eb76
Update nodejs gen-tests ( #5477 )
2020-09-29 16:00:03 -07:00
Levi Blackstone
f048c04782
[codegen/nodejs] Add support for ResourceType and isComponent ( #5454 )
2020-09-25 13:35:27 -06:00
Levi Blackstone
9363f606b6
[codegen/schema] Add IsComponent to resource schema ( #5395 )
...
Add support for ComponentResources to the schema by
adding a new IsComponent field to the Resource spec.
2020-09-23 18:23:46 -06:00
Levi Blackstone
81580289a7
[codegen/python] Handle ResourceType ( #5444 )
2020-09-23 13:39:25 -06:00
Levi Blackstone
3ea59ebbb8
[codegen/schema]: Add ResourceType to support resource refs ( #5325 )
2020-09-22 11:09:27 -06:00
Komal
a334b60193
Only allow type-matching enum values ( #5417 )
...
* Only allow type-matching enum values
* More tests and fixes
2020-09-21 12:23:04 -07:00
Justin Van Patten
988ebd8b8e
[codegen/docs] Don't emit API links in Azure NextGen resource docs ( #5421 )
...
We're not going to generate language-specific API docs for the Azure NextGen provider, only resource docs. This change makes it so the resource docs do not emit any links to nonexistent API docs.
2020-09-20 11:56:52 -07:00
Luke Hoban
a2a64e55d0
Support recursive object types in pkg/codegen model ( #5404 )
...
Fixes #5228 .
2020-09-18 17:29:21 -07:00
Vivek Lakshmanan
a7680884eb
Allow ImportBasePath to override presumed golang import path
2020-09-18 12:48:14 -07:00
Vivek Lakshmanan
2a23af6892
Fix panics when running invokes with modules containing slashes
2020-09-18 11:15:56 -07:00
Mikhail Shilkov
428225f992
[codegen/nodejs] Format dashed import for invokes ( #5399 )
2020-09-17 18:23:54 +02:00