This repository contains the Open Web App developed for System Administration module MetaData Management in Admin UI Project.
Final report about the Project : More Metadata Management in AdminUI - GSoC 2017 Project
System Administration modules functionality implemented as an OWA for OpenMRS
For further documentation about OpenMRS Open Web Apps see the wiki page.
In the More Meta data Management in AdminUI project, We focused on this following functionalities,
- Manage modules
- System Information
- Manage Scheduler
- Live Log Viewer
- Migrate the legacy functionalities to the modern open web apps
- Increase the user experience and feasibility of the legacy functionalities
- Extend the usage of the legacy functionalities with REST APIs
- Extend the administrative features using existing functionalities
- Improve the problems which are identified in the legacy UI modal
Follow this JIRA board to get information about the development progress - Open OpenMRS JIRA-System Adminstration
- Implement all functionalities in the Manage Module to Open Web App.
- List all the installed Modules and allow admin users to control the Modules using Start, Stop and Unload actions.
- View the Installed module’s details with required Module’s.
- Upload Modules(.omod File) to the OpenMRS Server and Start uploaded Module
- Start All modules functionalities
- Search the modules from OpenMRS Modules Repo and Install to the OpenMRS Server (>v1.1)
- Check installed modules updates and upgrade those modules (>v1.1)
- More information about the required modules and aware of modules (>v.1.1)
- Provide all the information to the user
- Categorized and implement the Information page.
- Copy the SystemInformation to the clipboard (> v1.1)
- Manage the tasks in the system
- Add/Modify/Unload the task definitions
- Scheduler/Shoutdown/ReSchedule the existing tasks
- Get live logs from the server for the user view (privilege required)
- Filtering logs based on logs levels
- Select and copy or copy all logs from the screen (users can download the logs also)
- Export logs to Gist
You will need JDK 1.7, maven and OpenMRS SDK. Please refer to [the wiki page] (https://wiki.openmrs.org/display/docs/OpenMRS+SDK#OpenMRSSDK-Installation) for installation instructions.
You need to setup a server (first time only) as follows: You should install and run the OpenWebApp Module and REST WebServices module to run this System Admin Open Web App
mvn openmrs-sdk:setup-platform -DserverId=adminmodule
mvn openmrs-sdk:install -DartifactId=owa -Dversion=1.7-SNAPSHOT -DserverId=adminmodule
mvn openmrs-sdk:install -DartifactId=webservices.rest -Dversion=2.23 -DserverId=adminmodule
mvn openmrs-sdk:install -DartifactId=uiframework -Dversion=3.6 -DserverId=adminmodule
mvn openmrs-sdk:install -DartifactId=uicommons -Dversion=1.7 -DserverId=adminmodule
Now you can run the server:
mvn openmrs-sdk:run -DserverId=adminmodule
Once it says "Started Jetty Server", visit http://localhost:8080/openmrs in your browser.
You will need NodeJS 4+ installed to do this. See the install instructions here.
Once you have NodeJS installed, you need to install Gulp and Bower (first time only) as follows:
npm install -g gulp bower
Install the dependencies (first time only):
npm install && bower install
Build the distributable using Gulp as follows:
gulp
This will create a file called ManageModule.zip
file in the dist
directory, which can be uploaded to the OpenMRS Open Web Apps module.
The release is automated by Travis-CI. You just need to create a new tag/release on GitHub. Before releasing set version in package.json, gulpfile.js and bintray.json and then create a new tag with name matching the release version. It should be automatically built and deployed to Bintray under https://bintray.com/openmrs/owa/openmrs-owa-sysadmin