Skip to content

Commit 739da01

Browse files
Feature group testing (#50)
Summary: Generated Feature Group controller code and wrote passing integration tests for the Feature Group controller. Files Added: - test/e2e/tests/test_feature_group.py - Contains Create and Delete integration test for feature group - test/e2e/resources/feature_group.yaml - yaml file for feature group creation in integration testing. - pkg/resource/feature_group/custom_delta.go - Sets default spec values for feature group fields (DisableGlueTableCreation and S3StorageConfig) if the user did not define them. Files Edited: - test/e2e/service_bootstrap.py - Attached AmazonSageMakerFeatureStoreAccess Role Policy to the SageMaker Execution Role for testing purposes. (Feature Store requires this permission for the Feature Group creation and access) - generator.yaml - Commented out feature group from the ignore list. Also added feature group exceptions, hooks, and fields. - pkg/resource/feature_group/delta.go - added the CustumSetDefault() function from custom_delta.go to the newResourceDelta() function.
1 parent 522c147 commit 739da01

23 files changed

+2584
-31
lines changed
+7-7
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
ack_generate_info:
2-
build_date: "2021-06-22T20:41:21Z"
3-
build_hash: 38e309d07369b1e33250473084f91db3894c4379
4-
go_version: go1.16.4 darwin/amd64
5-
version: v0.2.3
6-
api_directory_checksum: 650887de24f94277e21771990d1391198cce93c3
2+
build_date: "2021-07-07T19:02:56Z"
3+
build_hash: 6911f924191f5315747c8e81fbcbf29b4edc8cb1
4+
go_version: go1.16.4 linux/amd64
5+
version: v0.3.1
6+
api_directory_checksum: 66483eaa00d69d0952996efb66542595709e6a6d
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.38.11
99
generator_config_info:
10-
file_checksum: 5116a83b119c80774a9e1910851a431b5bd55421
10+
file_checksum: 476e48a7aa1700dc969a1be123b88edf95a24d9c
1111
original_file_name: generator.yaml
1212
last_modification:
1313
reason: API generation
14-
timestamp: 2021-06-22 20:41:26.608413 +0000 UTC
14+
timestamp: 2021-07-07 19:02:59.18477677 +0000 UTC

apis/v1alpha1/enums.go

+6-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/v1alpha1/feature_group.go

+148
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)