Soirée du Test Logiciel - Test Driven Development with graph databases - S. DARGO, Amadeus

TelecomValley
TelecomValleyTelecomValley
Test driven development with
graph databases
@SandorDargo
05/10/2017, Soiree du Test Logiciel
©AmadeusITGroupanditsaffiliatesandsubsidiaries
_Father of one
_Developer at Amadeus
_Blogger – http://sandordargo.com
_Amateur of graph databases
3
©AmadeusITGroupanditsaffiliatesandsubsidiaries
Who am I?
_Not a store of excel charts
_Not a data visualization tool
5
©AmadeusITGroupanditsaffiliatesandsubsidiaries
What is not a graph database?
_Type of NoSQL database
_Based on the concepts introduced by Leonhard Euler
_Collections of nodes and relationships
6
©AmadeusITGroupanditsaffiliatesandsubsidiaries
What is a graph(-oriented) database?
_Graph = Nodes + Relationships
_Property Graph = Graph + key-value
attributes/properties
_Labelled Property Graph = Property Graph + Tags/Labels
7
©AmadeusITGroupanditsaffiliatesandsubsidiaries
Labelled Property Graph Data Model
8
©AmadeusITGroupanditsaffiliatesandsubsidiaries
A sample graph about wines
_Topologies
_Social data
_Page ranking
_Analyse highly connected data (Panama papers)
9
©AmadeusITGroupanditsaffiliatesandsubsidiaries
When to use a graph (i.e. advantages of a graph)?
“If you can whiteboard it, you can graph it”
_Graph database with three different node types
• Wine regions (e.g. Provence)
• Wine subregions (e.g. Bandol)
• Grapes (e.g. Mourvedre)
_Develop services to retrieve the nodes by name and the
related nodes
_Use Java or Python (Java 8 tonight)
_Start code for Java at:
https://github.com/sandordargo/neo-wine-
services/tree/starting-code
10
©AmadeusITGroupanditsaffiliatesandsubsidiaries
Code Kata
11
©AmadeusITGroupanditsaffiliatesandsubsidiaries
Creating test data with Cypher
CREATE (eger:WineRegion {name:'Eger'})-[:CONTAINS]
->(eger_subregion:WineSubRegion {name:'Eger'}),
(eger)-[:CONTAINS]->(matra:WineSubRegion {name:'Mátra'}),
(eger)-[:CONTAINS]->(bukk:WineSubRegion {name:'Bükk'}),
(eger_subregion)<-[:GROWS_AT]-(merlot:Grape {name:'Merlot'}),
(eger_subregion)<-[:GROWS_AT]-(pinot_noir:Grape {name:'Pinot Noir'}),
(eger_subregion)<-[:GROWS_AT]-(cabernet_franc:Grape {name:'Cabernet Franc'})
12
©AmadeusITGroupanditsaffiliatesandsubsidiaries
Simple query with Cypher
MATCH (eger:WineRegion {name:'Eger'})-
[relationship:CONTAINS] ->
(subregion:WineSubRegion)
RETURN eger, relationship, subregion
_Ideal when a relationship is OPTIONAL
_Will use null for missing part of a pattern
_Example:
13
©AmadeusITGroupanditsaffiliatesandsubsidiaries
OPTIONAL MATCH
MATCH (wr:WineRegion)-[:CONTAINS]→
(wsr:WineSubRegion {name:{subregionName}})
OPTIONAL MATCH (wsr)<-[:GROWS_AT]-(grape:Grape)
RETURN wr, wsr, grape
Thank you!
©AmadeusITGroupanditsaffiliatesandsubsidiaries
You can follow us on:
AmadeusITgroup
amadeus.com
Amadeus.com/blog
1 of 12

Recommended

