Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Tech Talk Live 106 - Introduction to the Alfresco Digital Business Platform - Content & Search

310 views

Published on

Tech Talk Live 106 - Introduction to the Alfresco Digital Business Platform - Content & Search.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Tech Talk Live 106 - Introduction to the Alfresco Digital Business Platform - Content & Search

  1. 1. Introducing the Alfresco Digital Business Platform 1. Content & Search Tech Talk Live #106
  2. 2. Where to start? http://community.alfresco.com http://chat.alfresco.com http://docs.alfresco.com http://university.alfresco.com
  3. 3. https://www.alfresco.com/platform
  4. 4. https://www.alfresco.com/platform https://www.alfresco.com/platform
  5. 5. https://www.alfresco.com/platform https://www.alfresco.com/platform
  6. 6. https://www.alfresco.com/platform https://www.alfresco.com/platform
  7. 7. https://www.alfresco.com/platform https://www.alfresco.com/platform
  8. 8. https://www.alfresco.com/platform https://www.alfresco.com/platform
  9. 9. https://www.alfresco.com/platform https://www.alfresco.com/platform
  10. 10. https://www.alfresco.com/platform/content-services-ecm Storage layer Application layer Client layer Metadata, Users, Groups, Permits, Audits, ... Content in files organized in the alf_data folder
  11. 11. https://www.alfresco.com/platform/content-services-ecm Storage layer Application layer Client layer Database File system Apache Tomcat alfresco.war
  12. 12. https://www.alfresco.com/platform/content-services-ecm Clients for supported protocols Storage layer Application layer Client layer Database File system Spring Framework Authentication Access Control ... Audit Log SSO Behaviour/Policies Rules/Actions Content Model Alfresco Public Java API JavaScript API Mobile Custom Clients ... REST, WebDav, CMIS, CIFS, FTP, SPP, IMAP, SMTP, ... alfresco.war
  13. 13. https://www.alfresco.com/platform/content-services-ecm Storage layer Application layer Client layer Database File system Spring Framework Authentication Access Control ... Audit Log SSO Behaviour/Policies Rules/Actions Content Model Alfresco Public Java API JavaScript API Alfresco Share share.war Alfresco ADF REST, WebDav, CMIS, CIFS, FTP, SPP, IMAP, SMTP, ... alfresco.war
  14. 14. Alfresco Content Services A practical approach to protocols, services and configuration
  15. 15. https://www.alfresco.com/platform/content-services-ecm Storage layer Application layer Client layer Database File system Spring Framework Authentication Access Control ... Audit Log SSO Behaviour/Policies Rules/Actions Content Model Alfresco Public Java API JavaScript API REST, WebDav, CMIS, CIFS, FTP, SPP, IMAP, SMTP, ... alfresco.war
  16. 16. https://www.alfresco.com/platform/content-services-ecm Database File system Spring Framework Authentication Access Control ... Audit Log SSO Behaviour/Policies Rules/Actions Content Model Alfresco Public Java API JavaScript API REST, WebDav, CMIS, CIFS, FTP, SPP, IMAP, SMTP, ... # Content store (file system) dir.root=/usr/local/alfresco/alf_data # Database db.username=alfresco db.password=alfresco db.driver=org.postgresql.Driver db.url=jdbc:postgresql://db:5432/alfresco # Alfresco Content Service alfresco.context=alfresco alfresco.host=${localname} alfresco.port=8080 alfresco.protocol=http # FTP Server ftp.enabled=true # IMAP Server imap.server.enabled=true # SMTP Server email.server.enabled=true alfresco-global.properties alfresco.war
  17. 17. https://www.alfresco.com/platform/content-services-ecm version: '2' services: alfresco: build: ./alfresco ports: - "8080:8080" - "2121:21" - "2525:25" - "1143:143" - "1139:139" - "1445:445" user: root privileged: true db: build: ./postgres network_mode: service:alfresco environment: - POSTGRES_DB=alfresco - POSTGRES_USER=alfresco - POSTGRES_PASSWORD=alfresco Docker Compose https://github.com/keensoft/alfresco-ttl-106/tree/master/docker
  18. 18. Protocols HTTP http://localhost:8080/alfresco/api/-default-/public/alfresco/versions/1/sites http://localhost:8080/alfresco/api/-default- /public/cmis/versions/1.1/browser/root/Sites http://localhost:8080/alfresco/webdav/Sites http://localhost:8080/alfresco/aos/Sites FTP $ ftp localhost 2121 CIFS $ smb://localhost:1445/alfresco IMAP $ telnet localhost 1143 https://www.alfresco.com/platform/content-services-ecm
  19. 19. Protocols SMTP $ telnet telnet> open localhost 2525 220 alfresco.com ESMTP SubEthaSMTP 3.1.7 helo me 250 alfresco.com mail from:admin@alfresco.com 250 Ok rcpt to:folder@alfresco.com 250 Ok Data 354 End data with <CR><LF>.<CR><LF> Subject:test Testing inbound email! . https://www.alfresco.com/platform/content-services-ecm
  20. 20. Services • Files & folders – http://localhost:8080/api-explorer/#/nodes • Versioning – http://localhost:8080/api-explorer/#/versions • Lock & Unlock – http://localhost:8080/api-explorer/#/nodes • People – http://localhost:8080/api-explorer/#/people https://www.alfresco.com/platform/content-services-ecm https://github.com/keensoft/alfresco-ttl-106/tree/master/postman 5.2 + Postman
  21. 21. Services • Audit – http://localhost:8080/alfresco/s/api/audit • Groups – http://localhost:8080/alfresco/s/api/groups • Dictionary – http://localhost:8080/alfresco/s/api/dictionary – http://localhost:8080/alfresco/s/api/defclasses 4.0 + https://www.alfresco.com/platform/content-services-ecm
  22. 22. Services • Rules & actions – http://localhost:8080/alfresco/s/api/node • Metadata extraction – http://localhost:8080/alfresco/s/admin/admin-nodebrowser 4.0 + https://www.alfresco.com/platform/content-services-ecm
  23. 23. Services • Search Service – http://localhost:8080/api-explorer/#/search { "query": { "query": "TYPE:"cm:content"" } } { "query": { "query": "lorem" } } 5.2 + https://www.alfresco.com/platform/content-services-ecm !
  24. 24. Alfresco Search Services Many different syntax languages to search them all
  25. 25. Database File system Spring Framework Authentication ... Search Audit Log SSO Behaviour/Policies Rules/Actions Content Model Alfresco Public Java API JavaScript API REST, WebDav, CMIS, CIFS, FTP, SPP, IMAP, SMTP, ... alfresco.war solr6.war File system powered by Searching Indexing Search Services https://www.alfresco.com/platform/content-services-ecm
  26. 26. # SOLR 6 conf (solr.in.sh) data.dir.root=/opt/solr6/solrhome alfresco.host=alfresco alfresco.port=8080 # Alfresco Search Service index.subsystem.name=solr6 solr.host=solr6 solr.port=8983 solr.secureComms=none https://www.alfresco.com/platform/content-services-ecm Database File system Spring Framework Authentication ... Search Audit Log SSO Behaviour/Policies Rules/Actions Content Model Alfresco Public Java API JavaScript API REST, WebDav, CMIS, CIFS, FTP, SPP, IMAP, SMTP, ... alfresco.war solr6.war File system powered by alfresco-global.properties solr.in.sh Search Services
  27. 27. version: '2' services: alfresco: build: ./alfresco links: - solr6 solr6: image: keensoft/alfresco- solr6:201701-GA ports: - 8983:8983 https://www.alfresco.com/platform/content-services-ecm Docker Compose https://github.com/keensoft/alfresco-ttl-106/tree/master/docker Search Services
  28. 28. AFTS { "query": { "query": "lorem AND TYPE:"cm:content"", "language": "afts" } } Lucene { "query": { "query": "+lorem +TYPE:"cm:content"", "language": "lucene" } } 5.2 + https://www.alfresco.com/platform/content-services-ecmSearch Services
  29. 29. CMIS { "query": { "query": "select * from cmis:document WHERE CONTAINS('lorem')", "language": "cmis" } } 5.2 + https://www.alfresco.com/platform/content-services-ecm http://chemistry.apache.org/java/developing/tools/dev-tools-workbench.html Search Services
  30. 30. Alfresco Content Services Renditions What changes when nothing seems to change
  31. 31. # Alfresco Transformation Service ooo.exe=/opt/LibreOffice/soffice ooo.enabled=true ooo.host=libreoffice ooo.port=8100 # GhostScript img.gslib=/usr/lib # ImageMagick img.exe=/usr/bin/convert https://www.alfresco.com/platform/content-services-ecm Database File system Spring Framework Authentication Access Control ... Audit Log SSO Behaviour/Policies Rules/Actions Content Model Alfresco Public Java API JavaScript API REST, WebDav, CMIS, CIFS, FTP, SPP, IMAP, SMTP, ... alfresco.war LibreOffice server
  32. 32. version: '2' services: alfresco: build: ./alfresco links: - solr6 - libreoffice libreoffice: image: xcgd/libreoffice EXPOSE 8997 https://www.alfresco.com/platform/content-services-ecm Docker Compose https://github.com/keensoft/alfresco-ttl-106/tree/master/docker
  33. 33. Services • Thumbnailing service • Transformation service – http://localhost:8080/api-explorer/#!/renditions/listRenditions 5.2 + https://www.alfresco.com/platform/content-services-ecm
  34. 34. Selected references Where to go from now
  35. 35. CONTENT SERVICES Getting started https://community.alfresco.com/community/ecm/pages/get-started REST API Postman https://community.alfresco.com/community/ecm/blog/2017/05/02/v1-rest-api-10-things-you-should-know Java Client https://community.alfresco.com/community/ecm/blog/2016/11/17/alfresco-java-client-sdk SEARCH SERVICES Introducing SOLR 6 https://community.alfresco.com/community/ecm/blog/2016/12/22/introducing-solr-63-and-alfresco-search-services References
  36. 36. Introducing the Alfresco Digital Business Platform 1. Content & Search Tech Talk Live #106

×