-
Notifications
You must be signed in to change notification settings - Fork 21
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
OAI Refactoring #1094
Merged
Merged
OAI Refactoring #1094
Changes from 1 commit
Commits
Show all changes
59 commits
Select commit
Hold shift + click to select a range
068bdd0
Separation of the formats regarding the format xslt files and made th…
haogatyp 112b330
#766 Refactor configuration, added options (currently only xslt file…
haogatyp d7e2477
#766 Including the prefix xslt in the base xslt instead of the other …
haogatyp 83a0a4e
#766 ServerFactory directly reads oai options from configuration and …
haogatyp 84e700e
#766 Fix absolut path for xsltFile
haogatyp d0fcdcd
#766 Fix some coding style.
haogatyp 5fa63f7
Fix coding style.
haogatyp 32f8269
Adjust visibility of some option getter methods.
haogatyp b78a459
#766 Add basic option getter tests for the BaseServer.
haogatyp e92fc9b
#766 Removed usage of getcwd().
haogatyp ce5004d
#766 Fix method access level
haogatyp 4039c6e
#766 Split ServerFactory test methods.
haogatyp b167ac2
#766 Merge default and format specific options.
haogatyp aa07706
#766 Remove unnecessary check on "true".
haogatyp b9585c9
#766 Removed throwing the exception, as this is already happening at …
haogatyp 97311cc
#766 Set the value for xsltFile so that it can be overwritten again u…
haogatyp 2d24448
#1097 Made ViewHelper configurable.
haogatyp a711037
#766 Replaced options array with single properties.
haogatyp 9a5da62
#1097 Default and format-specific ViewHelper options are combined add…
haogatyp 098856f
#1097 Check if viewhelpers exist.
haogatyp 88b9275
#766 Replace marker comment with a more technical marker.
haogatyp 2388d8b
#766 Removed some double spaces.
haogatyp 90b25f2
#766 Removed some double blank lines.
haogatyp a84057c
#766 Remove some hard coded format specific code and reduced oai form…
haogatyp 23621bc
#1101 Generate OAI ListMetadataFormats from configuration.
haogatyp 1b27ea9
#1101 Add xslt viewhelper for generating the OAI ListMetadataFormats.
haogatyp 99c919e
#1101 Made string composition more readable.
haogatyp a24cf61
#1101 Reworked the behavior of the incremental option merging so that…
haogatyp f551e13
#1101 Fix option merging.
haogatyp 4963cf7
#1101 Fix coding style.
haogatyp f8cd379
#1101 Added tests for ListMetadataFormats viewhelper.
haogatyp 52593fc
#1101 Removed deprecated property.
haogatyp 79cac6d
#1101 Fix some coding style.
haogatyp c4a8ba6
#766 Added comments to OAI config
j3nsch a8d230c
#766 Rename option "viewHelper"
haogatyp 7967b50
#766 Fixed some typos.
haogatyp 42c37f6
#766 Fix return empty string for integer variables. Renaming maxRecor…
haogatyp 882c038
#766 Now also checking for array.
haogatyp 8c5cec9
#766 Using DocumentInterface instead of Document.
haogatyp 70b7504
#766 Added class comment.
haogatyp e979a6a
#766 Fix class comment.
haogatyp 6f70e08
#766 Adjust option getters and setters for NULL values.
haogatyp b773cf1
#766 Using shorter parameter names in setter methods.
haogatyp 111b442
#766 Fix some comments.
haogatyp c28ecb2
#766 Removed unnecessary ternary operator.
haogatyp 403318e
#766 Removed outdated todo comment.
haogatyp f25c07a
#766 Renaming the marker for metadata format replacement.
haogatyp d83ab74
#766 Adjust error message.
haogatyp bc3f3ac
#766 Renamed OaiConfig to match the class name.
haogatyp e61c90c
#766 Fixed coding style
j3nsch f27d9da
#766 Empty line after header (coding style)
j3nsch 719d66b
#766 Shorten class variable comments.
haogatyp bb48b41
#766 Added a comment to make things hopefully more clear.
haogatyp 43072df
#766 Removed unused method.
haogatyp 1ca259f
#766 Use class name only ones in the function.
haogatyp 01de758
#766 Moved oai server test classes to oai test.
haogatyp ec8f82d
#766 Updated comment
j3nsch 59b25c3
#766 Removed unnecessary mock test class and moved remaining mock tes…
haogatyp 6527e7b
#766 Added a function to add view helpers to a oai server.
haogatyp 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 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.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sieht gut aus. Das ist die Idee, aber lass mal bitte die CopyXmlServer Klasse weg. Für dieses eine Format machen wir das ohne Klasse.
Wir haben hier auch noch ein weiteres Problem mit der Klasse. WIr hatten ja vereinbart
prefixLabel
als "Flag" zu verwenden, ob das Format bei ListMetadataFormats auftauchen soll oder nicht. Gibt es einen Eintrag in der Konfiguration, der aber leer ist, wird es nicht gelistet. Wenn man versucht das mit der Klasse zu machen wird es schwierig, weil man nicht so einfach zwischen NULL weil nicht gesetzt und NULL explizit gesetzt unterscheiden kann.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Vermutlich werden wir doch noch eine Option für die "Sichtbarkeit" brauchen und eine Option für die Access-Kontrolle, vielleicht "adminOnly". Das kann später ausgebaut werden, wenn es UseCases für eine feinere Kontrolle über ACLs gibt.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wir könnten jetzt auch erst einmal sagen, Formate, die nicht sichtbar sind, können nur von Admins abgerufen werden und uns damit die zweite Option erst einmal sparen.