Refocus on the agile developer by
Refocus on the agile developerRefocus on the agile developer
Refocus on the agile developerSandor Dargo
1.2K views37 slides
Agile Quality Improvement 7: common challenges and good practices - Wouter Ru... by
Agile Quality Improvement 7: common challenges and good practices - Wouter Ru...Agile Quality Improvement 7: common challenges and good practices - Wouter Ru...
Agile Quality Improvement 7: common challenges and good practices - Wouter Ru...Sogeti Nederland B.V.
238 views20 slides
Neste: How to Build Business Case, Ramp-up and Run SAP Test Automation Factory by
Neste: How to Build Business Case, Ramp-up and Run SAP Test Automation FactoryNeste: How to Build Business Case, Ramp-up and Run SAP Test Automation Factory
Neste: How to Build Business Case, Ramp-up and Run SAP Test Automation FactorySogeti Nederland B.V.
280 views16 slides
Quality Assurance in fast paced DevOps projects using automation - Patrick Ve... by
Quality Assurance in fast paced DevOps projects using automation - Patrick Ve...Quality Assurance in fast paced DevOps projects using automation - Patrick Ve...
Quality Assurance in fast paced DevOps projects using automation - Patrick Ve...Sogeti Nederland B.V.
197 views34 slides
DevRel @ SAP by
DevRel @ SAPDevRel @ SAP
DevRel @ SAPMarius Obert
410 views30 slides
Superfast product development by
Superfast product developmentSuperfast product development
Superfast product developmentUXDXConf
57 views17 slides

More Related Content

Viewers also liked

Soirée du Test Logiciel - Intelligence Artificielle dans le test - J. VAN QUA... by
Soirée du Test Logiciel - Intelligence Artificielle dans le test - J. VAN QUA...Soirée du Test Logiciel - Intelligence Artificielle dans le test - J. VAN QUA...
Soirée du Test Logiciel - Intelligence Artificielle dans le test - J. VAN QUA...TelecomValley
2.3K views36 slides
Soirée du Test Logiciel - Présentation de Kiuwan (Jack ABDO) by
Soirée du Test Logiciel - Présentation de Kiuwan (Jack ABDO)Soirée du Test Logiciel - Présentation de Kiuwan (Jack ABDO)
Soirée du Test Logiciel - Présentation de Kiuwan (Jack ABDO)TelecomValley
987 views23 slides
Soirée du Test Logiciel - Administration et orchestration des tests avec Refe... by
Soirée du Test Logiciel - Administration et orchestration des tests avec Refe...Soirée du Test Logiciel - Administration et orchestration des tests avec Refe...
Soirée du Test Logiciel - Administration et orchestration des tests avec Refe...TelecomValley
923 views22 slides
Soirée du Test Logiciel - Intégration, livraison et déploiement continu - A. ... by
Soirée du Test Logiciel - Intégration, livraison et déploiement continu - A. ...Soirée du Test Logiciel - Intégration, livraison et déploiement continu - A. ...
Soirée du Test Logiciel - Intégration, livraison et déploiement continu - A. ...TelecomValley
1.5K views39 slides
Soirée du Test Logiciel - Les dernières tendances du test logiciel - B. LEGEA... by
Soirée du Test Logiciel - Les dernières tendances du test logiciel - B. LEGEA...Soirée du Test Logiciel - Les dernières tendances du test logiciel - B. LEGEA...
Soirée du Test Logiciel - Les dernières tendances du test logiciel - B. LEGEA...TelecomValley
2.1K views19 slides
Soirée du Test Logiciel - Démystifier les xDD - C. TARDIEU, Acp qualife by
Soirée du Test Logiciel - Démystifier les xDD - C. TARDIEU, Acp qualifeSoirée du Test Logiciel - Démystifier les xDD - C. TARDIEU, Acp qualife
Soirée du Test Logiciel - Démystifier les xDD - C. TARDIEU, Acp qualifeTelecomValley
1.5K views29 slides

Viewers also liked(8)

