Entradas con zylk-blog alfresco times .

Actualidad

Alfresco inboxes for basic document lifecycle status

avatar
Cesar Capillas Jul 25, 2019
Zylk

Yesterday I enjoyed and played a little bit with a quite old addon called Alfresco Inboxes for a demo, with some of the zylklab Alfresco addons. Alfresco Inboxes provides an custom Aikau page in Alfresco Share with configurable CMIS queries. I always liked solutions for having some kind of logical customized view of the repository for final users, in this case, based on custom CMIS queries. The project is compatible with Alfresco 4.2.f and 5.0.a. but I found a fork for being used with......

Leer más

How to check Alfresco CMIS queries

avatar
Cesar Capillas Jul 20, 2019
Zylk

During developing a content centric application in CMIS with your favorite language and library (OpenCMIS, cmislib, DotCMIS, PortCMIS), it is usual to check your CMIS queries against repository. You can do it easily in several ways: Let's give some examples that may be useful in some situation: SELECT * FROM cmis:document WHERE cmis:createdBy = 'mjackson' SELECT * FROM qshare:shared WHERE qshare:sharedBy = 'ccl001' ORDER BY cmis:creationDate SELECT * FROM cm:effectivity ORDER by cm:to DESC......

Leer más

Basic security for Elastic Search is now free

avatar
Cesar Capillas Jun 28, 2019
Zylk

As you probably know, Elastic Search is a distributed, document-oriented search and analytics engine, which supports structured and unstructured queries with a schemaless model ahead of time. Elastic Search is used as a search engine, and often for web-scale log analytics or real-time application monitoring. In the past, we previously wrote some examples for monitoring or auditing applications such as Liferay or Alfresco. Some weeks / months ago, one important change was announced in Elastic......

Leer más

Listing thousands of noderefs with Alfresco REST API

avatar
Cesar Capillas May 22, 2019
Zylk

Many situations in Alfresco support involve some minor modifications of thousands of documents or/and folders. Let's say we need to clean some metadata property, to add or remove some aspect, or renaming filenames for a given bunch of nodes, where bunch is here defined as several thousands of nodes. In these cases, we often obtain the corresponding list of noderefs, and later we process batch actions over the given set of nodes. For example: Customer did large bulk imports and now we need to......

Leer más

Auditing added content in Alfresco repository II

avatar
Cesar Capillas Apr 15, 2019
Zylk

In the last post about "Auditing added content in Alfresco repository", we talked about how to create a simple audit console based on an Alfresco behaviour. Let's give some details for this example. The idea is quite simple, for Alfresco creation events, to write an event log in catalina.out, such the following one: 2019-04-15 08:50:02,346 DEBUG [repo.behavior.AuditContentCreatedBehavior] [http-apr-8080-exec-5] version created => uuid=845e3c4e-197a-472a-9b85-cf3a31ad7ae0......

Leer más

Auditing added content in Alfresco repository

avatar
Cesar Capillas Apr 09, 2019
Zylk

One of the most important questions for many customers, once they are working with a document management system (now content services), is to know how they are using it. They want to obtain basic usage metrics about their business processes and custom content types to understand quantitatively how critical they are. Sometimes even simpler questions (sometimes audit related or statistics related) are not easy to obtain, such as how many documents do we have in the repository, what are the most......

Leer más

ZYLK at Alfresco Devcon 2019

avatar
Mikel Asla Feb 12, 2019
Zylk

I was present at the Alfresco Devcon 2019 conference that took place last week in Edinburgh and I can still feel the great atmosphere created during the event at the International Conference Centre. It was very pleasant to meet again with some of the Alfresco community rock stars, as well as attending so many interesting talks. Brian Remmington at Alfresco Devcon 2019. There were also lots of great talks that I could not attend and I cannot wait to see......

Leer más

Liferay DXP integration with Alfresco via CMIS API

avatar
Cesar Capillas Jan 28, 2019
Zylk

This week we will be in Edinburgh attending Alfresco Devcon 2019. Alfresco DevCon is an international developer conference dedicated to Alfresco related technologies, which provides a good opportunity to meet the experts of the community, and to obtain practical knowledge and use cases for Alfresco based solutions. Mikel Asla (Board Member of the Order Of the Bee), will present a lighting talk about Alfresco - Liferay integration via CMIS API titled "Portal & Content Services Revisited:......

Leer más

See you in Alfresco Devcon 2019

avatar
Cesar Capillas Dec 26, 2018
Zylk

As you probably know, Alfresco Devcon 2019 will celebrate next January in Edimburg. Alfresco DevCon is an international developer conference entirely dedicated to Alfresco related technologies, including technical sessions, training oportunities and keynotes. A good opportunity to meet experts of the community, and to provide developers a practical knowledge, use cases, best practices and techniques for Alfresco based solutions. The program is out there since some weeks ago, and it includes......

Leer más

Updated Docker image for Alfresco monitoring with Alfresco Search Services

avatar
Cesar Capillas Sep 04, 2018
Zylk

During last days of summer, I took some time to update the Docker and Vagrant images for Alfresco monitoring setup with Nagios / Icinga, adding support for Alfresco Search Services and also PNP4Nagios for having some visualizations. In the provided configuration, I created a new host for Alfresco Search Services, and a sample configuration for the most useful services for monitoring SOLR 6: core index errors, average measured times for SOLR handlers or caches hitradios. The sample......

