使用微服务Spring引导设计和开发公共投诉系统的后端应用程序外文翻译资料

 2022-05-05 09:05

Available online at www.sciencedirect.com

ScienceDirect

Procedia Computer Science 124 (2017) 736–743

4th Information Systems International Conference 2017, ISICO 2017, 6-8 November 2017, Bali, Indonesia

Design and Development of Backend Application for Public Complaint Systems Using Microservice Spring Boot

Hatma Suryotrisongko*, Dedy Puji Jayanto, Aris Tjahyanto

Institut Teknologi Sepuluh Nopember, Kampus ITS Sukolilo-Surabaya 60111, Indonesia

Abstract

E-government is an implementation of ICT (information and communication technologies) in the field of governance in improving services to the public by a government or public sector. For example, Smart City, online licensing services, community complaint services, etc. The purpose of this research is to develop public complaint service application based on web application which uses springboot microservice architecture. Microservice architecture was used to divide the application functionality into many parts, or many micro-services based on business process and the services are interconnected, becoming a single application with a complete business process. One of the advantages of this architecture is that more microservice can be added without affecting others. The application was deployed in a cloud environment that can be accessed through a browser.

copy; 2018 The Authors. Published by Elsevier B.V.

Peer-review under responsibility of the scientific committee of the 4th Information Systems International Conference 2017.

Keywords: e-Government; Microservices; Complaint Services; Spring Boot

1. Introduction

E-government consists of the use of electronic communication technologies such as internet, for improving citizens access to public services [1]. Implementation of E-Government provides the efficiency and speed of management on the reporting administration system, as well as the transparency of processes that occur in government administration. Through it, an aspect emerged which is called good governance. However, the implementation of E-government in Indonesia faces many issues such as expense issues for developing and

  • Corresponding author. Tel.: 62-31-5999-944; fax: 62-31-5964-965.

E-mail address: hatma@is.its.ac.id

1877-0509 copy; 2018 The Authors. Published by Elsevier B.V.

Peer-review under responsibility of the scientific committee of the 4th Information Systems International Conference 2017

10.1016/j.procs.2017.12.212

Hatma Suryotrisongko et al. / Procedia Computer Science 124 (2017) 736–743

737

operating e-government applications, technical issues such as security issues, privacy, and system update and human resource issues in which there is lack of capability to manage it. Cloud technology becomes one of the alternative answers to tackle those issues. This model allows consumers to use applications that exist in the cloud online through providers that can be accessed in various kinds of devices without worrying about those issues.

The use of microservice technology can give some advantages to the e-government system in the cloud. The concept of modularity in microservice allows the management of services that exist separately in an application. The impact to a development of a particular service is that it will not interfere with other services. Capacity building of a service can be distinguished among other services so that the resource is used appropriately. Also, the development of services can be developed with different programming languages [2].

2. Related works

Sam Newman [3] developing a microservice application, first to conduct is determining the boundaries of the environment or bounded context. Simply, to specify the bounded context of the application that can be seen from the application business process which can then be grouped according to functional groups from the user, e.g., the finance department is in charge of the payment, and the warehouse department is engaged in customer orders. Then each function will be put together into one module. The module then becomes the bounded context to create microservices that match the purpose of the module made. The microservices that have been made will apply the concept of loose coupling between other modules and high cohesion microservice that are interconnected with the module made. Finally, the part which will do data writing to the database and read data from the database can be determined.

Purnama amp; Yatini [4] developed a thesis management application using Node.js which aims to avoid any similarity of topic or thesis title which is often the case of plagiarism. Node.js was built using microservice architecture purposing the ease of development of the application. When there is a case of new functional addition, re-creating the application is unnecessary, and the function can be added independently. It takes less time for further development.

Janssen amp; Joha [5] explained that the use of the Software as a Service (SaaS) model in the public sector is still infrequent. Although SaaS in the public/e-government sector promises many advantages, such as cost-saving and effectiveness, the challenges are severe, e.g., quality, security, privacy, and also the need to customize different systems in the region One with other areas.

3. Methodology

3.1. Functional requirement analysis

Table 1. Functional requirements.

ID

Actor

Functional Requirements

FR1

Administrator

Customer registration

lt;

剩余内容已隐藏,支付完成后下载完整资料


期刊数据库

计算机科学124 (2017) 736–743

第4次信息系统国际会议2017年,2017年11月6日至8日,印度尼西亚巴厘岛

使用微服务Spring引导设计和开发公共投诉系统的后端应用程序

摘要

