Presentation is loading. Please wait.

Presentation is loading. Please wait.

Getting Started as an EdgeX Developer

Similar presentations


Presentation on theme: "Getting Started as an EdgeX Developer"— Presentation transcript:

1 Getting Started as an EdgeX Developer
Tech Talks – Session 1

2 Agenda Introduction Tech Talk Sessions Tools you need to install
Getting EdgeX code from GitHub (and what to get) Setting up the database Bringing the Code into Eclipse Running EdgeX in Eclipse Future Topics Q&A

3 Jim White Dell Distinguished Engineer & Senior Software Architect
From Dell End User Computing (EUC) CTO Chief Architect and lead developer of Fuse I wrote code line #1  Fuse => EdgeX Foundry

4 EdgeX Tech Talks Provide this new community with background on the current system In the future, they may address future architecture or special calls to action Currently scheduled for every week (Thursdays) Alternating weekly times: 8am and 6pm ET Trying to be sensitive to global attendance Quick poll in a second on where people are located and what times work Topics TBD – we’ll discuss at the end or you can me suggestions

5 Where are you located?

6 Tools of the trade What you need to get in order to develop EdgeX today Git Mongo database* Java JDK (version 1.8 or better) Eclipse (recommend Mars version or better) Make sure Eclipse knows where your is located through Preferences Docker and Docker Compose* * optional depending on your work EdgeX has been developed a cross a variety of OS Windows Linux Mac Going to assume you can get and setup the tools you need on your environment If you desperately need help, please contact me

7 Getting EdgeX Download the project repositories with Git at github.com/edgexfoundry EdgeX is comprised of many micro services and libraries M – A – N – Y!! Learn the landscape (dependencies and connection points) as you go. +Developers#GetEdgeXFoundry-Developers-Dependencies

8 Git EdgeX See it In Action
Stop when you have the pieces you need (more in a bit) developer-scripts core- domain, test, & exception support-domain support- logging & notifications support- logging & notifications -client core- metadata, data, command core- metadata, data, command –client device- sdk-tools, sdk, virtual export- domain & test export- client, distro support- scheduler & rulesengine You can ignore the docker versions for now See it In Action

9 EdgeX Services and libs
export-domain export-test support-domain core-domain core-test core-exception device-sdk device-sdk-tools

10 Setting up the database
See it In Action Make sure you have the developer-scripts repos Go to the directory containing init-mongo.js Run mongo with this script mongo init-mongo.js Alternately, for advanced users, you can run the EdgeX Mongo Docker container Using and working with Docker topic for another session

11 Bringing EdgeX into Eclipse
Nearly all the EdgeX micro services and libraries are Java Maven Projects device-sdk-tools is the exception Import each as a Maven Project After importing, do a Maven Install of the project Gets the associated libraries and compile/build your project in your local environment Import and Build in the order per slide 9 See it In Action

12 Oops There is an error in the device-virtual pom.xml
Before building it, correct the problem Open pom.xml by double clicking on it Add <pluginManagement> element around the <plugins> element. Save and let the project rebuild itself. All better This will be fixed with the next build See it In Action

13 Running in Eclipse Minimally, you an run the following micro services to explore EdgeX core-metadata core-data device-virtual Before you do, change the configuration of the device-virtual Update the service-name & host You may want to set the log level of any of the services Start mongo (if not already running) To run each service, right click & select Run As -> Java Application Select the org.edgexfoundry.Application class to run

14 Minimal EdgeX Running

15 Check that EdgeX is working
Check the logs “This is … the X Micro Service” Ping the service port>/api/v1/ping for core data on dell-demo See the event count collected See the devices “connected” See the event/reading data from a particular device limit> See it In Action

16 EdgeX Resources Wiki (wiki.edgexfoundry.org)
Rocket Chat (chat.edgexfoundry.org) Web Site (edgexfoundry.org) Github (github.com/edgexfoundry) Jim’s address

17 What Topics Should Be Covered in Tech Talks
Docker version? Deep dive on each micro service? Device SDK? ??? And what’s the priority?

18 Questions and Answer Time


Download ppt "Getting Started as an EdgeX Developer"

Similar presentations


Ads by Google