Soirée du Test Logiciel - Intelligence Artificielle dans le test - J. VAN QUA... by TelecomValley
Soirée du Test Logiciel - Intelligence Artificielle dans le test - J. VAN QUA...Soirée du Test Logiciel - Intelligence Artificielle dans le test - J. VAN QUA...
Soirée du Test Logiciel - Intelligence Artificielle dans le test - J. VAN QUA...
TelecomValley2.3K views
Soirée du Test Logiciel - Présentation de Kiuwan (Jack ABDO) by TelecomValley
Soirée du Test Logiciel - Présentation de Kiuwan (Jack ABDO)Soirée du Test Logiciel - Présentation de Kiuwan (Jack ABDO)
Soirée du Test Logiciel - Présentation de Kiuwan (Jack ABDO)
TelecomValley987 views
Soirée du Test Logiciel - Administration et orchestration des tests avec Refe... by TelecomValley
Soirée du Test Logiciel - Administration et orchestration des tests avec Refe...Soirée du Test Logiciel - Administration et orchestration des tests avec Refe...
Soirée du Test Logiciel - Administration et orchestration des tests avec Refe...
TelecomValley923 views
Soirée du Test Logiciel - Intégration, livraison et déploiement continu - A. ... by TelecomValley
Soirée du Test Logiciel - Intégration, livraison et déploiement continu - A. ...Soirée du Test Logiciel - Intégration, livraison et déploiement continu - A. ...
Soirée du Test Logiciel - Intégration, livraison et déploiement continu - A. ...
TelecomValley1.5K views
Soirée du Test Logiciel - Les dernières tendances du test logiciel - B. LEGEA... by TelecomValley
Soirée du Test Logiciel - Les dernières tendances du test logiciel - B. LEGEA...Soirée du Test Logiciel - Les dernières tendances du test logiciel - B. LEGEA...
Soirée du Test Logiciel - Les dernières tendances du test logiciel - B. LEGEA...
TelecomValley2.1K views
Soirée du Test Logiciel - Démystifier les xDD - C. TARDIEU, Acp qualife by TelecomValley
Soirée du Test Logiciel - Démystifier les xDD - C. TARDIEU, Acp qualifeSoirée du Test Logiciel - Démystifier les xDD - C. TARDIEU, Acp qualife
Soirée du Test Logiciel - Démystifier les xDD - C. TARDIEU, Acp qualife
TelecomValley1.5K views
Soirée du Test Logiciel - Impact de l’agile sur l’organisation des équipes de... by TelecomValley
Soirée du Test Logiciel - Impact de l’agile sur l’organisation des équipes de...Soirée du Test Logiciel - Impact de l’agile sur l’organisation des équipes de...
Soirée du Test Logiciel - Impact de l’agile sur l’organisation des équipes de...
TelecomValley958 views
Soirée du Test Logiciel - Présentation du Lab de test Orange - V. BARON, Soge... by TelecomValley
Soirée du Test Logiciel - Présentation du Lab de test Orange - V. BARON, Soge...Soirée du Test Logiciel - Présentation du Lab de test Orange - V. BARON, Soge...
Soirée du Test Logiciel - Présentation du Lab de test Orange - V. BARON, Soge...
TelecomValley1.4K views

Similar to Soirée du Test Logiciel - Test Driven Development with graph databases - S. DARGO, Amadeus

SAP Cloud Platform x Microsoft Graph by
SAP Cloud Platform x Microsoft GraphSAP Cloud Platform x Microsoft Graph
SAP Cloud Platform x Microsoft GraphMarius Obert
467 views21 slides
FlockData Overview by
FlockData OverviewFlockData Overview
FlockData OverviewFlockData
290 views37 slides
Learn to-use-google-data-studio-jan22 by
Learn to-use-google-data-studio-jan22Learn to-use-google-data-studio-jan22
Learn to-use-google-data-studio-jan22Rahmat Taufiq Sigit
271 views56 slides
Introduction to Knowledge Graphs and Semantic AI by
Introduction to Knowledge Graphs and Semantic AIIntroduction to Knowledge Graphs and Semantic AI
Introduction to Knowledge Graphs and Semantic AISemantic Web Company
7.9K views89 slides
The Economics of SQL on Hadoop by
The Economics of SQL on HadoopThe Economics of SQL on Hadoop
The Economics of SQL on HadoopDatameer
976 views38 slides
Graph Gurus Episode 37: Modeling for Kaggle COVID-19 Dataset by
Graph Gurus Episode 37: Modeling for Kaggle COVID-19 DatasetGraph Gurus Episode 37: Modeling for Kaggle COVID-19 Dataset
Graph Gurus Episode 37: Modeling for Kaggle COVID-19 DatasetTigerGraph
203 views24 slides

Similar to Soirée du Test Logiciel - Test Driven Development with graph databases - S. DARGO, Amadeus(20)

SAP Cloud Platform x Microsoft Graph by Marius Obert
SAP Cloud Platform x Microsoft GraphSAP Cloud Platform x Microsoft Graph
SAP Cloud Platform x Microsoft Graph
Marius Obert467 views
FlockData Overview by FlockData
FlockData OverviewFlockData Overview
FlockData Overview
FlockData290 views
The Economics of SQL on Hadoop by Datameer
The Economics of SQL on HadoopThe Economics of SQL on Hadoop
The Economics of SQL on Hadoop
Datameer976 views
Graph Gurus Episode 37: Modeling for Kaggle COVID-19 Dataset by TigerGraph
Graph Gurus Episode 37: Modeling for Kaggle COVID-19 DatasetGraph Gurus Episode 37: Modeling for Kaggle COVID-19 Dataset
Graph Gurus Episode 37: Modeling for Kaggle COVID-19 Dataset
TigerGraph203 views
Tiger graph 2021 corporate overview [read only] by ercan5
Tiger graph 2021 corporate overview [read only]Tiger graph 2021 corporate overview [read only]
Tiger graph 2021 corporate overview [read only]
ercan5333 views
Best practices for getting started and driving adoption with tableau by Alan Morte
Best practices for getting started and driving adoption with tableauBest practices for getting started and driving adoption with tableau
Best practices for getting started and driving adoption with tableau
Alan Morte261 views
Big data arch_analytics by Srinu Adira
Big data arch_analyticsBig data arch_analytics
Big data arch_analytics
Srinu Adira846 views
Predictive Analytics Project in Automotive Industry by Matouš Havlena
Predictive Analytics Project in Automotive IndustryPredictive Analytics Project in Automotive Industry
Predictive Analytics Project in Automotive Industry
Matouš Havlena16.3K views
InfoSphere BigInsights by Wilfried Hoge
InfoSphere BigInsightsInfoSphere BigInsights
InfoSphere BigInsights
Wilfried Hoge10.2K views
SQL Saturday #188 Portugal - "Faster than the speed of light"... with Microso... by Rui Quintino
SQL Saturday #188 Portugal - "Faster than the speed of light"... with Microso...SQL Saturday #188 Portugal - "Faster than the speed of light"... with Microso...
SQL Saturday #188 Portugal - "Faster than the speed of light"... with Microso...
Rui Quintino485 views
New BI Tools with HANA by tasmc
New BI Tools with HANANew BI Tools with HANA
New BI Tools with HANA
tasmc1.8K views
Predicting Consumer Behaviour via Hadoop by Skillspeed
Predicting Consumer Behaviour via HadoopPredicting Consumer Behaviour via Hadoop
Predicting Consumer Behaviour via Hadoop
Skillspeed1.1K views
Intro to big data and applications - day 2 by Parviz Vakili
Intro to big data and applications - day 2Intro to big data and applications - day 2
Intro to big data and applications - day 2
Parviz Vakili133 views
Enterprise Cloud Computing - Analytics, Planning & Digital Boardroom by Jothi Periasamy
Enterprise Cloud Computing  - Analytics, Planning & Digital Boardroom  Enterprise Cloud Computing  - Analytics, Planning & Digital Boardroom
Enterprise Cloud Computing - Analytics, Planning & Digital Boardroom
Jothi Periasamy3.5K views
Analytics summer workshop preview by Michael Bliemel
Analytics summer workshop previewAnalytics summer workshop preview
Analytics summer workshop preview
Michael Bliemel646 views
Social Media Market Trender with Dache Manager Using Hadoop and Visualization... by IRJET Journal
Social Media Market Trender with Dache Manager Using Hadoop and Visualization...Social Media Market Trender with Dache Manager Using Hadoop and Visualization...
Social Media Market Trender with Dache Manager Using Hadoop and Visualization...
IRJET Journal22 views
Big Data Platform and Architecture Recommendation by Sofyan Hadi AHmad
Big Data Platform and Architecture RecommendationBig Data Platform and Architecture Recommendation
Big Data Platform and Architecture Recommendation
Sofyan Hadi AHmad292 views

More from TelecomValley

Rapport d'activité SoFAB 2022 by
Rapport d'activité SoFAB 2022Rapport d'activité SoFAB 2022
Rapport d'activité SoFAB 2022TelecomValley
31 views14 slides
Rapport d'activité 2022 by
Rapport d'activité 2022Rapport d'activité 2022
Rapport d'activité 2022TelecomValley
50 views28 slides
Rapport d'activité 2021 - Telecom Valley by
Rapport d'activité 2021 - Telecom ValleyRapport d'activité 2021 - Telecom Valley
Rapport d'activité 2021 - Telecom ValleyTelecomValley
364 views28 slides
Livre blanc "Les métamorphoses de l'entreprise face à l'imprévu - Tome 1 : la... by
Livre blanc "Les métamorphoses de l'entreprise face à l'imprévu - Tome 1 : la...Livre blanc "Les métamorphoses de l'entreprise face à l'imprévu - Tome 1 : la...
Livre blanc "Les métamorphoses de l'entreprise face à l'imprévu - Tome 1 : la...TelecomValley
456 views48 slides
Rapport d'activité SoFAB 2020 by
Rapport d'activité SoFAB 2020Rapport d'activité SoFAB 2020
Rapport d'activité SoFAB 2020TelecomValley
175 views11 slides
Rapport d'activité Telecom Valley 2020 by
Rapport d'activité Telecom Valley 2020Rapport d'activité Telecom Valley 2020
Rapport d'activité Telecom Valley 2020TelecomValley
462 views17 slides

More from TelecomValley(20)

