forked from logicalclocks/hopsworks
-
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.
[HWORKS-697] Add airflow user to project (logicalclocks#1520)
- Loading branch information
1 parent
0246744
commit aa3c675
Showing
17 changed files
with
63 additions
and
755 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -45,6 +45,12 @@ | |
with_valid_project | ||
end | ||
|
||
it 'should add airflow user to project' do | ||
get "#{ENV['HOPSWORKS_API']}/project/#{@project[:id]}/projectMembers" | ||
airflow_member = json_body.detect { |e| e[:user][:email] == "[email protected]" } | ||
expect(airflow_member).not_to be_nil | ||
end | ||
|
||
it "should be able to compose DAG" do | ||
get "#{ENV['HOPSWORKS_API']}/project/#{@project[:id]}/airflow/secretDir" | ||
expect_status_details(200) | ||
|
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
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
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
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
Oops, something went wrong.