Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

Page Properties

Target release

Type // to add a target release date

Epic

Type /Jira to add Jira epics and issues

Document status

Status
titleDRAFT

Document owner

@ mention owner

Designer

@ designer

Tech lead

@ lead

Technical writers

@ writers

QA

🎯 Objective

  • To automate the process of uploading photos of examination candidates to HikCentral.

...

Requirement

Notes

Get the list of students who have exam on the present week

The data should include: Student ID, Enrolment Date, Completion Date

Retrieve photos from S3 based on the students list

  • The photos' filenames are the Student ID

  • Accepted formats of student photos: PNG, JPEG, JPG

Insert the photos into HikCentral via OpenAPI

  • The photos will be saved in HikCentral, with the following specifications

    • ID: Student ID

    • First Name: Student ID

    • Last Name: “APU“

    • Department: “APU“

    • BeginTime: Enrolment Date

    • endTime: 1 year after Completion Date

    • faceData: Photo encoded in Base64

  • The function will send photo into HikCentral via OpenAPI, one photo per request.

  • If the student ID’s photo already exists, the insertion will be skipped.

Resources used by the backend system:

  • Python v3.11.6

  • OracleDB View

  • S3 - Student Photos

  • HikCentral Professional Server and OpenAPI

...