基于hana DB的API数据获取与分析软件设计与实现

 2022-06-20 11:06

论文总字数:26860字

摘 要

本课题的应用场景是SAP公司中的SuccessFactors人力资源管理系统,这里所实现的功能主要是基于performance模块,当用户根据员工的工作表现进行绩效管理的过程中,程序通过OData API进行数据传输以及数据的增删改查,并保证软件各个模块之间数据传输的效率和准确性,在此基础上进行了本次项目功能的开发与测试。

SuccessFactors基于开源框架来实现OData协议,它建立了适合特定对象关系映射的BIZX SaaS产品,统一了数据访问技术。它还提供了域框架与函数导入框架,便于模块通过OData协议和通用对象的API获取数据,简化和标准化操作和查询数据的方式。任务采用SAP hana数据库,在现有的OData结构基础上,完成项目中所需API接口的定义与实现,以JSON的形式进行数据封装,读取与传输,由此提高软件运行过程中数据传输的效率与安全性,并对项目进行自动化测试。项目已经完成了各个OData实体的建立,以及各个实体之间关联的确定,并对其各个功能模块的查询编辑等功能进行了测试,结果良好。在未来还会针对具体的模块进行进一步的完善。

关键词:OData协议,SAP hana, selenium 测试

API data acquisition and analysis software based on hana DB

71114403 Cai Shuchang

Advisor Wan Bin

Abstract

The application scene of this project is the SuccessFactors human capital management system in SAP company. The function is mainly based on the performance module. When the user performs the performance management according to the employee's performance, the program transmissions data through the OData API and the data is added and deleted, and the software is guaranteed. The efficiency and accuracy of data transmission between modules, on this basis, the development and testing of this project function are carried out. On this basis, we have carried out the development and test of the function of the project.

SuccessFactors implements the OData protocol based on the open source framework, which establishes a BIZX SaaS product suitable for a specific object relationship mapping, and unifies data access technologies. It also provides the domain framework and function import framework to facilitate the module to obtain data through the OData protocol and the API of the general object, and to simplify and standardize the way of operating and querying data. The task uses the SAP Hana database, on the basis of the existing OData structure, completes the definition and implementation of the API interface needed in the project, carries out data encapsulation, reading and transmission in the form of JSON, thus improving the efficiency and security of the data transmission in the process of the software operation, and testing the project automatically. The project has completed the establishment of various OData entities, as well as the determination of the association between the various entities, and tests the functions of the query and editing of the various functional modules, and the results are good. In the future, we will further improve the specific modules.

Key Words: OData,SAP hana,Selenium automation test framework

目录

摘要 Ⅰ

Abstract Ⅱ

第一章 绪论 7

1.1 项目背景 7

1.2 项目概述 7

1.2.1 项目简介 12

1.2.2 项目价值 13

1.3 文本工作和组织结构 8

第二章 基础知识与技术背景 9

2.1 SuccessFactors 系统简介 9

2.2 OData 9

2.3 SAP hana 9

2.4 OpenUI5 11

2.5 本章小结 11

第三章 需求分析 12

3.1 整体需求 12

3.2 功能需求分析 12

3.2.1 查询编辑和函数导入 12

3.2.2 实体和关联 13

3.2.3 权限管理 13

3.2.4 具体功能 13

3.3 性能需求分析 12

3.3.1 响应时间 12

3.3.2 统一标准 14

3.3.3 安全性和效率 14

3.4本章小结 14

第四章 概要设计 15

4.1 体系结构概述 15

4.1.1框架层 15

4.1.2 API层 16

4.1.3 域层 16

4.2 项目功能概述 16

4.2.1 项目功能流程 17

4.2.2 实体建立 17

4.2.3 查询与编辑 18

4.2.4 权限设定 18

4.3 OData命名规则 18

4.4 本章小结 18

第五章 详细设计与实现 19

5.1 项目环境搭建 19

5.1.1 开发环境 19

5.1.2 数据库连接 19

5.2 实体建立 20

5.2.1 POJO 20

5.2.2 具体步骤 21

5.3 元数据开发 22

5.3.1 实体属性 23

5.3.2 数据类型 25

5.3.3 模块与实体 25

5.4 查询编辑功能 26

5.4.1 上下文、请求、声明和标准 26

5.4.2 处理查询表达式 27

5.4.3 查询Factory 27

5.4.4 查询提供程序 27

5.4.5 编辑功能 27

5.5 权限检查 28

5.5.1 行级RBP权限检查 28

5.5.2 字段级RBP权限检查 29

5.6 OData API函数导入 29

5.6.1 如何创建函数导入类 29

5.7 错误处理 30

5.8 本章小结 30

第六章 项目测试 31

6.1测试工具简介与环境搭建 31

6.1.1 测试工具简介 32

6.1.2 测试环境搭建 32

6.2功能测试 31

6.2.1 JMeter 32

6.2.2 具体功能测试 32

6.3性能测试 33

6.4本章小结 34

第七章 总结与展望 35

7.1 项目总结 35

7.2 工作展望 35

致谢 36

参考文献(Reference) 37

第一章 绪论

剩余内容已隐藏,请支付后下载全文,论文总字数:26860字

您需要先支付 80元 才能查看全部内容!立即支付

该课题毕业论文、开题报告、外文翻译、程序设计、图纸设计等资料可联系客服协助查找;