电子政务是在治理领域实施信息和通信技术(信息和通信技术),以改善政府或公共部门向公众提供的服务。例如,智能城市,在线授权服务、社区投诉服务等。本研究的目的是开发基于Web的应用程序使用springboot微型服务架构公共投诉服务中的应用。微型服务架构已实现应用功能分为许多部分,或基于商业流程的微型服务并且这些服务都是相互关联的,且成为一个完整的业务流程的一个应用。这一结构的优点是更市微服可以添加不影响他人。应用程序部署在可以通过浏览器访问的云环境中。

  1. 简介

电子政务涵盖了电子交流技术的使用,例如网络,为了拓宽市民进入公共服务的入口。电子政务的实施提供了对报告管理系统的管理效率和速度,以及政府管理过程的透明性。通过它,出现了一个被称为善政的方面。

然而,在印尼电子政务的实施面临了许多问题,例如发展的开销问题,运转电子政务的应用,技术问题例如安全问题,隐私问题以及系统更新和人类资源问题,当地根本没有能力解决这些问题。云技术成为解决这些问题的备选方案之一。这种模式允许消费者通过供应商在线使用云应用程序,而这些提供者可以在各种设备中访问,而不必担心这些问题。微型服务技术的使用可以在云端给电子政务系统带来的一些优点。在微服模块化的概念允许应用于程序可以分别存在服务管理中。对特定服务开发的影响就是让它不会干扰其他服务。服务的能力建设可以区别于其他服务,以便恰当地使用资源。另外,可以用不同的编程语言发展服务的开发。

2. 相关工作

姆纽曼[ 3 ]发展市微服应用,首先进行的是确定环境的边界或限界上下文。简单地说,要指定应用程序业务的有界上下文,然后可以根据用户的功能组进行分组,例如,财务部负责付款,仓库部负责客户订单。然后每个函数将被组合成一个模块。该模块成为限界上下文创建模块的目的了。已经成型的微服务将应用其他模型以及与模型制作内在联系的高聚合微型服务的原理。最后,将对数据库进行数据写入和从数据库中读取数据的部分可以被确定。

普那马和yatini [ 4 ]开发的论文管理应用程序使用Node.js旨在通常都是抄袭的情况下避免任何相似的题目或论文标题。Node.js建立使用微型服务建构目的在于缓解应用发展。当有新的功能添加的情况下,重新创建应用程序是不必要的,并且可以独立地添加功能。它需要更少的时间进行进一步的开发。

詹森和约翰[ 5 ]解释说,使用该软件作为服务(SaaS)模型在公共部门仍然是罕见的。虽然在公共/电子政务部门的SaaS承诺了许多好处,如节省成本和有效性,但面临的挑战是严峻的,例如质量、安全、隐私,还需要在该区域与其他地区定制不同的系统。

3. 研究方法

3.1. 功能性需求分析

表 1. 功能需求.

ID

角色

功能需求

FR1

管理员

顾客注册

FR2

公民

身份验证

FR3

公民

派了一个投诉

FR4

公民

检查投诉

FR5

政府工作部门

显示投诉回顾

FR6

政府工作部门

回答一个投诉

FR7

政府工作部门

删除一个投诉

FR8

供应商

查看所有客户

FR9

管理员

顾客注册

FR10

公民

身份验证

通过分析一些相似的应用程序,进行了功能需求分析。例如,在谏义里市[ 6 ]公众投诉的Web应用。通过对应用程序设计文档的分析,得到了分析结果。此外,从文献研究中找出有关电子政务公众报告应用功能需求的一些信息。

功能需求包括角色需求和功能需求。该角色是一个将使用该应用程序的用户。使用此应用程序的演员很少,包括管理员、供应商、公民和政府工作单位。功能需求本身就是应用程序的功能。应用程序的一些功能需求列表在表1中。

3.2. 模拟微型服务

在功能需求已经了解的情况下,下一步是模拟微型服务。这一步将也被称为有界上下文为微型服务的限界上下文的目的与功能要求。换句话说,该微型服务是由一个或多个微型服务集团,他们是连接以实现业务过程或函数。微型服务在这个应用中列在表2。

表2。Microservice需求。

ID

Microservice需求

FR1

创建新的客户数据

FR2

创建公民身份数据

FR2

公民身份数据表

FR2

居民身份证的数据删除

FR3

创建一个类别

FR3

删除一个类别

FR3

显示的类别列表

FR4

获得公民身份数据

FR5

创建一个新的投诉

FR5

买到票数量

FR6

创建新的客户数据

FR7

创建公民身份数据

FR8

公民身份数据表

FR9

居民身份证的数据删除