Rapport d'activité SoFAB 2022 by TelecomValley
Rapport d'activité SoFAB 2022Rapport d'activité SoFAB 2022
Rapport d'activité SoFAB 2022
TelecomValley31 views
Rapport d'activité 2021 - Telecom Valley by TelecomValley
Rapport d'activité 2021 - Telecom ValleyRapport d'activité 2021 - Telecom Valley
Rapport d'activité 2021 - Telecom Valley
TelecomValley364 views
Livre blanc "Les métamorphoses de l'entreprise face à l'imprévu - Tome 1 : la... by TelecomValley
Livre blanc "Les métamorphoses de l'entreprise face à l'imprévu - Tome 1 : la...Livre blanc "Les métamorphoses de l'entreprise face à l'imprévu - Tome 1 : la...
Livre blanc "Les métamorphoses de l'entreprise face à l'imprévu - Tome 1 : la...
TelecomValley456 views
Rapport d'activité SoFAB 2020 by TelecomValley
Rapport d'activité SoFAB 2020Rapport d'activité SoFAB 2020
Rapport d'activité SoFAB 2020
TelecomValley175 views
Rapport d'activité Telecom Valley 2020 by TelecomValley
Rapport d'activité Telecom Valley 2020Rapport d'activité Telecom Valley 2020
Rapport d'activité Telecom Valley 2020
TelecomValley462 views
Rapport d'activité SoFAB 2019 by TelecomValley
Rapport d'activité SoFAB 2019Rapport d'activité SoFAB 2019
Rapport d'activité SoFAB 2019
TelecomValley186 views
Rapport d'activité Telecom Valley 2019 by TelecomValley
Rapport d'activité Telecom Valley 2019Rapport d'activité Telecom Valley 2019
Rapport d'activité Telecom Valley 2019
TelecomValley547 views
Revue de presse Telecom Valley - Février 2020 by TelecomValley
Revue de presse Telecom Valley - Février 2020Revue de presse Telecom Valley - Février 2020
Revue de presse Telecom Valley - Février 2020
TelecomValley207 views
Revue de presse Telecom Valley - Janvier 2020 by TelecomValley
Revue de presse Telecom Valley - Janvier 2020Revue de presse Telecom Valley - Janvier 2020
Revue de presse Telecom Valley - Janvier 2020
TelecomValley150 views
Revue de presse Telecom Valley - Décembre 2019 by TelecomValley
Revue de presse Telecom Valley - Décembre 2019Revue de presse Telecom Valley - Décembre 2019
Revue de presse Telecom Valley - Décembre 2019
TelecomValley122 views
Revue de presse Telecom Valley - Novembre 2019 by TelecomValley
Revue de presse Telecom Valley - Novembre 2019Revue de presse Telecom Valley - Novembre 2019
Revue de presse Telecom Valley - Novembre 2019
TelecomValley100 views
Revue de presse Telecom Valley - Octobre 2019 by TelecomValley
Revue de presse Telecom Valley - Octobre 2019Revue de presse Telecom Valley - Octobre 2019
Revue de presse Telecom Valley - Octobre 2019
TelecomValley85 views
Revue de presse Telecom Valley - Septembre 2019 by TelecomValley
Revue de presse Telecom Valley - Septembre 2019Revue de presse Telecom Valley - Septembre 2019
Revue de presse Telecom Valley - Septembre 2019
TelecomValley85 views
Présentation Team France Export régionale - 29/11/19 by TelecomValley
Présentation Team France Export régionale - 29/11/19Présentation Team France Export régionale - 29/11/19
Présentation Team France Export régionale - 29/11/19
TelecomValley228 views
2019 - NOURI - ALL4TEST- Le BDD pour decouvrir et specifier les besoins metie... by TelecomValley
2019 - NOURI - ALL4TEST- Le BDD pour decouvrir et specifier les besoins metie...2019 - NOURI - ALL4TEST- Le BDD pour decouvrir et specifier les besoins metie...
2019 - NOURI - ALL4TEST- Le BDD pour decouvrir et specifier les besoins metie...
TelecomValley364 views
Tester c'est bien, monitorer c'est mieux - 2019 - KISSI - Soirée du Test Logi... by TelecomValley
Tester c'est bien, monitorer c'est mieux - 2019 - KISSI - Soirée du Test Logi...Tester c'est bien, monitorer c'est mieux - 2019 - KISSI - Soirée du Test Logi...
Tester c'est bien, monitorer c'est mieux - 2019 - KISSI - Soirée du Test Logi...
TelecomValley190 views
Et si mon test était la spécification de mon application ? - JACOB - iWE - So... by TelecomValley
Et si mon test était la spécification de mon application ? - JACOB - iWE - So...Et si mon test était la spécification de mon application ? - JACOB - iWE - So...
Et si mon test était la spécification de mon application ? - JACOB - iWE - So...
TelecomValley218 views
A la poursuite du bug perdu - 2019 - THEAULT - DI GIORGIO - ACPQUALIFE by TelecomValley
A la poursuite du bug perdu - 2019 - THEAULT - DI GIORGIO - ACPQUALIFEA la poursuite du bug perdu - 2019 - THEAULT - DI GIORGIO - ACPQUALIFE
A la poursuite du bug perdu - 2019 - THEAULT - DI GIORGIO - ACPQUALIFE
TelecomValley240 views
2019 - HAGE CHAHINE - ALTRAN - Presentation-DecouverteMondeAgile_V1.1 by TelecomValley
2019 - HAGE CHAHINE - ALTRAN - Presentation-DecouverteMondeAgile_V1.12019 - HAGE CHAHINE - ALTRAN - Presentation-DecouverteMondeAgile_V1.1
2019 - HAGE CHAHINE - ALTRAN - Presentation-DecouverteMondeAgile_V1.1
TelecomValley229 views

Recently uploaded

tecnologia18.docx by
tecnologia18.docxtecnologia18.docx
tecnologia18.docxnosi6702
5 views5 slides
Benefits in Software Development by
Benefits in Software DevelopmentBenefits in Software Development
Benefits in Software DevelopmentJohn Valentino
5 views15 slides
DRYiCE™ iAutomate: AI-enhanced Intelligent Runbook Automation by
DRYiCE™ iAutomate: AI-enhanced Intelligent Runbook AutomationDRYiCE™ iAutomate: AI-enhanced Intelligent Runbook Automation
DRYiCE™ iAutomate: AI-enhanced Intelligent Runbook AutomationHCLSoftware
6 views8 slides
AI and Ml presentation .pptx by
AI and Ml presentation .pptxAI and Ml presentation .pptx
AI and Ml presentation .pptxFayazAli87
14 views15 slides
Top-5-production-devconMunich-2023.pptx by
Top-5-production-devconMunich-2023.pptxTop-5-production-devconMunich-2023.pptx
Top-5-production-devconMunich-2023.pptxTier1 app
9 views40 slides
Understanding HTML terminology by
Understanding HTML terminologyUnderstanding HTML terminology
Understanding HTML terminologyartembondar5
7 views8 slides

