-
Notifications
You must be signed in to change notification settings - Fork 4
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
Feat datasource adapter/strategy #12
Merged
Merged
Conversation
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
KasperZutterman
added a commit
that referenced
this pull request
Sep 10, 2021
* update README.md * fix: correct repository URLs and add contributors * write data to turtle instead of json * fix: do not delete all files from gh-pages branch before commit * feat: add gh_pages_url environment variable (#2) * feat: add gh_pages_url environment variable * Feat: add gh pages url as a variable (#3) * feat: add config logging * fix: remove unnecessary core step * Feat fragment strategy (#7) * feat: add Strategy pattern interface and context for fragmentation * feat: add Adapter pattern ISO date * feat: add object version fragment strategy * feat: remove additional gh-pages copy action * test: change actions/setup-node to check act compatibility * test: change actions/setup-node to check act compatibility * fix: take slice of ISO data to cut away timezone * fix: remove test output * feat: change .gitignore to ignore test output * feat: update to ignore output * feat: update to ignore output * feat: update to ignore output * feat: update to ignore output * fix: delete output files * feat add dummy data * feat: change n-triple serialisation to use N3 * feat: add env variables for fragmentation strategy * feat: change classname to better represent strategy pattern * feat: add Alphabetical fragmentation strategy * feat: change serialisation to turtle * feat: add tree hypermedia (#4) * feat: add manual data reshaping to RDF.Quad[][] array awaiting TREEcg/event-stream-client#22 to be fixed (#6) * fix: remove logging * Feat cleanup (#8) * fix: delete commented code * fix: remove unused env variable * fix: remove dummy data * fix: remove unused variables * fix: remove unused fetchTime code * feat: update readme with new env variables * fix: fix package name * feat: new build * fix: change file extensions to .turtle for gh pages viewing * feat: new build * fix: change file extensions to .ttl for gh pages viewing * fix: only trim date when timezoen like +20:00 is present * fix: change extention to .ttl * Fix commit message (#9) * fix: slice commit message when there are to many files * fix: disable git status logging for every file addition * fix: change max file logging to 100 * fix: change max file logging to 100 * Feat symbolic link (#10) * fix: change type to correct interface * feat: add symbolic link to newest version * feat: add symbolic link to newest version * feat: add symbolic link to newest version * fix: remove old symbolic link before creating new one * fix: remove old symbolic link before creating new one * fix: add / before symlink destination * fix: change symlink destination * Fix config (#11) * fix: cleanup getConfig * dist: new dist * fix: change config type to use ICOnfig interface * fix: change dateToBasicISODate function to keep milliseconds from bei… (#14) * fix: change dateToBasicISODate function to keep milliseconds from being truncated * dist: new dist * feat: remove output dir before running with new data (#13) * feat: remove output dir before running with new data * dist: new dist * dist: new dist * fix: remove forecfully * dist: new dist * fix: swith to rmdirSync * dist: new dist * dist: new dist * fix: remove unused dev dependency and add used one * Feat datasource adapter/strategy (#12) * fix: change config type to use ICOnfig interface * feat: Initial attempt for making multiple datasources possible * feat: change Promise type to void for fetchData method * dist: new dist * fix: remove unused variable * feat: add extra env variable for the datasource strategy * dist: new dist * feat: add new ldes client source based on update in the ldes client * feat: add new ldes client datasource based on v2.3.8 * dist: new dist * Fix: rename version fragmentation to subject-pages fragmentation (#18) * fix: rename to SubjectPagesFragmentStrategy * fix: change version to subject-pages * dist: new dist * fix: temporarely remove AlphabeticalFragmentStrategy * fix: remove unused imports and commented code Co-authored-by: ArnoTroch <arno.troch@student.uantwerpen.be> Co-authored-by: Arno Troch <47813099+ArnoTroch@users.noreply.github.com>
KasperZutterman
added a commit
that referenced
this pull request
Oct 14, 2021
* update README.md * fix: correct repository URLs and add contributors * write data to turtle instead of json * fix: do not delete all files from gh-pages branch before commit * feat: add gh_pages_url environment variable (#2) * feat: add gh_pages_url environment variable * Feat: add gh pages url as a variable (#3) * feat: add config logging * fix: remove unnecessary core step * Feat fragment strategy (#7) * feat: add Strategy pattern interface and context for fragmentation * feat: add Adapter pattern ISO date * feat: add object version fragment strategy * feat: remove additional gh-pages copy action * test: change actions/setup-node to check act compatibility * test: change actions/setup-node to check act compatibility * fix: take slice of ISO data to cut away timezone * fix: remove test output * feat: change .gitignore to ignore test output * feat: update to ignore output * feat: update to ignore output * feat: update to ignore output * feat: update to ignore output * fix: delete output files * feat add dummy data * feat: change n-triple serialisation to use N3 * feat: add env variables for fragmentation strategy * feat: change classname to better represent strategy pattern * feat: add Alphabetical fragmentation strategy * feat: change serialisation to turtle * feat: add tree hypermedia (#4) * feat: add manual data reshaping to RDF.Quad[][] array awaiting TREEcg/event-stream-client#22 to be fixed (#6) * fix: remove logging * Feat cleanup (#8) * fix: delete commented code * fix: remove unused env variable * fix: remove dummy data * fix: remove unused variables * fix: remove unused fetchTime code * feat: update readme with new env variables * fix: fix package name * feat: new build * fix: change file extensions to .turtle for gh pages viewing * feat: new build * fix: change file extensions to .ttl for gh pages viewing * fix: only trim date when timezoen like +20:00 is present * fix: change extention to .ttl * Fix commit message (#9) * fix: slice commit message when there are to many files * fix: disable git status logging for every file addition * fix: change max file logging to 100 * fix: change max file logging to 100 * Feat symbolic link (#10) * fix: change type to correct interface * feat: add symbolic link to newest version * feat: add symbolic link to newest version * feat: add symbolic link to newest version * fix: remove old symbolic link before creating new one * fix: remove old symbolic link before creating new one * fix: add / before symlink destination * fix: change symlink destination * Fix config (#11) * fix: cleanup getConfig * dist: new dist * fix: change config type to use ICOnfig interface * fix: change dateToBasicISODate function to keep milliseconds from bei… (#14) * fix: change dateToBasicISODate function to keep milliseconds from being truncated * dist: new dist * feat: remove output dir before running with new data (#13) * feat: remove output dir before running with new data * dist: new dist * dist: new dist * fix: remove forecfully * dist: new dist * fix: swith to rmdirSync * dist: new dist * dist: new dist * fix: remove unused dev dependency and add used one * Feat datasource adapter/strategy (#12) * fix: change config type to use ICOnfig interface * feat: Initial attempt for making multiple datasources possible * feat: change Promise type to void for fetchData method * dist: new dist * fix: remove unused variable * feat: add extra env variable for the datasource strategy * dist: new dist * feat: add new ldes client source based on update in the ldes client * feat: add new ldes client datasource based on v2.3.8 * dist: new dist * Fix: rename version fragmentation to subject-pages fragmentation (#18) * fix: rename to SubjectPagesFragmentStrategy * fix: change version to subject-pages * dist: new dist * fix: change to adhere new data interface * dist: new dist * feat: Change IData to IMember (#23) * Feat husky (#24) * feat: add husky pre-commit hook * fix: lint using prettier * Fix #25 (#26) * fix: remove prefix I and move to typês folder * fix: remove prefix I from IFragmentStrategy * fix: remove prefix I from IDatasource * fix: move interface Datasource to types folder * fix: move interface FragmentStrategy to types folder * fix: move interface Config and rename it * fix: move interface Config and rename it * closes #25 * fix: rename interfaces * lint: fix linting * lint: fix linting * feat: change husky pre-commit to run ESLInt instead of Prettier & currently disable it * lint: lint Co-authored-by: ArnoTroch <arno.troch@student.uantwerpen.be> Co-authored-by: Arno Troch <47813099+ArnoTroch@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Enable action to select which data source to use at runtime.
In the future, this could allow us to pass between jobs in a workflow.