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: Cleanup helpers part 5 #2744

Merged
merged 25 commits into from
Apr 25, 2024
Merged

chore: Cleanup helpers part 5 #2744

merged 25 commits into from
Apr 25, 2024

Conversation

sfc-gh-asawicki
Copy link
Collaborator

@sfc-gh-asawicki sfc-gh-asawicki commented Apr 24, 2024

Next batch of helper methods refactor:

  • if exists added to multiple SDK objects (including application package from the previous change)
  • if exists added to some resources in delete
  • some helpers were simplified
  • some tests were simplified (e.g. usage of the default schema)
  • helper methods for default ids introduced in test client
  • missing cleanups added
  • helpers:
    • pipe
    • tag
    • password policy
    • network policy
    • resource monitor
    • masking policy
    • alert
    • failover group
    • file format

@sfc-gh-asawicki sfc-gh-asawicki marked this pull request as ready for review April 24, 2024 13:17
@sfc-gh-asawicki sfc-gh-asawicki changed the title chore: Cleanup helpers part5 chore: Cleanup helpers part 5 Apr 24, 2024
Copy link

Integration tests failure for b792bc67fa8c3c99d5ca8d2bf12977e941e0d669

Copy link

Integration tests failure for f25355b24413e8187a0cad211552492df1a027ed

Copy link

Integration tests failure for f25355b24413e8187a0cad211552492df1a027ed

Copy link

Integration tests success for f25355b24413e8187a0cad211552492df1a027ed

pkg/acceptance/helpers/test_client.go Show resolved Hide resolved
pkg/sdk/application_packages_gen.go Show resolved Hide resolved
pkg/sdk/masking_policy.go Show resolved Hide resolved
pkg/sdk/resource_monitors.go Show resolved Hide resolved
@sfc-gh-asawicki sfc-gh-asawicki merged commit 1f165bf into main Apr 25, 2024
9 checks passed
@sfc-gh-asawicki sfc-gh-asawicki deleted the cleanup-helpers-part5 branch April 25, 2024 07:37
sfc-gh-asawicki added a commit that referenced this pull request Apr 25, 2024
Continuation for #2744:

- Moved helpers:
  - share
  - view
  - row access policy
  - api integration
  - task
  - parameter
  - columns (added to the existing table helper)
  - account
- Add missing if exists (share is missing the IF EXISTS in the docs)
- what's left:
  - going through acceptance tests and replacing the funcs sitting there
- check every invocation of
`acc.TestAccProvider.Meta().(*provider.Context).Client`
  - check every invocation of `func Client(t *testing.T) *sdk.Client`
sfc-gh-jcieslak pushed a commit that referenced this pull request May 8, 2024
🤖 I have created a release *beep* *boop*
---


##
[0.90.0](v0.89.0...v0.90.0)
(2024-05-08)


### 🎉 **What's new:**

* Adjust owner_role_type and schema_evolution_record columns
([#2740](#2740))
([424e393](424e393))


### 🔧 **Misc**

* Add a guide on creating issues
([#2758](#2758))
([2b006aa](2b006aa))
* Add missing documentation
([#2781](#2781))
([cc0a6a7](cc0a6a7))
* Add scripts to close issues from Pre Snowflake bucket
([#2762](#2762))
([44c0c37](44c0c37))
* Add small adjustments
([#2783](#2783))
([e5b0b4b](e5b0b4b))
* Adjust issue templates
([#2748](#2748))
([64ab76d](64ab76d))
* Cleanup helpers part 3
([#2730](#2730))
([eb7bee4](eb7bee4))
* Cleanup helpers part 5
([#2744](#2744))
([1f165bf](1f165bf))
* Cleanup helpers part4
([#2741](#2741))
([9475e35](9475e35))
* Cleanup helpers part6
([#2745](#2745))
([eba3029](eba3029))
* Cleanup helpers poc
([#2724](#2724))
([70b99fb](70b99fb))
* Helpers cleanup continuation
([#2726](#2726))
([a70d1af](a70d1af))
* Prepare new roadmap entry
([#2773](#2773))
([b0bf28f](b0bf28f))
* Prepare parallel builds
([#2737](#2737))
([6974e25](6974e25))
* Update the contribution guidelines (and small fixes)
([#2753](#2753))
([aafdc72](aafdc72))


### 🐛 **Bug fixes:**

* Fix issue templates
([#2760](#2760))
([d0d5048](d0d5048))
* Fix setup for two tests
([#2757](#2757))
([df025b0](df025b0))
* Fix Test (wrong order of arguments)
([#2780](#2780))
([02f467e](02f467e))
* Fix/prove issues
[#2733](#2733)
[#2735](#2735)
[#2763](#2763)
[#2767](#2767)
([#2777](#2777))
([7b1c67e](7b1c67e))
* Prove problems with procedure resource data types
([#2782](#2782))
([68d0318](68d0318))
* read after create
([#2718](#2718))
([2e9b68f](2e9b68f))
* UNSET and empty SET in network policies
([#2759](#2759))
([3eacb0b](3eacb0b))
* unset network policy should not have single quotes
([#2584](#2584))
([8f2a363](8f2a363))
* Update failover group allowed integration types
([#2776](#2776))
([efde48d](efde48d))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: snowflake-release-please[bot] <105954990+snowflake-release-please[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants