All pages
Powered by GitBook
1 of 7

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Administration

Overview

The MOSIP platform is configured via the Admin application. This application can be accessed only by a privileged group of administration personnel. The admin module provides the following functions:

  1. Management of resources via CRUD operations:

    1. Zone

    2. Centers (registration centers)

    3. Device

    4. Machine

    5. Users (Admin, registration staff)

  2. Registration administration

    1. Packet status

    2. Retrieve lost RID

    3. Resume RID

Administrative zones

  • Administrative zones are virtual boundaries which a country can define to better manage their resources that are used during registrations. These resources includes Centers, Users, Machines and Devices. These zones can be defined in a hierarchical fashion and a country can allocate resources to such zones based on their requirements.

  • Resources under each zone is managed by a Zonal Admin. This is done by assigning an Administrative zone to the Zonal Admin during user creation.

  • These Zonal Admins can exist at any zonal hierarchy. (For e.g, a Zonal Admin can directly be mapped to the whole country as a Zone or can be mapped to a significantly smaller zone such as a city). Thus, these resources when mapped to an Administrative zone can only be managed by the Admin of that zone.

Activate/deactivate/decommission resources

What is deactivation of a resource?

Deactivation refers to a reversible action in which the isActive value for a resource in database is set to "False". This means that the resource will not be available for use unless and until it is activated later through the admin portal as required by the country.

What is decommissioning a resource?

  • Decommission refers to a permanent/irreversible action of the resource. This also automatically deactivates it and the isDeleted value for the resource is set to "True".

  • The primary difference being that a decommissioned resource cannot be bought into commission again as decommission refers to a permanent shutdown.

  • Also, in cases where a center has some resources mapped to it (e.g. machines, devices or users), the portal will not allow the admin to decommission such a center.

Note- Activation/Deactivation/Decommission of a center in one language will be applied to the same center created in all the languages.

Services

Frontend- Admin portal

Reference implementation of the Admin portal is available in repository.

To know more, refer to the .

Developer Guide

To know more about the setup, read .

API

Refer .

Source code

.

Admin Service
Hotlist Service
kernel Masterdata Service
Kernel Syncdata Service
admin-ui
Admin portal user guide
Admin Services Developer's Guide
API Documentation
Github repo

Test

Develop

Admin Portal Collab Guide

Overview

Welcome to the Admin Portal Collab Guide. The Admin Portal is a web-based application that allows administrative personnel to manage various master data sets. It provides functionalities to oversee resources such as registration centers, devices, machines, users, and security management. Admin users can also generate master keys, track registration status, retrieve lost RIDs, and resume paused packets.

For a detailed breakdown of the Admin Portal features, please refer to the Administration Page.

Pre-requisites

  • Accessing the Admin portal in the Collab environment requires no complex setup.

  • All you need is a username and password to login to the .

  • If you do not have credentials, you can request them .

Step-by-Step Guide

Step 1: Access the Admin Portal

Visit the Admin Portal in the Collab environment by navigating to the .

Step 2: Log in to the Portal

  1. Enter your username and password.

  2. Click Login to proceed.

Step 3: Explore Admin Portal Features

Once logged in, you can access the available features based on your role. Refer to the for more details on specific functionalities.

Additional Resources

Please watch this to learn more about the features in the Admin Portal.

Get in Touch

If you require any assistance or encounter any issues during the testing and integration process, kindly reach out to us through the support mechanism provided below:

  1. Navigate to .

  2. Provide a detailed description of your issue, including: a. Steps to reproduce the problem. b. Error messages, logs, or screenshots (if applicable) c. Any other relevant details to help diagnose the issue

We wish you a smooth experience with the Admin Portal collab guide!

Admin Portal
here
Admin Portal
Admin Portal User Guide
video
Community

Masterdata Guide

Overview

Masterdata is the necessary base data to run MOSIP services. The data resides in mosip_master database. This data needs to be customized for a country specific deployment.

Populating masterdata

