Граф коммитов

127 Коммитов

Автор SHA1 Сообщение Дата
Heng Lu c5fe99f04e
Branch 241115 update aztfmigrate (#118)
* go mod vendor

* update aztfmigrate to support `moved` block

* fix modules.txt

* fix go sum

* fix golint

* fix golint issues
2024-11-18 11:25:47 +08:00
Heng Lu 3928e98dd7
improve init performance (#117) 2024-10-25 08:46:41 +08:00
Heng Lu 4d3583c9c3 revert `disable code action` 2024-10-24 13:39:44 +08:00
Heng Lu fd0daf53ed
disable code action for 2.0.1 release (#116) 2024-10-21 10:32:13 +08:00
Heng Lu b3cfe8271b
update aztfmigrate (#115) 2024-10-17 15:50:32 +08:00
Heng Lu 28e3e9e5a9
skip resource group's latest api-version as it's unavailable (#114)
* skip resource group's latest api-version as it's unavailable

* fix test
2024-10-16 11:35:01 +08:00
Heng Lu 7290837fed
fix windows path in aztfmigrate (#113) 2024-10-14 15:18:02 +08:00
Heng Lu 615fe86cca
update bicep types to c3ff45dfffe7f229447639b5982a1e2deadc1b71 (#112)
* update bicep types to c3ff45dfffe7f229447639b5982a1e2deadc1b71

* fix test
2024-10-12 10:58:31 +08:00
Heng Lu 313b0a32d4
Delete main_test.go 2024-10-12 09:12:19 +08:00
Heng Lu 2836981cdc
bugfix: aztfmigrate failed to parse working directory on windows (#111)
* bugfix: aztfmigrate failed to parse working directory on windows

* increase golint timeout
2024-10-11 21:56:00 +08:00
Heng Lu c44e76aa0b
update aztfmigrate (#110) 2024-10-10 18:10:01 +08:00
Heng Lu ef6ea14bab
Feature integrate migration (#109)
* go mod vendor

* renames

* support `aztfmigrate` command

* update github workflows

* revert test code

* fix gosec and golint

* fix gosec

* fix gosec

* rename Azapi to AzAPI

* update aztfmigrate
2024-10-10 15:25:41 +08:00
Heng Lu 94d89bdfe0
update bicep types to 7492c6d0a12a07f97b955661bf6df83d51bbb14d (#108) 2024-09-12 13:56:33 +08:00
Heng Lu 4b6076e0a9
update resource schema (#107) 2024-08-29 12:10:37 +08:00
Heng Lu 3c1f992f16
Feature two point oh (#106)
* support hover on the resource def to show the doc (#101)

* support paste json as azapi config (#102)

* support paste json as azapi config

* fix tests

* support code templates (#103)

* support code templates

* cache results

* Feature arm templates to azapi (#105)

* support paste arm template as azapi config

* go mod vendor

* fix golint

* bugfix: cached templates' edit range should be updated (#104)

* remove completion trigger character newline

* update some templates

* update tests

* fix tests

* add a test to prevent showing templates inside other resources
2024-08-19 10:35:35 +08:00
Heng Lu fb0536ba8f fix a typo in the changelog 2024-08-06 09:54:15 +08:00
Heng Lu e62cff6586 update bicep types to 5ccee7fe1b353e40ed86bfc530ee185faa43a288 2024-08-05 15:04:11 +08:00
Heng Lu c9b9cee600
update bicep types to 37dcb1890e3661255614961f470676b486272ff2 (#100) 2024-07-04 10:38:22 +08:00
Heng Lu ee055b9fbc
add code of conduct file 2024-05-22 14:33:29 +08:00
Heng Lu 2923616bc9
update bicep types to 48ce933ad85391b60ee02cf83e17c9b28d31a7b1 (#98) 2024-04-24 11:27:32 +08:00
Heng Lu 40462fbf88
update examples to use dynamic schema (#97) 2024-04-22 15:35:18 +08:00
Heng Lu 1512f64a0a fix crash 2024-04-22 14:46:44 +08:00
Heng Lu 92e3621f9c
Branch 240419 body dynamic schema (#96)
* Revert "`azapi_*` - support `payload` (#95)"

This reverts commit 861bed6ee2.

* `azapi_*` - the `body` field supports dynamic schema

* fix tests

* fix crash
2024-04-22 13:27:01 +08:00
dependabot[bot] bd6b63ca0f
Bump golang.org/x/crypto from 0.14.0 to 0.17.0 (#94)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.14.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.14.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-16 14:57:01 +08:00
Heng Lu 861bed6ee2
`azapi_*` - support `payload` (#95) 2024-04-16 14:56:37 +08:00
Heng Lu d706a85d56 update changelog 2024-03-01 14:40:53 +08:00
Heng Lu 8744484ed2
support new bicep types format (#93)
* support new bicep types

* support new bicep types format
2024-03-01 11:51:24 +08:00
Heng Lu 203cd6061d
update bicep types to 4abd79ba2baa05ba3c8364919b670ab43a9bf69c (#92) 2024-01-18 15:28:36 +08:00
Heng Lu b2c3e4186f
update snippets to use identity block (#89) 2024-01-18 10:47:57 +08:00
Heng Lu 4d365d04da
bugfix: auto-completion with verified examples showed for wrong resource types (#88) 2024-01-12 14:16:55 +08:00
Heng Lu e578b3f9f4
`azapi_resource` resource: Support `ignore_body_changes` property (#87)
* `azapi_resource` resource: Support `ignore_body_changes` property

* fix test
2024-01-12 13:43:06 +08:00
dependabot[bot] 7bc7a2300d
Bump golang.org/x/net from 0.0.0-20210805182204-aaa1db679c0d to 0.17.0 (#86)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.0.0-20210805182204-aaa1db679c0d to 0.17.0.
- [Commits](https://github.com/golang/net/commits/v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-18 12:18:21 +08:00
Heng Lu 75dd949de2
update bicep types to fcfe2a66a04575f204767182fc575612c82eebc1 (#85) 2023-12-18 11:00:47 +08:00
Heng Lu 0ff3637dfc
update bicep types to 505b813ce50368156e3da1b86f07977b5a913be9 (#84) 2023-11-03 13:00:56 +08:00
Heng Lu 9fb2437e56
improve the code sample completion (#83)
* improve the code sample completion

* fix golinter
2023-10-17 14:14:37 +08:00
Heng Lu 0d01747f08
support completion with verified examples (#82)
* support completion with verified examples
2023-10-13 12:09:42 +08:00
Heng Lu daae5ebee0
Update CHANGELOG.md 2023-09-01 10:27:01 +08:00
Heng Lu cf65109e98
update bicep types to 1d8fec8184258cdf967b1288b156e01f7cbc8ca9 (#81) 2023-08-30 15:21:36 +08:00
Heng Lu a10209c32b new data source: `azapi_resource_id` 2023-08-30 10:31:06 +08:00
Heng Lu 2a7da83864
new data source: `azapi_resource_list` (#80) 2023-08-04 15:43:56 +08:00
Heng Lu ee4b03c416
update bicep types to c616eb1ad4980f63c0d6b436a63701e175a62224 (#79) 2023-07-27 10:36:12 +08:00
Heng Lu 0c78cd47d4
bugfix that brackets are not parsed correctly in some corner cases (#78) 2023-07-14 11:12:04 +08:00
Heng Lu a288bafafe
bugfix: Fix a bug that field `name`'s value is not parsed correctly (#77)
* bugfix: Fix a bug that field `name`'s value is not parsed correctly when validate schema.
2023-07-06 16:26:40 +08:00
Heng Lu 2127a63585
update bicep types to 0536b68e779fba100b9fbe32737c38d75396e2cf (#76) 2023-06-16 10:30:36 +08:00
Heng Lu 7b9176a957
update bicep types to da15d0376faa02a6e891dee315910535cef2a13f (#75) 2023-05-10 13:38:09 +08:00
Heng Lu 964666c0b2
update bicep types to b8626aecc5f47b70086580956adfcd1e267a49e6 (#74) 2023-04-04 10:43:54 +08:00
Heng Lu ca5e827085
update bicep types to a915acab5788d890aed774ec818535b44311d16d (#72) 2023-02-28 11:16:41 +08:00
Heng Lu ca4f1018e5
Update CHANGELOG.md 2023-02-20 15:19:42 +08:00
Heng Lu 26c308ab58
Fix a bug that schema validation requires redundant `name` fields both in resource and in body (#71) 2023-02-17 11:23:27 +08:00
Zhenhua Hu 7924f6c192
Support syntax which keys are wrapped by quotes (#70) 2023-01-31 13:14:30 +08:00