Importer des données 
dans Nuxeo Platform 
Quelles solutions ?
Agenda 
 Principes d'import 
 Quelles solutions pour quel 
cas ?
Principes 
d'import
Points à étudier 
 Complexité des données 
 Format pivot 
 Volumes à traiter / Fréquence 
 Contraintes éventuelles sur la 
production
Contraintes liées au réseau 
Deux approches 
Appels distants 
Choix du format 
et du langage 
Facile à customiser 
Pas besoin d'accès 
physique au serveur 
Non transactionnel 
Pas de traitement par lots
Deux approches 
Import local 
Transactionnel 
Traitement par lots 
Optimisé pour les 
gros volumes 
Nécessite que les éléments 
soient lisibles par le serveur 
Cadre / langage imposé
Différentes implémentations 
Appels distants 
API REST 
Nuxeo JS client Appels REST 
(tout langage) 
Nuxeo Node 
Importer 
Nuxeo Custom 
Node Importer 
Fork
Différentes implémentations 
Import local 
Nuxeo Platform Importer 
Nuxeo 
Scan Importer 
Nuxeo 
Bulk Importer 
Nuxeo CSV
Questions ?
Quelles 
solutions 
pour...
Cas d'usage 
 Import ponctuel 
 Intégration de données externes 
 Reprise de données