Masterdata may be uploaded in the following manner:

  1. One-time bulk upload:

    1. (for sandbox installation): Using . The default data uploaded during sandbox installation is available in .

    2. Country specific data: Using .

Creating country specific data

The tables that need to be modified for country specific data are listed below. Other tables in mosip_master DB are either system-filled or pre-filled and not to be modified.

Common guidelines

  • Copy Excel files from to a folder.

  • For all tables listed below modify lang_code and add corresponding rows for your .

  • Modify the files for your deployment as per guide below.

Tables to be updated

Category
Table
Guide
Updates: Updates to tables may be done using the Admin Portal.
Upload first time using scripts given here.
  • Subsequently, update data ONLY using Admin Portal.

  • location

    List of locations stored in a hierarchical format

    loc_holiday

    Holidays specific to different locations. Used in registration centre creation.

    Machine

    machine_type

    Example mobile, stationary. Refers to machine_spec.

    machine_spec

    Model, make of the registration machine

    ID Schema

    identity_schema

    Refer to . Update the JSON in schema_json column of

    dynamic_field

    Dynamic dropdowns used during data capture

    id_type

    Only name and descr can be changed based on language

    ui_spec

    UI specification for registration and pre-registration UI screens. See

    Registration client

    permitted_local_config

    List of changeable configurations by the operator

    app_authentication_method

    Only method_seq can be changed

    app_detail

    Only name and descr can be changed based on language

    app_role_priority

    Only priority can be changed

    authentication_method

    Only method_seq can be changed

    reason_list

    List of reasons for a reason category

    reason_category

    Only name and descr can be changed based on language

    Registration center

    reg_center_type

    Type of center

    registration_center

    List of registration centers

    registration_center_h

    Historical data for any modification done on a registration center. One time intialization of this table identical to registration_center. Thereafter, the data will be system updated

    reg_exceptional_holiday

    Exception holiday for a registration center

    reg_working_nonworking

    Working and non-working day for a center

    Biometrics

    biometric_attribute

    Only name and descr can be changed based on language

    biometric_type

    Only name and descr can be changed based on language

    Templates

    template

    Only name, descr, file_txt can be changed based on language

    template_file_format

    Only descr can be changed based on language

    template_type

    Only descr can be changed based on language

    Others

    blocklisted_words

    List of blocked words

    daysofweek_list

    Only name can be changed based on language

    module_detail

    Only name and descr can be changed based on language

    process_list

    Only name and descr can be changed based on language

    status_list

    Only descr can be changed based on language

    status_type

    Only name and descr can be changed based on language

    title

    List of titles used in the country

    zone

    List of administrative zones in a country

    Documents

    doc_category

    Categories of documents to be captured

    doc_type

    Specific documents related to a country

    applicant_valid_document

    Mapping of document category, type and applicant type

    Location

    loc_hierarchy_list

    Default masterdata
    Helm chart
    mosip-data
    Python scripts
    mosip-data
    configured languages

    List of location hierarchy

    Admin Portal User Guide

    Overview

    An admin application is a web-based application used by a privileged group of administrative personnel to manage various master data sets. The various resources that an Admin can manage are:

    1. Center (Registration centers)

    ID Schema customisation
    identity_schema.xlsx
    UI spec guides

    Device

  • Machine

  • Users (Admin, Registration staff)

  • Along with the resource and data management, the admin can generate master keys, check registration status, retrieve lost RID, and resume processing of paused packets. To start using the Admin portal, an admin user must be assigned to a zone.

    To learn more, refer to the video below!

    Session 1

    First Admin user

    1. Setup of hierarchical zones

    2. Create Admin roles in KeyCloak

    3. Create the first admin user in KeyCloak and assign the "GLOBAL_ADMIN" role

    Note: On the login of the first admin user, user zone mapping is handled automatically.

    The above is done automatically as part of the default sandbox installation.

    Login

    1. Select the preferred language.

    2. Login with KeyCloak credentials.

    Actions

    1. Map the other users(admins/registration operators/supervisors) to their respective zones

    2. Create centers and assign the users to a particular center

    3. Highly recommended: Ensure to revoke the first super user's zone mapping and role after the first user actions are completed.

    Admin roles and their default accessibility matrix

    • GLOBAL_ADMIN

    • ZONAL_ADMIN

    • REGISTRATION_ADMIN

    • MASTERDATA_ADMIN

    • KEY_MAKER

    GLOBAL_ADMIN
    ZONAL_ADMIN
    REGISTRATION_ADMIN
    MASTERDATA_ADMIN
    KEY_MAKER

    Centers

    Devices

    Packet Status

    Devices

    GenerateMasterKey

    User Zone Mapping

    Machines

    Pause/ Resume RID

    Machines

    GenerateCSR

    Center

    • This portal allows an Admin to view, create, edit, activate, deactivate and decommission registration centers.

    • An Admin can manage only centers under their administrative zones.

    The administrator can filter the list of registration centers based on parameters like Center name, Center type, Status, and Location code.

    • The system does not fetch the details of decommissioned registration centers but only active and inactive centers are displayed.

    • If the admin does not find a center, they can click the Center not available in logged in language button. Clicking on this button displays the list of centers that are already created in other languages. On selecting a particular center, the information will be auto-populated in the Create page and be made available to the admin for modifications.

    • Language specific fields can be modified to create a center with the currently logged in language.

    Create center

    • A center is created with multiple attributes and is mapped to the administrative zone that it belongs to.

    • A center can only be mapped to the configured location hierarchy level.

    • While defining centers, an admin can also define the working days of the week for a center and any exceptional holidays that might be applicable for a particular center.

    Update center

    • An admin can update a center even after it has been created. The updates can include adding the details that were missed during the creation of the center or changing the details of a center as required.

    • To update, click the Edit option from the Actions menu against a center name.

    Note- Updates made to language specific fields updates data only for that language in the database while updates made to non-language dependent fields updates data against all the language entries for that center.

    Activate/deactivate/decommission center

    • Select the Deactivate/Decommission option from the Actions menu against the center.

    • Activation/Deactivation/Decommission of a center in one language will be applied to the same center created in all the languages.

    To know more, refer Activate/deactivate/decommission resources

    Devices

    • Using this portal, an admin can manage the devices a country will use for registering residents like devices used for bio-metric capture (Fingerprint, Iris, Web camera, etc.), printers, and scanners.

    • This portal allows an Admin to view, create, edit, activate, deactivate, and decommission registration centers.

    • The admin portal allows an admin to view the list of all the devices available in the jurisdiction of their administrative zone.

    • The system does not fetch the details of decommissioned devices but only the active and inactive devices.

    Note:

    • The device entity is language agnostic (independent of languages).

    • The data collected about Devices is used only for book keeping, i.e., the MOSIP system does not use this data for any validation.

    The Admin can filter the list of Registration centers based on parameters like Device Name, Mac Address, Serial Number, Status, Map Status, Device Type, and Device Spec ID.

    Create devices

    A Device can be created with multiple attributes and be mapped to the Administrative Zone it belongs to.

    Update devices

    • An admin can update missing information or change device details even after it is created.

    • To update, click the Edit option from the Actions menu against a device.

    Activate/deactivate/decommission device

    Select the Deactivate/Decommission option from the Actions menu against the device.

    Map/un-map/re-map the device to a center

    • Admin portal allows an Admin to map/un-map each device to a center.

    • This mapping specifies as to which center the device will be used in.

    • A device can only be mapped to a center that belongs under the device’s Administrative Zone.

    • To do so, select the device and choose a Center Name from the dropdown.

    Machines

    • Admin portal allows an administrator to manage the machines a country will use for registering residents.

    • This portal allows an Admin to view, create, edit, activate, deactivate and decommission machines.

    • The admin portal allows an admin to view the list of all the machines available in the jurisdiction of their administrative zone.

    • The system does not fetch the details of decommissioned machines but only shows the active and inactive machines.

    Note: Machine entities are also language agnostic.

    The administrator can filter the list of machines based on parameters like Machine name, Mac address, Serial number, Status, and Machine type.

    Create machines

    • A machine can be created with attributes like Machine ID, machine name, MAC address, serial number, machine spec ID, and administrative zone the machine belongs to.

    • A machine needs to be mapped to an administrative zone.

    Update machines

    • An admin can update missing details or make changes to machine details even after it is created.

    • To update, click the Edit option from the Actions menu against a machine.

    Note- Updates made to language specific fields update data only for that language in the database while updates made to non-language dependent fields updates data against all the language entries for that center.

    Activate/deactivate/decommission machine

    An admin can deactivate or decommission a machine through the admin portal.

    Map/un-map/re-map machine to a center

    • Admin portal allows an Admin to map/un-map each machine to a center.

    • This mapping specifies as to which center the machine will be used in.

    • A machine can only be mapped to a center that belongs under the machine’s Administrative Zone.

    • To do so, select the machine and choose a Center Name from the dropdown.

    Users

    • MOSIP uses Keycloak as an IAM (Identity access management tool) for managing Users. These users are internal users of MOSIP including Registration Officers, Registration Supervisors, Zonal Admins, Global Admins, etc.

    • using this portal, an Admin can map the users to a zone and a center.

    User Zone Mapping

    • Once a user is created in KeyCloak, they need to be mapped to a zone to access specific information available in that zone.

    • Admin portal allows an admin to map users to a zone. This mapping specifies which zone the user will belong to.

    • A user can only be mapped to a zone that belongs under the user’s Administrative Zone.

    • A user can later be unmapped from the zone in case a user needs to be moved to another zone. In such cases, the user will later need to be mapped to the new zone. The below image displays the list of users that are mapped to a zone.

    Map/Un-map/re-map user to a zone

    To map a user to a zone,

    1. Click Resources-> User Zone mapping

    2. Click +Map Zone

    3. Select the User Name, and Administrative Zone from the dropdown.

    4. Click Save.

    To re-map a user to a zone,

    1. Click Resources-> User Zone mapping

    2. Select Remap from the Actions menu against the mapped user.

    3. Update the User Name/ Administrative Zone from the dropdown.

    4. Click Save.

    Note- If the center is already mapped, the admin needs to unmap the center to remap the zone.

    User Center Mapping

    • Once the user is mapped to a zone, they will be listed in the screen below. Now, the user will be mapped to a center to be able to manage their assigned center.

    • Admin portal allows an admin to map users to a center. This mapping specifies as to which center the user will be used in.

    • A user can only be mapped to a center that belongs under the user’s Administrative Zone.

    • A user can later be unmapped from the Center in cases where a User needs to be moved to another Center. In such cases, the user will later need to be mapped to the new center. In case the user is required to be mapped to a Registration center outside the Administrative Zonal restriction, the Administrative Zone of the user must be changed.

    Map/un-map/re-map user to a registration center

    To map a user to a center,

    1. Click Resources-> User Center Mapping

    2. Select Map from the Actions menu against the mapped user.

    3. Select the Center Name from the dropdown against the User Name, Administrative Zone.

    4. Click Save.

    Search and dropdowns

    • To get the results starting with a specific character/ set of characters, prepend that specific character/set of characters with asterisk symbol.

    • Similarly to get the results ending with a specific character/ set of characters, append that specific character/ set of characters with asterisk.

    • For the results containing a specific character/ set of characters, prepend and append that specific character/ set of characters with asterisk.

    Below is the image illustrating the same.

    Packet status (based on RID)

    • A Registration packet generated in the Registration client is sent to the Registration Processor for further processing and UIN generation.

    • Using this Portal, A Registration Admin can view the status of a packet by entering the RID of the packet.

    • The packet status will contain all the stages the packet has passed through along with the last stage the packet is in.

    • In case the packet has not been processed or is marked for Re-Send/Re-Register, the admin will be able to view specific comments indicating the reason for that particular status.

    Pause/Resume RID

    • The Registration Admin has the privilege to view the registration packets that are in a paused state.

    • Admin can use this portal to resume or reject paused packets. They would have 3 options:

      • Resume processing (from where it was paused)

      • Resume from the beginning

      • Reject

    Once processing of a packet is resumed, it will be removed from this list

    Retrieve lost RID

    • The Registration Admin can use this feature to retrieve lost RID.

    • For instance, if the resident did not provide any valid email and/or phone number and has lost the RID slip received during the registration, to find their RID details, the resident contact the MOSIP helpline and share details such as name, center name, registration date, and postal code to the admin, who will use the lost RID feature and try to retrieve the RID number.

    A few filters may be applied to retrieve the RID.

    Note: This feature is currently under development.

    Master Data

    • Admin portal allows an Admin to manage the Masterdata applicable for a country.

    • These data include a list of Genders, a list of Holidays, Templates, Center Types, Machine Types, etc.

    To know more, refer to the Masterdata guide.

    Bulk upload

    • If a country decides to upload the data through the .csv files, they could use this feature to upload the existing data into the MOSIP platform.

    • The listing screen displays the uploaded data transaction information.

    • As the information inside .csv files may be huge, it would go through the batch job to process the information and store it in the tables. Also, it may take time to get a unique transaction ID against a particular action.

    Master Data

    To upload Master data using the Admin portal,

    1. Go to Bulk Upload > Master Data

    2. On the master data dashboard, click Upload Data.

    3. Select the operation (insert/update/delete)

    4. Select the table name into which the data needs to be uploaded.

    5. Click Choose file to select the data and click Upload

    • To view the format for inserting data in a particular table, click on the Download icon.

    • A CSV file gets downloaded in which the first row represents the column names and the rest of the rows are the data that will be inserted into the table(sample).

    • From the 1.2.0.1-B2 version, apart from the comma, other special characters (i.e., '|','$'etc.) can also be used as a separator in the CSV file used for masterdata bulk upload. This can be done by updating the property mosip.admin.batch.line.delimiter with the same special character.

    Note: While editing CSV files, it is recommended to keep track of the Date format and Time format to be the same as the acceptable formats. The acceptable Date format is YYYY-MM-DD and the acceptable Time format is HH:MM:SS. Any other Date and Time formats in CSV files will result in a DataType Mismatch Error.

    Packets

    To upload packets using the Admin portal,

    1. Go to Bulk Upload > Packets

    2. On the packet upload dashboard, click Upload Packet.

    3. Select the following from the dropdown:

      • Center name

      • Source (currently displays Registration Client)

      • Process (New, Update UIN, Lost, Biometric correction)

      • Supervisor status (Approved/Rejected)

      These details are important if the packet needs to be synced before upload.

    4. Click Choose file to select the packets and click Upload.

    How is the packet upload performed with or without the DATA_READ role?

    LoggedIn User Role
    Packet Sync
    Packet Upload

    With DATA_READ

    Yes

    only after successful sync

    Without DATA_READ

    No

    Yes

    For uploading the packets through the Admin portal, ensure that the packets are available in the machine or the external hard disk connected from where the Admin Portal is being used.

    Key Manager

    With the help of this feature, the Admin user can generate and manage the keys required in MOSIP.

    GenerateMasterKey

    • The logged in user with KEY_MAKER role will have access to view and generate the master key in the Admin portal.

    • Using this option, the logged in user will be able to generate only the Root key and Module master key. To generate the key, the user has to select the Application ID from the options available in the dropdown, leave the Reference ID blank for the Root and Module master key, and provide other certificate attributes to be used at the time of generation of the certificate for the key.

    • These certificate attributes in the portal are optional, if not provided, default values configured in the Key Manager service will be used.

    • For the Kernel signature key (which is considered the master key and stored in ), a Reference ID needs to be provided and the value has to be SIGN.

    • The force flag option is available in key generation. The logged in user can select the option value True to force the invalidation existing key and generate a new key in service.

    • The logged in user has to select the return object after the generation of the key.

    • The user can select either Certificate or CSR (Certificate Signing Request). The key will be generated only when the key is not available in service otherwise already generated key certificate will be returned for the generation request.

    GenerateCSR

    • CSR (certificate signing request) is required when there is a need to procure a valid certificate from a valid CA.

    • GenerateCSR option can be used to request for a CSR and this option will be visible to all the users who log in to the Admin portal.

    • The logged in user can request for generation of CSR for any key generated in Key Manager service.

    • The user has to provide the Application ID and Reference ID to get a CSR.

    • A new key will be auto-generated in case the key does not exist and the already existing key has expired for the Module Encryption keys.

    • Whereas, for master key or key, a new key will not get auto-generated in case the key does not exist, but the new key will get auto generated if the key exists and has expired. The current valid key will always be used to generate a CSR.

    GetCertificate

    • The user can get a certificate for all the keys generated in Keymanager and any partner certificates uploaded in Keymanager service for partner data sharing purposes.

    • The GetCertificate option is visible to all the users who log in to the Admin portal.

    • The user has to provide the Application ID and Reference ID to get a certificate.

    • A new key will be auto generated in case the key does not exist and the already existing key has expired for Module encryption keys.

    • Whereas, for master key or key, a new key will not get auto-generated in case the key does not exist, but a new key will get auto-generated if the key exists and has expired. For the partner certificate, a new key will not be generated in the Key Manager service.

    • Only current valid certificates will be returned when the user requests a certificate.

    UploadCertificate

    • The logged in user can use this option to update the certificate for all the keys generated in the Key Manager service.

    • This option is used in scenarios where a valid CA certificate has been procured for a key available in the Key Manager service.

    UploadOtherDomainCertificate

    • The logged in user can use this option to upload a partner certificate in Key Manager service.

    • Partner certificates will be used in the Key Manager service to encrypt any sharable data using the partner certificate required in datashare from MOSIP to any partner.

    • Partner certificates can also be used in the Key Manager service for signature verification purposes.

    All Master Data

    User Zone Mapping

    Retrieve Lost RID

    All Master Data

    GetCertificate

    Masterdata Bulk Upload

    User Center Mapping

    Packet Bulk Upload

    Masterdata Bulk Upload

    UploadCertificate

    All Master Data

    UploadOtherDomainCertificate

    Masterdata Bulk Upload

    HSM
    Key Manager
    Key Manager
    Module
    Root
    Module
    Root

    Admin Services Developers Guide

    Overview

    The admin application is a web-based application used by a privileged group of administrative personnel to manage various master data. The various resources that can be managed by an administrator are:

    • Center (Registration centers)

    • Device

    • Machine

    • User (Admin, Registration staff)

    Along with resource and data management, the admin can generate master keys, check registration status, retrieve lost RIDs, and resume processing of paused packets.

    • Masterdata Service exposes API to perform CRUD operations on masterdata through Admin service.

    • Hotlist Service provides functionality to block/unblock any IDs with option of expiry. This hotlisted information will also be published to MOSIP_HOTLIST WebSub topic.

    • Sync Data Service can be accessed only by the privileged group of admin personnel and enables default configurations and seed data to be setup when the MOSIP platform gets initialized.

    The admin module has four services:

    • Admin service

    • Kernel Masterdata service

    • Kernel Syncdata service

    • Hotlist service

    The documentation here will guide you through the pre-requisites required for the developer' setup.

    Software setup

    1. JDK 11

    2. Any IDE (like Eclipse, IntelliJ IDEA)

    3. Apache Maven (zip folder)

    4. pgAdmin

    Follow the steps below to set up Admin Services on your local system:

    1. Download and .

    2. Unzip Apache Maven and move the unzipped folder in C:\Program Files and settings.xml to conf folder C:\Program Files\apache-maven-3.8.4\conf.

    1. Check the Eclipse installation folder C:\Users\userName\eclipse\jee-2021-12\eclipse to see if the lombok.jar is added. By doing this, you don't have to add the dependency of lombok in your pom.xml file separately as it is auto-configured by Eclipse.

    2. Configure the JDK (Standard VM) with your Eclipse by traversing through Preferences → Java → Installed JREs.

    Code setup

    For the code setup, clone repository and follow the guidelines mentioned in the .

    Importing and building of a project

    1. Open the project folder where pom.xml is present.

    2. Open command prompt from the same folder.

    3. Run the command mvn clean install -Dgpg.skip=true -DskipTests=true to build the project and wait for the build to complete successfully.

    Environment setup

    1. For the environment setup, you need an external JAR that is available with different versions. (E.g.: You can download kernel-auth-adapter.jar and add to project Libraries → Classpath → Add External JARs → Select Downloaded JAR → Add → Apply and Close).

    1. Clone .

    2. Any changes in the properties for Masterdata and Admin services should be done in application-local1.properties file.

    3. By default the Admin-services is connected to dev environment.

    For example, to run the Admin service, open IDE -> admin-service -> src/main/java/io.mosip.admin -> Right click on AdminBootApplication.java and select run as Java Application.

    1. To run the specific service from Command Prompt, Open Project folder -> open command prompt from same folder -> Execute java -jar target/specific-service-1.2.0.jar.

    For example, to run the admin service, Open Project folder -> open command prompt from same folder -> Execute java -jar target/admin-service-1.2.0-SNAPSHOT.jar.

    The service should now be up and running.

    Admin services API

    • For API documentation, refer .

    • The APIs can be tested with the help of Swagger-UI and Postman.

    • Swagger is an interface description language for describing restful APIs expressed using JSON. You can access Swagger-UI of admin-services for dev-environment from:

    Admin service– http://dev.mosip.net/v1/admin/swagger-ui/index.html?configUrl=/v1/admin/v3/api-docs/swagger-config#/ and localhost from http://localhost:8098/v1/admin/swagger-ui/index.html?configUrl=/v1/admin/v3/api-docs/swagger-config#/.

    Masterdata- http://dev.mosip.net/v1/masterdata/swagger-ui/index.html?configUrl=/v1/masterdata/v3/api-docs/swagger-config#/ and localhost from http://localhost:8086/v1/masterdata/swagger-ui/index.html?configUrl=/v1/masterdata/v3/api-docs/swagger-config#/.

    Syncdata- http://dev.mosip.net/v1/syncdata/swagger-ui/index.html?configUrl=/v1/syncdata/v3/api-docs/swagger-config#/ and localhost from http://localhost:8089/v1/syncdata/swagger-ui/index.html?configUrl=/v1/syncdata/v3/api-docs/swagger-config#/.

    Hotlist- http://dev.mosip.net/v1/hotlist/swagger-ui/index.html?configUrl=/v1/hotlist/v3/api-docs/swagger-config#/ and localhost from http://localhost:8095/v1/hotlist/swagger-ui/index.html?configUrl=/v1/hotlist/v3/api-docs/swagger-config#/

    • Postman is an API platform for building and using APIs. Postman simplifies each step of the API lifecycle and streamlines collaboration so you can create better APIs—faster. It is widely used tool for API testing.

    • Create an environment as shown in the image below.

    This environment is created for dev. Give the variable name as url and set both the values as https://dev.mosip.net.

    • In the similar way, create another environment for localhost as shown below.

    This environment is created for localhost. Give the variable name as url and set both the values as http://localhost:8099.

    Postman

  • Git/GitHub Desktop

  • Notepad++ (optional)

  • lombok.jar (file)

  • settings.xml

  • Install Eclipse, open the lombok.jar file and wait for some time until it completes the scan for Eclipse IDE and then click Install/ Update.

    After building of a project, open Eclipse and select Import Projects → Maven → Existing Maven Projects → Next → Browse to project directory → Finish.

  • After successful importing of project, update the project by right-click on Project → Maven → Update Project.

  • To run the specific service from IDE, Open IDE -> Specific service -> src/main/java/io.mosip.specific service -> Right click on the file and select run as Java Application.
    lombok.jar
    settings.xml
    admin-services
    Code Contributions
    here
    admin-services repository
    here