Skip to content

Instantly share code, notes, and snippets.

http://drive.zzircon.com/index.php/s/Y4GbnzAdceXsWut
@ruria
ruria / gist:cd33b34a971f7c2bdf55c6da42776a03
Created March 22, 2018 21:13
.monitoring-es* mapping
{
".monitoring-es-6-2018.03.22": {
"mappings": {
"doc": {
"dynamic": "false",
"date_detection": false,
"properties": {
"cluster_state": {
"properties": {
"master_node": {
@ruria
ruria / myService.js
Last active August 29, 2015 14:21
myService.js
define(["dojo/_base/declare",
"alfresco/core/Core",
"dojo/_base/lang",
"alfresco/core/CoreXhr",
"service/constants/Default"],
function (declare, Core, lang, CoreXhr, AlfConstants) {
return declare([Core, CoreXhr], {
constructor: function myService__constructor(args) {
model.jsonModel = {
services: [
"alfresco/services/NavigationService",
"alfresco/services/LogoutService",
"alfresco/services/DocumentService",
"alfresco/services/ActionService",
"alfresco/services/UploadService",
"myService/myService",
{
name: "alfresco/services/LoggingService",