Leer más

Alfresco Bulk Export Scripts

avatar
Cesar Capillas Aug 14, 2018
Zylk

In some of my last projects, I needed to create some helper scripts to extract information from an old Alfresco instance. My previous post about jq showed some of the helper scripts for getting users, groups or sites from Alfresco repository. I uploaded to github some examples: getPeople.sh getGroups.sh getSites.sh getSiteMemberships.sh getUserGroups.sh getAuthority.sh https://github.com/zylklab/alfresco-export-scripts#other-helper-scripts Besides of getting basic information, I needed to......

Leer más

Using jq for parsing JSON documents

avatar
Cesar Capillas Aug 04, 2018

I'm a big fan of command line shell utilities, and nowadays with the proliferation of REST APIs and JSON documents, one of the commands that I use more frequently in conjuction with curl is jq. jq is a lightweight and flexible command-line JSON processor and, we could say it is like awk or sed, but for JSON syntax. It may installed via apt in Ubuntu, or downloaded directly from github. In the following I'm going to show some illustrative use cases with jq: Use case 1) Extracting information......

Leer más

Using docker images for enterprise databases with Alfresco

avatar
Cesar Capillas Jul 26, 2018
Zylk

With Alfresco Content Services 6.0, docker-based installations are the standard way for setting up Alfresco (development) environments, while installer-based installations are not available anymore. By the moment, Docker compose resources use Postgresql database as default, but in between Alfresco supported stacks, there are also commercial databases widely used in Alfresco installations, such as MS-SQL Server and Oracle. In our development enviroments (also for Alfresco 5.x), we need to test......

Leer más

Deleting documents in SOLR

avatar
Cesar Capillas Apr 23, 2018
Zylk

Just a simple tip today for deleting documents in SOLR via REST API and post command. Consider that you have a collection called gettingstarted and some document with id 44C...

Leer más

Using schemaless mode and post command in SOLR

avatar
Cesar Capillas Apr 02, 2018
Zylk

In SOLR 6.6 the data_driven_scheme_configs configset is able to implement the features of the so-named Schemaless mode. This mode is a set of features that allow users to construct an effective schema by simply indexing sample data, without having to manually edit the schema. In the following examples, I'm using SOLR Cloud 6.6 setup and collection API. $ cd /opt/solr6/solr-6.6.0/ $ ./bin/solr create -c gettingstarted -shards 1 -replicationFactor 2 -p 8983 -d......

Leer más

SOLR client APIs

avatar
Cesar Capillas Mar 26, 2018
Zylk

In SOLR, you may find different client APIs for your favourite programming language such as Java, Python, Ruby, Perl or Javascript. Basically, client apps can reach Solr by creating HTTP requests and parsing the corresponding HTTP responses, encapsulating much of the work of sending requests and parsing responses, and making easier to write client applications. If you are a java programmer you will be confortable with SorlJ, while you can use pysolr or rsolr libs, for Python and Ruby......

Leer más

Using the editorial marker field in SOLR elevation component

avatar
Cesar Capillas Mar 15, 2018
Zylk

One of the nice features of SOLR is the ability for doing promoted or recommended searches. With this feature, you can basically use a kind of query (elevation query), that is able to elevate static searches configured by id. Use case example: Imagine that you have a popular Alfresco blog in your site, and you want that when searching for term "alfresco blog", your first or just a "recommended page" is the solutions page. In elevate.xml:

Leer más

Playing with SOLR Cloud and REST API

avatar
Cesar Capillas Mar 06, 2018
Zylk

Last days I've been involved in an enterprise search project based on Apache Nutch and Apache SOLR projects. As you probably know, SOLR is a powerful enterprise search and index engine with a powerful REST API, which exposes its features as query, index, delete, commit and optimize, and also including a very useful admin interface. Web applications developed in any programing language (such as Java, .NET, Python, or Ruby), can easily call this REST API and perform SOLR operations, which are......

Leer más

Analyzing Tomcat log access data with Docker ELK resources

avatar
Cesar Capillas Feb 09, 2018
Zylk

In last Alfresco Devcon, I presented some basic configuration for Alfresco monitoring with Elastic stack (ELK). A very nice automated setup for testing this configuration in ELK 6.1 is via the docker compose setup given in this github project: $ git clone https://github.com/deviantony/docker-elk $ cd docker-elk This is an opportunity of checking Elastic Stack new features in 6.1 version, for example the new Kibana homepage, some UI accesibility new features, the dashboard full screen mode,......

Leer más

Using Zeppelin for Alfresco Data Analysis

avatar
Cesar Capillas Jan 29, 2018
Zylk

Apache Zeppelin is an open web-based notebok that enables interactive data analytics, from data ingestion, data exploration, reporting and visualizations, until sharing or collaboration features. Interactive browser-based notebooks enable to be more productive by developing, organizing, executing, and sharing data code and visualizing results without referring to the command line. It supports programming languages such as Python, Scala, Hive, SparkSQL, shell or markdown, via Zeppelin language......

Leer más