To quickly integrate your applications into the EdgeGallery platform, we provide the toolchain project to help developers quickly modify code and migrate applications to the platform.

Related tags

GUI edgegallery
Overview

Toolchain 工具链

License Jenkins

工具链是MEC Developer开发者平台中的一个重要特性,当x86平台的App想要上车ARM平台时,底层的代码不可避免的需要进行修改或重写。 App提供者可以通过MEC Developer开发者平台中集成的工具链进行源代码分析,定位需要修改的源代码并根据指导意见进行修改,方便App 部署在ARM平台。

功能介绍

目前,工具链服务集成了华为鲲鹏平台提供的Porting Advisor代码迁移工具,可以对以下文件进行分析:

  • C/C++软件源码
  • C/C++软件构建工程文件
  • X86汇编代码

编译运行

toolchain对外提供restful接口,基于开源的ServiceComb微服务框架进行开发,并且集成了Spring Boot框架。由于toolchain的运行需要 依赖Porting Advisor,所以两者需要运行在同一环境下,此处仅介绍toolchain的编译运行,Porting Advisor的安装部署请参考官方指导

  • 环境准备

    Name Version Link
    JDK1.8 1.8xxx or above download
    MavApache Maven 3.6.3 download
    IntelliJ IDEA Community download
    Servicecomb Service-Center 1.3.0 download
  • 修改配置文件/src/main/resources/application.properties

    • 配置Service Center,本地安装IP是127.0.0.1,默认端口30100,配置如下:
    ### service center config ###
    servicecenter.ip=127.0.0.1
    servicecenter.port=30100
    
    • 配置Porting Advisor,建议toolchain与Porting Advisor安装在同一个环境,因为两者需要对同一个文件夹进行读写:
    ### porting advisor parameter config ###
    porting.param.tasksUrl=https://127.0.0.1:8084/porting/api/portadv/tasks/
    porting.param.userUrl=https://127.0.0.1:8084/porting/api/users/
    
  • 编译打包

    从代码仓库拉取代码,默认master分支

    git clone https://github.com/EdgeGallery/toolchain.git
    

    编译构建,需要依赖JDK1.8,首次编译会比较耗时,因为maven需要下载所有的依赖库。

    mvn clean install
    
  • 运行

    cd到打包路径,通过java启动:

    java -jar toolchain.jar
    

    启动后通过浏览器访问 http://127.0.0.1/30103 可以查看服务是否注册成功。

You might also like...

A simple JavaFX application to load, save and edit a CSV file and provide a JSON configuration for columns to check the values in the columns.

A simple JavaFX application to load, save and edit a CSV file and provide a JSON configuration for columns to check the values in the columns.

SmartCSV.fx Description A simple JavaFX application to load, save and edit a CSV file and provide a JSON Table Schema for columns to check the values

Oct 24, 2022

A low intrusive, configurable android library that converts layout XML files into Java code to improve performance

qxml English 一个低侵入,可配置的 Android 库,用于将 layout xml 文件转换为 Java 代码以提高性能。 与X2C的对比 X2C: 使用注解处理器生成View类,使用时需要在类中添加注解,并替换setContentView方法,侵入性较强; 对于布局属性的支持不够完美

Oct 6, 2022

TMU is very simple app for posting your digital manga as article into Telegraph for further reading using any browser or in Telegram with Instant View.

TMU is very simple app for posting your digital manga as article into Telegraph for further reading using any browser or in Telegram with Instant View.

TMU is very simple app for posting your digital manga as article into Telegraph for further reading using any browser or in Telegram with Instant View. App may be very helpful for content translators that searching easy way to share their work.

Oct 6, 2022

Lib-Tile is a multi Maven project written in JavaFX and NetBeans IDE 8 and provides the functionalities to use and handle easily Tiles in your JavaFX application.

Lib-Tile is a multi Maven project written in JavaFX and NetBeans IDE 8 and provides the functionalities to use and handle easily Tiles in your JavaFX application.

Lib-Tile Intention Lib-Tile is a multi Maven project written in JavaFX and NetBeans IDE and provides the functionalities to use and handle easily Tile

Apr 13, 2022

Android Resource Manager application to manage and analysis your app resources with many features like image resize, Color, Dimens and code Analysis

Android Resource Manager application to manage and analysis your app resources with many features like image resize, Color, Dimens and code Analysis