Import ponctuel 
Appels distants Import local 
API REST Nuxeo Nuxeo CSV 
Liens utiles: 
Documentation 
Nuxeo Node Importer 
Nuxeo Custom Node Importer 
Liens utiles: 
Documentation
Questions ?
Import récurrent 
Appels distants Import local 
Mule ESB Scan importer 
Liens utiles: 
Connecting Nuxeo with Twitter using Mule ESB 
Liens utiles: 
Documentation
Questions ?
Reprise de données 
Appels distants Import local 
API REST Nuxeo Bulk importer 
Liens utiles: 
Documentation 
Nuxeo Node Importer 
Nuxeo Custom Node Importer 
Liens utiles: 
Documentation
Bulk 
Document 
Importer
Process d'import 
Source 
node 
Factory Document 
...
Process d'import 
Source 
node 
Factory Document 
Filter 
Threading policy
Quoi configurer ? 
Source 
node 
Factory 
Filter 
Threading 
policy 
Format 
d'entrée 
Traitements 
additionnels 
Limiter les 
événements 
Gérer les 
performances 
Point 
ImporterConfiguration 
Service 
DefaultImporterComponent
API REST : 
Nuxeo JS client
Comment... 
Créer un document 
client.document('/').create({ 
type: "Folder", 
name: "a folder", 
properties: { 
"dc:title": "a folder" 
}, function(err, data) { 
// done 
} 
Définir un statut 
var operation = 
client.operation('Document.SetLifeCycle') 
.params({'value', 'approve'}) 
.input('doc:/') 
.execute(function(err, data) { 
// done 
}); 
Uploader un fichier 
// Create the uploader bound to the 
operation 
var uploader = 
client.operation("Blob.Attach") 
.params({ document: existingDocId, 
save : true, 
xpath: "file:content" 
}) 
.uploader(); 
// Upload the file 
uploader.uploadFile(file, 
function(error, data) { 
if (error) { 
// something went wrong 
throw error; 
} 
// When done, execute the operation 
uploader.execute(function(error, data) 
{ 
if (error) { 
// something went wrong 
throw error; 
} 
// successfully attached blob 
}); 
}
Quelle base pour mon projet ? 
nuxeo-node-importer 
 Import standard de fichiers 
nuxeo-node-custom-importer 
 Import avec règles métier
Questions ?
Merci de votre 
attention !

Contenu connexe

PPTX
Des cas d'intégration client par Sword: XL Airways, Ministere de la Culture...
PDF
[Webinaire] Nuxeo Platform 5.8 : les nouveautés
PDF
Meetup du 21 septembre 2017
PDF
XWiki : évolutions 2013 / 2014
PPTX
Meetup Google Cloud
PPTX
Présentation BigQuery et comparatif avec RedShift
PPT
myLittleAdmin and myLittleBackup Presentation
PPTX
Introduction à ASP.NET Core
Des cas d'intégration client par Sword: XL Airways, Ministere de la Culture...
[Webinaire] Nuxeo Platform 5.8 : les nouveautés
Meetup du 21 septembre 2017
XWiki : évolutions 2013 / 2014
Meetup Google Cloud
Présentation BigQuery et comparatif avec RedShift
myLittleAdmin and myLittleBackup Presentation
Introduction à ASP.NET Core

Tendances (20)

PPTX
Les micro orm, alternatives à entity framework
KEY
Node.js et MongoDB: Mongoose
PDF
Toutes les raisons d'adopter MongoDB
PPTX
Quelles architectures pour vos applications Cloud, de la VM au conteneur : ça...
PDF
Zenika MongoDB Tour - REX Amadeus
PPTX
Mongo db applicationmonitor
PPTX
Meetup Google Cloud
PPTX
Meetup Google Cloud Bigquery
PPTX
Azugfr 2703 - service fabric
PPTX
Techdays azure pour les développeurs
DOCX
PPTX
OVH Public Cloud : VM as a Service
PPTX
REX : la webperf chez RueDuCommerce
PPTX
ASP.NET Core: Pourquoi, comment
PPTX
Création d’application facile en html via node-webkit
PPTX
Héberger son site web sur le cloud avec Windows Azure
PPTX
Introduction to Rust in Production - Servo Mozilla project (Slides)
PPTX
Présentation de Node.js
ODP
Présentation de nodejs
 
DOCX
Introduction to Rust in Production - Servo Mozilla project (Talk)
Les micro orm, alternatives à entity framework
Node.js et MongoDB: Mongoose
Toutes les raisons d'adopter MongoDB
Quelles architectures pour vos applications Cloud, de la VM au conteneur : ça...
Zenika MongoDB Tour - REX Amadeus
Mongo db applicationmonitor
Meetup Google Cloud
Meetup Google Cloud Bigquery
Azugfr 2703 - service fabric
Techdays azure pour les développeurs
OVH Public Cloud : VM as a Service
REX : la webperf chez RueDuCommerce
ASP.NET Core: Pourquoi, comment
Création d’application facile en html via node-webkit
Héberger son site web sur le cloud avec Windows Azure
Introduction to Rust in Production - Servo Mozilla project (Slides)
Présentation de Node.js
Présentation de nodejs
 
Introduction to Rust in Production - Servo Mozilla project (Talk)
Publicité

En vedette (20)

PDF
API REST et client Javascript - Nuxeo Tour 2014 - Workshop
PDF
Leveraging OSGi-based Architecture, GWT, and Eclipse to build a large ajax-ba...
PPT
TUTORIAL SOBRE SLIDE
PDF
aspirateurs robots
DOCX
Les superstition topic
PDF
Dautuquocte
PDF
Activitats de les comarques
PDF
Boletín ordinario nro 10
PDF
Sobre Criminalización de Defensores DDHH en Venezuela Capítulo de Rafael Uzcá...
PPT
Libertad y responsabilidad de información
PDF
Etude livre Hadopi/GLN rapport QUALITATIF
PPTX
L’apprentissage de l’ecriture academique en francais
DOC
Investigacion comercial
PDF
MESURE DU MOBILE - Janvier 2013
PDF
Actvité professionnelle (version finale )
PPTX
Sistema solar
PDF
Saint-Louis programme culturel avril 2013
PDF
Fonds d’assurance maladie igf rapport 2010 / http://www.igf.finances.gouv.fr...
DOC
Faetón y el carro del sol. la ilíada. César Crespo
PPTX
9eme edition de l observatoire de l e-pub
API REST et client Javascript - Nuxeo Tour 2014 - Workshop
Leveraging OSGi-based Architecture, GWT, and Eclipse to build a large ajax-ba...
TUTORIAL SOBRE SLIDE
aspirateurs robots
Les superstition topic
Dautuquocte
Activitats de les comarques
Boletín ordinario nro 10
Sobre Criminalización de Defensores DDHH en Venezuela Capítulo de Rafael Uzcá...
Libertad y responsabilidad de información
Etude livre Hadopi/GLN rapport QUALITATIF
L’apprentissage de l’ecriture academique en francais
Investigacion comercial
MESURE DU MOBILE - Janvier 2013
Actvité professionnelle (version finale )
Sistema solar
Saint-Louis programme culturel avril 2013
Fonds d’assurance maladie igf rapport 2010 / http://www.igf.finances.gouv.fr...
Faetón y el carro del sol. la ilíada. César Crespo
9eme edition de l observatoire de l e-pub
Publicité

Similaire à Importer des données dans Nuxeo Platform - Nuxeo Tour 2014 - workshop (20)

PPTX
Symfony2 - Un Framework PHP 5 Performant
PDF
Support de cours angular
PDF
Hello mongo
PPTX
HTML5 en projet
PDF
Intégration continue des projets PHP avec Jenkins
PPT
Asp Au Service Des Mv Ps
PPTX
Réduisez vos Coûts d'Administration et les Risques d'erreurs avec Windows Pow...
PPTX
Les nouveautés du Framework .NET 4.5
PPTX
Workflow et bcs sous SharePoint 2013
PPTX
Workflow et bcs sous share point 2013
PPT
Powershell
PPT
Linq et Entity framework
PDF
Guide (un tout petit peu) pratique (et totalement subjectif) du stream proces...
PPTX
Workshop Spring - Session 4 - Spring Batch
PPTX
Power Shell V2 en action - avec Posh Board 2.0
PPS
Green System University - Development JDEdwards (French Version) - Tome2
PDF
nodejs vs vertx
PDF
Support Web Services SOAP et RESTful Mr YOUSSFI
PPTX
HTML 5 et CSS3, créez, animez et enrichissez vos sites Web
PDF
E4 : Conception et maintenance de solutions informatiques
Symfony2 - Un Framework PHP 5 Performant
Support de cours angular
Hello mongo
HTML5 en projet
Intégration continue des projets PHP avec Jenkins
Asp Au Service Des Mv Ps
Réduisez vos Coûts d'Administration et les Risques d'erreurs avec Windows Pow...
Les nouveautés du Framework .NET 4.5
Workflow et bcs sous SharePoint 2013
Workflow et bcs sous share point 2013
Powershell
Linq et Entity framework
Guide (un tout petit peu) pratique (et totalement subjectif) du stream proces...
Workshop Spring - Session 4 - Spring Batch
Power Shell V2 en action - avec Posh Board 2.0
Green System University - Development JDEdwards (French Version) - Tome2
nodejs vs vertx
Support Web Services SOAP et RESTful Mr YOUSSFI
HTML 5 et CSS3, créez, animez et enrichissez vos sites Web
E4 : Conception et maintenance de solutions informatiques

Plus de Nuxeo (20)

PDF
Own the Digital Shelf Strategies Food and Beverage Companies
PDF
How DAM Librarians Can Get Ready for the Uncertain Future
PDF
How Insurers Fueled Transformation During a Pandemic
PDF
Manage your Content at Scale with MongoDB and Nuxeo
PDF
Accelerate the Digital Supply Chain From Idea to Support
PDF
Where are you in the DAM Continuum
PDF
Customer Experience in 2021
PPTX
L’IA personnalisée, clé d’une gestion de l’information innovante
PDF
Gérer ses contenus avec MongoDB et Nuxeo
PPTX
Le DAM en 2021 : Tendances, points clés et critères d'évaluation
PPTX
Enabling Digital Transformation Amidst a Global Pandemic | Low-Code, Cloud, A...
PDF
Elevate your Customer's Experience and Stay Ahead of the Competition
PDF
Driving Brand Loyalty Through Superior Customer Experience
PDF
Drive Enterprise Speed and Scale with A Cloud-Native DAM
PPTX
The Big Picture: the Role of Video, Photography, and Content in Enhancing the...
PDF
How Creatives Are Getting Creative in 2020 and Beyond
PPTX
Digitalisation : Améliorez la collaboration et l’expérience client grâce au DAM
PDF
Reimagine Your Claims Process with Future-Proof Technologies
PPTX
Comment le Centre Hospitalier Laborit dématérialise ses processus administratifs
PDF
Accelerating the Packaging Design Process with Artificial Intelligence
Own the Digital Shelf Strategies Food and Beverage Companies
How DAM Librarians Can Get Ready for the Uncertain Future
How Insurers Fueled Transformation During a Pandemic
Manage your Content at Scale with MongoDB and Nuxeo
Accelerate the Digital Supply Chain From Idea to Support
Where are you in the DAM Continuum
Customer Experience in 2021
L’IA personnalisée, clé d’une gestion de l’information innovante
Gérer ses contenus avec MongoDB et Nuxeo
Le DAM en 2021 : Tendances, points clés et critères d'évaluation
Enabling Digital Transformation Amidst a Global Pandemic | Low-Code, Cloud, A...
Elevate your Customer's Experience and Stay Ahead of the Competition
Driving Brand Loyalty Through Superior Customer Experience
Drive Enterprise Speed and Scale with A Cloud-Native DAM
The Big Picture: the Role of Video, Photography, and Content in Enhancing the...
How Creatives Are Getting Creative in 2020 and Beyond
Digitalisation : Améliorez la collaboration et l’expérience client grâce au DAM
Reimagine Your Claims Process with Future-Proof Technologies
Comment le Centre Hospitalier Laborit dématérialise ses processus administratifs
Accelerating the Packaging Design Process with Artificial Intelligence

Importer des données dans Nuxeo Platform - Nuxeo Tour 2014 - workshop

  • 1. Importer des données dans Nuxeo Platform Quelles solutions ?
  • 2. Agenda  Principes d'import  Quelles solutions pour quel cas ?
  • 4. Points à étudier  Complexité des données  Format pivot  Volumes à traiter / Fréquence  Contraintes éventuelles sur la production
  • 5. Contraintes liées au réseau Deux approches Appels distants Choix du format et du langage Facile à customiser Pas besoin d'accès physique au serveur Non transactionnel Pas de traitement par lots
  • 6. Deux approches Import local Transactionnel Traitement par lots Optimisé pour les gros volumes Nécessite que les éléments soient lisibles par le serveur Cadre / langage imposé
  • 7. Différentes implémentations Appels distants API REST Nuxeo JS client Appels REST (tout langage) Nuxeo Node Importer Nuxeo Custom Node Importer Fork
  • 8. Différentes implémentations Import local Nuxeo Platform Importer Nuxeo Scan Importer Nuxeo Bulk Importer Nuxeo CSV
  • 11. Cas d'usage  Import ponctuel  Intégration de données externes  Reprise de données
  • 12. Import ponctuel Appels distants Import local API REST Nuxeo Nuxeo CSV Liens utiles: Documentation Nuxeo Node Importer Nuxeo Custom Node Importer Liens utiles: Documentation
  • 14. Import récurrent Appels distants Import local Mule ESB Scan importer Liens utiles: Connecting Nuxeo with Twitter using Mule ESB Liens utiles: Documentation
  • 16. Reprise de données Appels distants Import local API REST Nuxeo Bulk importer Liens utiles: Documentation Nuxeo Node Importer Nuxeo Custom Node Importer Liens utiles: Documentation
  • 18. Process d'import Source node Factory Document ...
  • 19. Process d'import Source node Factory Document Filter Threading policy
  • 20. Quoi configurer ? Source node Factory Filter Threading policy Format d'entrée Traitements additionnels Limiter les événements Gérer les performances Point ImporterConfiguration Service DefaultImporterComponent
  • 21. API REST : Nuxeo JS client
  • 22. Comment... Créer un document client.document('/').create({ type: "Folder", name: "a folder", properties: { "dc:title": "a folder" }, function(err, data) { // done } Définir un statut var operation = client.operation('Document.SetLifeCycle') .params({'value', 'approve'}) .input('doc:/') .execute(function(err, data) { // done }); Uploader un fichier // Create the uploader bound to the operation var uploader = client.operation("Blob.Attach") .params({ document: existingDocId, save : true, xpath: "file:content" }) .uploader(); // Upload the file uploader.uploadFile(file, function(error, data) { if (error) { // something went wrong throw error; } // When done, execute the operation uploader.execute(function(error, data) { if (error) { // something went wrong throw error; } // successfully attached blob }); }
  • 23. Quelle base pour mon projet ? nuxeo-node-importer  Import standard de fichiers nuxeo-node-custom-importer  Import avec règles métier
  • 25. Merci de votre attention !