forked from feathr-ai/feathr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add e2e test for purview registry and rbac registry (feathr-ai#689)
* Add e2e test for purview registry and rbac registry * Add purview and rbac env e2e to registry tests * Fix merge issue
- Loading branch information
1 parent
8d44482
commit 5cccd84
Showing
7 changed files
with
373 additions
and
326 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
113 changes: 0 additions & 113 deletions
113
feathr_project/test/test_user_workspace/feathr_config_purview.yaml
This file was deleted.
Oops, something went wrong.
49 changes: 49 additions & 0 deletions
49
feathr_project/test/test_user_workspace/feathr_config_registry_purview.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
api_version: 1 | ||
project_config: | ||
project_name: 'project_feathr_integration_test' | ||
required_environment_variables: | ||
optional_environment_variables: | ||
|
||
offline_store: | ||
adls: | ||
adls_enabled: false | ||
wasb: | ||
wasb_enabled: false | ||
s3: | ||
s3_enabled: false | ||
jdbc: | ||
jdbc_enabled: false | ||
snowflake: | ||
snowflake_enabled: false | ||
|
||
spark_config: | ||
spark_cluster: 'databricks' | ||
spark_result_output_parts: '1' | ||
azure_synapse: | ||
dev_url: 'https://feathrazuretest3synapse.dev.azuresynapse.net' | ||
pool_name: 'spark3' | ||
workspace_dir: 'abfss://feathrazuretest3fs@feathrazuretest3storage.dfs.core.windows.net/feathr_test_workspace' | ||
executor_size: 'Small' | ||
executor_num: 1 | ||
feathr_runtime_location: "../../target/scala-2.12/feathr-assembly-0.8.0.jar" | ||
databricks: | ||
workspace_instance_url: 'https://adb-2474129336842816.16.azuredatabricks.net/' | ||
workspace_token_value: 'dapid8ddd83000dc2863763b7d47f0e8f3db' | ||
config_template: {"run_name":"FEATHR_FILL_IN","new_cluster":{"spark_version":"9.1.x-scala2.12","num_workers":1,"spark_conf":{"FEATHR_FILL_IN":"FEATHR_FILL_IN"},"instance_pool_id":"0403-214809-inlet434-pool-l9dj3kwz"},"libraries":[{"jar":"FEATHR_FILL_IN"}],"spark_jar_task":{"main_class_name":"FEATHR_FILL_IN","parameters":["FEATHR_FILL_IN"]}} | ||
work_dir: 'dbfs:/feathr_getting_started' | ||
feathr_runtime_location: "../../target/scala-2.12/feathr-assembly-0.8.0.jar" | ||
|
||
online_store: | ||
redis: | ||
host: 'feathrazuretest3redis.redis.cache.windows.net' | ||
port: 6380 | ||
ssl_enabled: True | ||
|
||
feature_registry: | ||
api_endpoint: "https://feathr-registry-purview.azurewebsites.net/api/v1" | ||
|
||
monitoring: | ||
database: | ||
sql: | ||
url: 'jdbc:postgresql://featuremonitoring.postgres.database.azure.com:5432/postgres' | ||
user: "demo" |
49 changes: 49 additions & 0 deletions
49
feathr_project/test/test_user_workspace/feathr_config_registry_purview_rbac.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
api_version: 1 | ||
project_config: | ||
project_name: 'project_feathr_integration_test' | ||
required_environment_variables: | ||
optional_environment_variables: | ||
|
||
offline_store: | ||
adls: | ||
adls_enabled: false | ||
wasb: | ||
wasb_enabled: false | ||
s3: | ||
s3_enabled: false | ||
jdbc: | ||
jdbc_enabled: false | ||
snowflake: | ||
snowflake_enabled: false | ||
|
||
spark_config: | ||
spark_cluster: 'databricks' | ||
spark_result_output_parts: '1' | ||
azure_synapse: | ||
dev_url: 'https://feathrazuretest3synapse.dev.azuresynapse.net' | ||
pool_name: 'spark3' | ||
workspace_dir: 'abfss://feathrazuretest3fs@feathrazuretest3storage.dfs.core.windows.net/feathr_test_workspace' | ||
executor_size: 'Small' | ||
executor_num: 1 | ||
feathr_runtime_location: "../../target/scala-2.12/feathr-assembly-0.8.0.jar" | ||
databricks: | ||
workspace_instance_url: 'https://adb-2474129336842816.16.azuredatabricks.net/' | ||
workspace_token_value: 'dapid8ddd83000dc2863763b7d47f0e8f3db' | ||
config_template: {"run_name":"FEATHR_FILL_IN","new_cluster":{"spark_version":"9.1.x-scala2.12","num_workers":1,"spark_conf":{"FEATHR_FILL_IN":"FEATHR_FILL_IN"},"instance_pool_id":"0403-214809-inlet434-pool-l9dj3kwz"},"libraries":[{"jar":"FEATHR_FILL_IN"}],"spark_jar_task":{"main_class_name":"FEATHR_FILL_IN","parameters":["FEATHR_FILL_IN"]}} | ||
work_dir: 'dbfs:/feathr_getting_started' | ||
feathr_runtime_location: "../../target/scala-2.12/feathr-assembly-0.8.0.jar" | ||
|
||
online_store: | ||
redis: | ||
host: 'feathrazuretest3redis.redis.cache.windows.net' | ||
port: 6380 | ||
ssl_enabled: True | ||
|
||
feature_registry: | ||
api_endpoint: "https://feathr-registry-purview-rbac.azurewebsites.net/api/v1" | ||
|
||
monitoring: | ||
database: | ||
sql: | ||
url: 'jdbc:postgresql://featuremonitoring.postgres.database.azure.com:5432/postgres' | ||
user: "demo" |
49 changes: 49 additions & 0 deletions
49
feathr_project/test/test_user_workspace/feathr_config_registry_sql.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
api_version: 1 | ||
project_config: | ||
project_name: 'project_feathr_integration_test' | ||
required_environment_variables: | ||
optional_environment_variables: | ||
|
||
offline_store: | ||
adls: | ||
adls_enabled: false | ||
wasb: | ||
wasb_enabled: false | ||
s3: | ||
s3_enabled: false | ||
jdbc: | ||
jdbc_enabled: false | ||
snowflake: | ||
snowflake_enabled: false | ||
|
||
spark_config: | ||
spark_cluster: 'databricks' | ||
spark_result_output_parts: '1' | ||
azure_synapse: | ||
dev_url: 'https://feathrazuretest3synapse.dev.azuresynapse.net' | ||
pool_name: 'spark3' | ||
workspace_dir: 'abfss://feathrazuretest3fs@feathrazuretest3storage.dfs.core.windows.net/feathr_test_workspace' | ||
executor_size: 'Small' | ||
executor_num: 1 | ||
feathr_runtime_location: "../../target/scala-2.12/feathr-assembly-0.8.0.jar" | ||
databricks: | ||
workspace_instance_url: 'https://adb-2474129336842816.16.azuredatabricks.net/' | ||
workspace_token_value: 'dapid8ddd83000dc2863763b7d47f0e8f3db' | ||
config_template: {"run_name":"FEATHR_FILL_IN","new_cluster":{"spark_version":"9.1.x-scala2.12","num_workers":1,"spark_conf":{"FEATHR_FILL_IN":"FEATHR_FILL_IN"},"instance_pool_id":"0403-214809-inlet434-pool-l9dj3kwz"},"libraries":[{"jar":"FEATHR_FILL_IN"}],"spark_jar_task":{"main_class_name":"FEATHR_FILL_IN","parameters":["FEATHR_FILL_IN"]}} | ||
work_dir: 'dbfs:/feathr_getting_started' | ||
feathr_runtime_location: "../../target/scala-2.12/feathr-assembly-0.8.0.jar" | ||
|
||
online_store: | ||
redis: | ||
host: 'feathrazuretest3redis.redis.cache.windows.net' | ||
port: 6380 | ||
ssl_enabled: True | ||
|
||
feature_registry: | ||
api_endpoint: "https://feathr-registry-sql.azurewebsites.net/api/v1" | ||
|
||
monitoring: | ||
database: | ||
sql: | ||
url: 'jdbc:postgresql://featuremonitoring.postgres.database.azure.com:5432/postgres' | ||
user: "demo" |
49 changes: 49 additions & 0 deletions
49
feathr_project/test/test_user_workspace/feathr_config_registry_sql_rbac.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
api_version: 1 | ||
project_config: | ||
project_name: 'project_feathr_integration_test' | ||
required_environment_variables: | ||
optional_environment_variables: | ||
|
||
offline_store: | ||
adls: | ||
adls_enabled: false | ||
wasb: | ||
wasb_enabled: false | ||
s3: | ||
s3_enabled: false | ||
jdbc: | ||
jdbc_enabled: false | ||
snowflake: | ||
snowflake_enabled: false | ||
|
||
spark_config: | ||
spark_cluster: 'databricks' | ||
spark_result_output_parts: '1' | ||
azure_synapse: | ||
dev_url: 'https://feathrazuretest3synapse.dev.azuresynapse.net' | ||
pool_name: 'spark3' | ||
workspace_dir: 'abfss://feathrazuretest3fs@feathrazuretest3storage.dfs.core.windows.net/feathr_test_workspace' | ||
executor_size: 'Small' | ||
executor_num: 1 | ||
feathr_runtime_location: "../../target/scala-2.12/feathr-assembly-0.8.0.jar" | ||
databricks: | ||
workspace_instance_url: 'https://adb-2474129336842816.16.azuredatabricks.net/' | ||
workspace_token_value: 'dapid8ddd83000dc2863763b7d47f0e8f3db' | ||
config_template: {"run_name":"FEATHR_FILL_IN","new_cluster":{"spark_version":"9.1.x-scala2.12","num_workers":1,"spark_conf":{"FEATHR_FILL_IN":"FEATHR_FILL_IN"},"instance_pool_id":"0403-214809-inlet434-pool-l9dj3kwz"},"libraries":[{"jar":"FEATHR_FILL_IN"}],"spark_jar_task":{"main_class_name":"FEATHR_FILL_IN","parameters":["FEATHR_FILL_IN"]}} | ||
work_dir: 'dbfs:/feathr_getting_started' | ||
feathr_runtime_location: "../../target/scala-2.12/feathr-assembly-0.8.0.jar" | ||
|
||
online_store: | ||
redis: | ||
host: 'feathrazuretest3redis.redis.cache.windows.net' | ||
port: 6380 | ||
ssl_enabled: True | ||
|
||
feature_registry: | ||
api_endpoint: "https://feathr-registry-sql-rbac.azurewebsites.net/api/v1" | ||
|
||
monitoring: | ||
database: | ||
sql: | ||
url: 'jdbc:postgresql://featuremonitoring.postgres.database.azure.com:5432/postgres' | ||
user: "demo" |