FR10

创建一个类别

3.3. 设计使用方案

这个设计使用方案起源于功能性要求的调查。使用方案展现了行动者运用类似于 Fig.1.的应用之间的交流

3.4. 应用发展

这一阶段是编码基于功能需求、微型服务要求,使用案例。本文研究的重点是开发后台应用程序使用java编程语言和springboot框架。springboot框架受到青睐是因为它有几个优点。

Spring支持MVC,提供了一个Web服务功能。Spring包中还提供了一个数据库连接。Spring框架还支持依赖注入。依赖注入是应用程序中配置依赖性的简化,从而使应用程序开发过程变得更方。每一个spring框架也都支持实质目标计划(AOP),使用spring boot的额外优点是tomcat服务器可以轻易地融入并且可以飞速运行。

开发前端应用程序还需要与后端进行通信,以便进行业务流程。前端开发采用的是文件的编程语言和angular2框架。

图1所示。应用程序用例。

3.5. 微型服务黑箱子测试

黑盒测试是一种发生在应用程序内,测试进行检查功能的应用程序正确运行而不自知的过程[ 9 ]。黑盒测试是通过创建测试输入和期望输出的形式从功能应用测试用例完成。测试可以在不使用算法或低粒度级别的应用程序(10)上进行,因此不需要太多时间[ 11 ]。虽然测试市微服两个测试是必要的,这是黑盒测试和白盒测试,本研究只是执行黑盒测试,因为应用程序不使用任何复杂的算法和低粒度的细节然后黑盒测试是不够的。

4. 应用程序的业务流程

公众投诉申请由一个特定的单位或团队管理和管理。在某些情况下,在万隆市(12)等地区,这种应用程序在指挥中心进行操作和管理,使其工作是最佳的。

这个公开投诉应用程序是基于云端的应用程序。地方政府可以通过向供应商支付一些钱来租用申请服务。政府可以指派管理员来管理应用程序。管理员可以上传公民身份数据。

公民通过网络申请投诉。首先,公民必须根据管理员上传的数据ID验证他们的ID。在那之后,他们的投诉将被保存在数据库中,并准备由政府工作单位管理。首先,系统有一个筛选阶段来过滤投诉的内容。甄选过程由指挥中心的政府工作单位管理。有效的投诉内容将按管理员创建的类别进行分类,然后发送到指挥中心外的正确的政府部门,以便在正确的答案和正确的后续行动中回答投诉。如果申诉人的报告在外地得到处理或处理,则发送投诉的公民可将申诉情况改为完成,以便向政府通报申诉已得到适当处理。

5. 应用程序框架

表 2. 应用架构

使用云技术的公共投诉应用程序具有如图2所示的云体系结构。前端应用程序将存储在云中以及后端应用程序中,同时应用程序数据库存储在同一个云服务中,以节省资源使用。应用程序可以通过浏览器在网络上向公众开放。通过Web应用程序提交的投诉将被发送到数据库,供政府进一步管理,在这种情况下,是指挥中心和其他政府工作单位。供应商通过后端或前端访问应用程序来对应用程序进行维护。

6. 微型服务框架

这是一个工具,轻易地就可以让开发人员可以看到所有可用的应用程序在微服运转的情况。这个工具叫做“swagger”。它是一个标准框架,允许开发人员在不访问程序代码、应用程序开发文档和不需要检查应用服务网络的情况下快速查找和理解应用程序上的所有服务(13)。Swagger掌控微型服务是基于控制器类,且一直用springboot框架创建微服。类控制器(或可称为控制器)是springboot中的类文件,根据业务需要用一种方法演示投入与产出过程。在控制器类中,可以将方法转换为REST API。Swagger显示了在应用程序中创建的所有控制器。在每一个Swagger控制器中,可以用所用方法的描述来访问REST API(使用的REST方法通常是获取、发布、删除、放置),然后还有REST API UR以及叫类控制的一种方法。REST API是一种由前端应用程序访问一个已预定的通信方法。

6.1. 类控制器

表3显示了带有相关联的微服的类控制器出现在应用之中。

表 3. 控制器类

控制器类

Microservice需求

客户控制器

创建公民

剩余内容已隐藏,支付完成后下载完整资料


资料编号:[463186],资料为PDF文档或Word文档,PDF文档可免费转换为Word

原文和译文剩余内容已隐藏,您需要先支付 30元 才能查看原文和译文全部内容!立即支付

以上是毕业论文外文翻译,课题毕业论文、任务书、文献综述、开题报告、程序设计、图纸设计等资料可联系客服协助查找。