Recently uploaded(20)

tecnologia18.docx by nosi6702
tecnologia18.docxtecnologia18.docx
tecnologia18.docx
nosi67025 views
DRYiCE™ iAutomate: AI-enhanced Intelligent Runbook Automation by HCLSoftware
DRYiCE™ iAutomate: AI-enhanced Intelligent Runbook AutomationDRYiCE™ iAutomate: AI-enhanced Intelligent Runbook Automation
DRYiCE™ iAutomate: AI-enhanced Intelligent Runbook Automation
HCLSoftware6 views
AI and Ml presentation .pptx by FayazAli87
AI and Ml presentation .pptxAI and Ml presentation .pptx
AI and Ml presentation .pptx
FayazAli8714 views
Top-5-production-devconMunich-2023.pptx by Tier1 app
Top-5-production-devconMunich-2023.pptxTop-5-production-devconMunich-2023.pptx
Top-5-production-devconMunich-2023.pptx
Tier1 app9 views
Understanding HTML terminology by artembondar5
Understanding HTML terminologyUnderstanding HTML terminology
Understanding HTML terminology
artembondar57 views
How To Make Your Plans Suck Less — Maarten Dalmijn at the 57th Hands-on Agile... by Stefan Wolpers
How To Make Your Plans Suck Less — Maarten Dalmijn at the 57th Hands-on Agile...How To Make Your Plans Suck Less — Maarten Dalmijn at the 57th Hands-on Agile...
How To Make Your Plans Suck Less — Maarten Dalmijn at the 57th Hands-on Agile...
Stefan Wolpers42 views
Transport Management System - Shipment & Container Tracking by Freightoscope
Transport Management System - Shipment & Container TrackingTransport Management System - Shipment & Container Tracking
Transport Management System - Shipment & Container Tracking
Freightoscope 5 views
Electronic AWB - Electronic Air Waybill by Freightoscope
Electronic AWB - Electronic Air Waybill Electronic AWB - Electronic Air Waybill
Electronic AWB - Electronic Air Waybill
Freightoscope 5 views
Airline Booking Software by SharmiMehta
Airline Booking SoftwareAirline Booking Software
Airline Booking Software
SharmiMehta9 views
FOSSLight Community Day 2023-11-30 by Shane Coughlan
FOSSLight Community Day 2023-11-30FOSSLight Community Day 2023-11-30
FOSSLight Community Day 2023-11-30
Shane Coughlan7 views
Unlocking the Power of AI in Product Management - A Comprehensive Guide for P... by NimaTorabi2
Unlocking the Power of AI in Product Management - A Comprehensive Guide for P...Unlocking the Power of AI in Product Management - A Comprehensive Guide for P...
Unlocking the Power of AI in Product Management - A Comprehensive Guide for P...
NimaTorabi216 views
How to build dyanmic dashboards and ensure they always work by Wiiisdom
How to build dyanmic dashboards and ensure they always workHow to build dyanmic dashboards and ensure they always work
How to build dyanmic dashboards and ensure they always work
Wiiisdom14 views
aATP - New Correlation Confirmation Feature.pptx by EsatEsenek1
aATP - New Correlation Confirmation Feature.pptxaATP - New Correlation Confirmation Feature.pptx
aATP - New Correlation Confirmation Feature.pptx
EsatEsenek1205 views
Ports-and-Adapters Architecture for Embedded HMI by Burkhard Stubert
Ports-and-Adapters Architecture for Embedded HMIPorts-and-Adapters Architecture for Embedded HMI
Ports-and-Adapters Architecture for Embedded HMI
Burkhard Stubert33 views
Top-5-production-devconMunich-2023-v2.pptx by Tier1 app
Top-5-production-devconMunich-2023-v2.pptxTop-5-production-devconMunich-2023-v2.pptx
Top-5-production-devconMunich-2023-v2.pptx
Tier1 app8 views
predicting-m3-devopsconMunich-2023.pptx by Tier1 app
predicting-m3-devopsconMunich-2023.pptxpredicting-m3-devopsconMunich-2023.pptx
predicting-m3-devopsconMunich-2023.pptx
Tier1 app8 views
Automated Testing of Microsoft Power BI Reports by RTTS
Automated Testing of Microsoft Power BI ReportsAutomated Testing of Microsoft Power BI Reports
Automated Testing of Microsoft Power BI Reports
RTTS10 views

