Add Dummy Data Generator plugin with API routes for OJS#479
Open
munir-abbasi wants to merge 3 commits intopkp:mainfrom
Open
Add Dummy Data Generator plugin with API routes for OJS#479munir-abbasi wants to merge 3 commits intopkp:mainfrom
munir-abbasi wants to merge 3 commits intopkp:mainfrom
Conversation
Added Dummy Data Generator plugin for OJS with API routes for testing.
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
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.
This PR adds the Dummy Data Generator plugin, a generic plugin for Open Journal Systems 3.5+.
The plugin extends the OJS API by adding custom routes under the
/api/v1/usersendpoint to generate dummy users, submissions, and issues for development and testing environments.Plugin Details
Overview
This plugin provides a controlled way to generate test data directly through the OJS API.
It adds plugin-defined endpoints for:
All routes extend the existing OJS users API handler and inherit authentication and authorization from the OJS API layer.
API Endpoints
These endpoints are implemented by the plugin and are not part of the core OJS API.
Installation & Testing
plugins/generic/dummyDataGeneratorNotes
Checklist
v1.0.0)Package
Release archive:
dummyDataGenerator-v1.0.0.tar.gz