-
Notifications
You must be signed in to change notification settings - Fork 33
Init config refactor #2035
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
Merged
jhiemstrawisc
merged 19 commits into
PelicanPlatform:main
from
turetske:init-config-refactor
Jul 9, 2025
Merged
Init config refactor #2035
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
784b7e8
Moved InitConfig into InitServer/InitClient
0741aed
Made InitConfigDir platform agnostic
5d9e1a8
Removed an InitConfig that was introduced in a rebase
66668bf
Fixed failing tests because of config dir
dcf8997
Removed InitConfig() calls added by the rebase
383f626
Renamed InitConfig to InitConfigInternal
3682cde
Added InitSerfer back into fed_test_utils/fed.go
ba07272
Moved the call to InitServer to after MockFederationRoot
8b1d8ef
Replaced config.InitClient with test_utils.InitClient where possible
9b4b15a
Addressed PR comments, reworked export handling in NewFedTest
c386fab
Fixed test issues created by the rebase
a48e51b
Code cleanup in response to PR comments
a95c669
Added missing import
53ba422
Refactored TestFailureOnOriginDisablingListings
c970004
Fixed redundnant reset config in a test
667a5da
Adjusted new error tests with no longer use InitConfig
b772d24
Moved webconfig override to after defaults are set
22a46bc
Added back in missing logging.FlushLogs calls
67271a2
Remove duplicated fed test cleanup func
jhiemstrawisc File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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,11 @@ | ||
| # Origin export configuration for testing | ||
|
|
||
| Origin: | ||
| # Things that configure the origin itself | ||
| StorageType: "posix" | ||
| EnableDirectReads: true | ||
| # The actual namespaces we export | ||
| Exports: | ||
| - StoragePrefix: /<SHOULD BE OVERRIDDEN> | ||
| FederationPrefix: /test | ||
| Capabilities: ["PublicReads", "Writes", "DirectReads", "Listings"] |
This file contains hidden or 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 hidden or 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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.