Soirée du Test Logiciel - Test Driven Development with graph databases - S. DARGO, Amadeus

  • 1. Test driven development with graph databases @SandorDargo 05/10/2017, Soiree du Test Logiciel ©AmadeusITGroupanditsaffiliatesandsubsidiaries
  • 2. _Father of one _Developer at Amadeus _Blogger – http://sandordargo.com _Amateur of graph databases 3 ©AmadeusITGroupanditsaffiliatesandsubsidiaries Who am I?
  • 3. _Not a store of excel charts _Not a data visualization tool 5 ©AmadeusITGroupanditsaffiliatesandsubsidiaries What is not a graph database?
  • 4. _Type of NoSQL database _Based on the concepts introduced by Leonhard Euler _Collections of nodes and relationships 6 ©AmadeusITGroupanditsaffiliatesandsubsidiaries What is a graph(-oriented) database?
  • 5. _Graph = Nodes + Relationships _Property Graph = Graph + key-value attributes/properties _Labelled Property Graph = Property Graph + Tags/Labels 7 ©AmadeusITGroupanditsaffiliatesandsubsidiaries Labelled Property Graph Data Model
  • 7. _Topologies _Social data _Page ranking _Analyse highly connected data (Panama papers) 9 ©AmadeusITGroupanditsaffiliatesandsubsidiaries When to use a graph (i.e. advantages of a graph)? “If you can whiteboard it, you can graph it”
  • 8. _Graph database with three different node types • Wine regions (e.g. Provence) • Wine subregions (e.g. Bandol) • Grapes (e.g. Mourvedre) _Develop services to retrieve the nodes by name and the related nodes _Use Java or Python (Java 8 tonight) _Start code for Java at: https://github.com/sandordargo/neo-wine- services/tree/starting-code 10 ©AmadeusITGroupanditsaffiliatesandsubsidiaries Code Kata
  • 9. 11 ©AmadeusITGroupanditsaffiliatesandsubsidiaries Creating test data with Cypher CREATE (eger:WineRegion {name:'Eger'})-[:CONTAINS] ->(eger_subregion:WineSubRegion {name:'Eger'}), (eger)-[:CONTAINS]->(matra:WineSubRegion {name:'Mátra'}), (eger)-[:CONTAINS]->(bukk:WineSubRegion {name:'Bükk'}), (eger_subregion)<-[:GROWS_AT]-(merlot:Grape {name:'Merlot'}), (eger_subregion)<-[:GROWS_AT]-(pinot_noir:Grape {name:'Pinot Noir'}), (eger_subregion)<-[:GROWS_AT]-(cabernet_franc:Grape {name:'Cabernet Franc'})
  • 10. 12 ©AmadeusITGroupanditsaffiliatesandsubsidiaries Simple query with Cypher MATCH (eger:WineRegion {name:'Eger'})- [relationship:CONTAINS] -> (subregion:WineSubRegion) RETURN eger, relationship, subregion
  • 11. _Ideal when a relationship is OPTIONAL _Will use null for missing part of a pattern _Example: 13 ©AmadeusITGroupanditsaffiliatesandsubsidiaries OPTIONAL MATCH MATCH (wr:WineRegion)-[:CONTAINS]→ (wsr:WineSubRegion {name:{subregionName}}) OPTIONAL MATCH (wsr)<-[:GROWS_AT]-(grape:Grape) RETURN wr, wsr, grape
  • 12. Thank you! ©AmadeusITGroupanditsaffiliatesandsubsidiaries You can follow us on: AmadeusITgroup amadeus.com Amadeus.com/blog