AndroidResourceManager Cross-Platform tools to manage your resources as an Android Developer, AndroidResourceManager - ARM provide five main services

Nov 16, 2022

An open source application to make your own android applications without coding!

An open source application to make your own android applications without coding!

Stif An Open source project for building Android Application at a go both with and without coding. This project was inspired from Scratch and Sketchwa

Aug 28, 2021

Nightmare-text - This is a simple lib that help to create, titles, actionbars, hovers and click actions chat components.

Nightmare text This is a simple lib that help to create, titles, actionbars, hovers and click actions chat components. Setup public final class Testin

Mar 9, 2022

An attempt to port CSGO's Skeet.cc GUI into minecraft

------------------------------------------- Source installation information for modders ------------------------------------------- This code follows

Dec 30, 2022

DataFX - is a JavaFX frameworks that provides additional features to create MVC based applications in JavaFX by providing routing and a context for CDI.

What you’ve stumbled upon here is a project that intends to make retrieving, massaging, populating, viewing, and editing data in JavaFX UI controls ea

Dec 29, 2022
Owner
EdgeGallery
EdgeGallery: Open Multi-Access Edge Computing Platform
EdgeGallery
In the Developer - Platform of EdgeGallery, we have provided a lot of useful APIs, in this project, try to simulates APIs of the competence center to help develoers test API request and response online.

api-emulator api-emulator模块,为EdgeGallery提供了基本能力的模拟api,开发者可以调用该模拟器提供的api,不需要真实部署就可以查看平台已有的能力。目前该api-emulator集成了两种平台能力:位置服务和人脸识别能力。 平台能力简介 位置服务 提供用户位置,E

EdgeGallery 21 Dec 25, 2021
The backend service for user management module of EdgeGallery platform.

User Management 用户管理 User Management 用户管理模块,为EdgeGallery提供了基本的用户增删改查功能,定义了用户的角色与权限,并且包含了两个关键特性:手机验证和单点登录(Single Sign On)能力。 角色定义 租户 系统内的普通用户,可以创建项目/上传

EdgeGallery 23 Dec 25, 2021
The backend service for appstore module of EdgeGallery platform

AppStore-be AppStore是开发者发布和上线App应用的市场,上传App包后首先要通过测试,只有检测通过的应用才能够正式上线。AppStore分为前后台两个部分,AppStore-be是后台部分,提供接口调用, AppStore-fe是前台部分,提供界面展示。有关AppStore架构的

EdgeGallery 24 Oct 21, 2022
The backend service for developer module of EdgeGallery platform

Developer-be 开发者平台 开发者平台是为App开发者提供开发工具/测试环境/上线部署的平台,分为前后台两个部分,developer-be是后台部分,提供接口调用,developer-fe是前台部分,提供界面展示。有关开发者平台的架构的详细介绍请访问我们的wiki社区 特性介绍 为了方便开

EdgeGallery 24 Jan 11, 2022
EdgeGallery test platform

edgeT Edge Gallery Test Platform Introduction A micro-services to manage, execute, run test cases (developed in different run-time like java, python,

EdgeGallery 23 Sep 14, 2021
A backend service for EdgeGallery application testing and verification

ATP-BE ATP (Application test platform)是应用测试认证的平台,通过构建统一的测试标准并搭建测试框架,为开发者平台与APPStore提供一致的APP测试体验 特性介绍 上传、管理App 编译运行 atp-be对外提供restful接口,基于开源的ServiceCom

EdgeGallery 20 Jan 10, 2022
The place to come for pair programming practice problems in your language, designed for new and old developers alike.

Coding Dojo About The Coding Dojo is a project and weekly meetup hosted by Code Connector to offer opportunities for learning, mentoring, and practici

Code Connector 55 Nov 18, 2022
A sub module of EdgeGallery MECM which responsible for the app package management.

mecm-apm Description Application package manager responsible for application package management including Onboarding, distributing package to edge etc

EdgeGallery 21 Jan 10, 2022
A sub module of EdgeGallery MECM which responsible for inventory.

mecm-inventory Description MECM-Inventory modules provides common inventory of all system and host level resources of MEC system. Compile and build Th

EdgeGallery 23 Dec 29, 2021
A sub module of EdgeGallery MECM which responsible for the app orchestration.

mecm-appo Description Application orchestrator is the core module responsible for orchestrating life cycle maintenance operation of application. Compi

EdgeGallery 25 Dec 25, 2021