Untitled
unknown
java
2 years ago
8.7 kB
14
Indexable
/*--------------------------------------------------------------------------- $Id:$ --------------------------------------------------------------------------- (c) 2011 ---------------------------------------------------------------------------*/ objmodel [email protected] { import [email protected]; /** * Konkrétne nastvenie LOG-ovania * not implemented.. */ struct TypeAggrCfgTraceLine { boolean AttrBoolCFGEnableLine { init = true; } //string AttrStrCfgTraceClassPath ; TypeEnumComp AttrEnumCFGKomponenta; TypeEnumCat AttrEnumCFGCategory; TypeEnumCat2 AttrEnumCFGCategory2; TypeEnumCat3 AttrEnumCFGCategory3; boolean AttrBoolCfgTraceFncInOut { init = true; } boolean AttrBoolCfgTraceDataIn { init = true; } boolean AttrBoolCfgTraceDataOut { init = true; } boolean AttrBoolCfgTraceProgress { init = true; } boolean AttrBoolCfgTraceDetail { init = true; } boolean AttrBoolCfgTraceStep { init = true; } boolean AttrBoolCfgTraceException { init = true; } } extend class [email protected]:CurrentDomain { ObjClassEventAuditConfig AttrPtrEventAuditConfig { allow { ObjClassEventAuditConfig create; } } } /** * Konfigurácia auditu udalostí */ class<[email protected]:CompoundObjectClass> ObjClassEventAuditConfig : [email protected]:CompoundObject { compound = false; TypeEnumEventAuditLevel AttrEnumEventAuditLevel not null { init = EnumEventAuditLevelBasic; } boolean AttrBoolXMLLogEnable; string AttrStrEventAuditTempPath; boolean AttrBoolDateSubdirectory { init = true; } boolean AttrBoolLogViewerEnable; string AttrStrDBHost; string(50) AttrStrDBUserName ; string AttrStrDBPassword ; string AttrStrLogViewPortalURL; TypeEnumDestLogStorage AttrEnumDestLogStorage not null { init = EnumDestLogStorageNonPersistent; } integer AttrIntMQTimeout; boolean AttrBoolUseFailover; integer AttrIntInitialReconectDelay; integer AttrIntStartupReconectAttempts; integer AttrIntMaxReconectDelay; integer AttrIntMaxReconectAttempts; boolean AttrBoolBackupConnection; boolean AttrBoolRandomReconnect; string AttrStrLogBrowserBackupPath; string[] AttrStrRecoveryPaths; boolean AttrBoolElasticEnable; //Elastic TypeAggrCfgTraceLine[] AttrAggrCfgTraceLine { set = ActReloadCfgTraceLines; } string AttrStrHTMLOddelovacFiles readonly(ui) { [email protected]:attrrepresentation<[email protected]:uiaction,[email protected]:controlargument,[email protected]:uienviron> = {{CTRLText, "HTMLStringDef=true", UIENV_XML}} value = expression { string @ret="<table width='100%' bgcolor=#7092BE><tr><td><FONT color=white><CENTER><B>Logovanie do XML na disk</B></CENTER></font></td></tr></table>"; @ret } get = AttrValueExprGet; } string AttrStrHTMLOddelovacAMQConnect readonly(ui) { [email protected]:attrrepresentation<[email protected]:uiaction,[email protected]:controlargument,[email protected]:uienviron> = {{CTRLText, "HTMLStringDef=true", UIENV_XML}} value = expression { string @ret="<table width='100%' bgcolor=#7092BE><tr><td><FONT color=white><CENTER><B>ActiveMQ pripojenie</B></CENTER></font></td></tr></table>"; @ret } get = AttrValueExprGet; } string AttrStrHTMLOddelovacAMQConfig readonly(ui) { [email protected]:attrrepresentation<[email protected]:uiaction,[email protected]:controlargument,[email protected]:uienviron> = {{CTRLText, "HTMLStringDef=true", UIENV_XML}} value = expression { string @ret="<table width='100%' bgcolor=#7092BE><tr><td><FONT color=white><CENTER><B>ActiveMQ konfigurácia</B></CENTER></font></td></tr></table>"; @ret } get = AttrValueExprGet; } string AttrStrHTMLOddelovacAMQBackup readonly(ui) { [email protected]:attrrepresentation<[email protected]:uiaction,[email protected]:controlargument,[email protected]:uienviron> = {{CTRLText, "HTMLStringDef=true", UIENV_XML}} value = expression { string @ret="<table width='100%' bgcolor=#7092BE><tr><td><FONT color=white><CENTER><B>ActiveMQ lokálna záloha</B></CENTER></font></td></tr></table>"; @ret } get = AttrValueExprGet; } // Elastic string AttrStrHTMLOddelovacElasticsearch readonly(ui) { [email protected]:attrrepresentation<[email protected]:uiaction,[email protected]:controlargument,[email protected]:uienviron> = {{CTRLText, "HTMLStringDef=true", UIENV_XML}} value = expression { string @ret="<table width='100%' bgcolor=#7092BE><tr><td><FONT color=white><CENTER><B>Elasticsearch</B></CENTER></font></td></tr></table>"; @ret } get = AttrValueExprGet; } } /** * ObjClassCategoryGroup */ class<[email protected]:ObjectClass> ObjClassCategoryGroup : [email protected]:Object { compound = true; integer AttrIntCategoryCode; unique ObjClassCategoryGroup[] AttrPtrCatSubGroups; } instance [email protected]:Prototype TracePrototype { protoparameters<actparname, actpartype, actparmod, actparoptional, actparmultiple> = { { "category", // [email protected]:actparname INTEGER, // [email protected]:actpartype PARMOD_IN, // [email protected]:actparmod false, // [email protected]:actparoptional false // [email protected]:actparmultiple }, { "granularity", // [email protected]:actparname INTEGER, // [email protected]:actpartype PARMOD_IN, // [email protected]:actparmod false, // [email protected]:actparoptional false // [email protected]:actparmultiple }, { "caption", // [email protected]:actparname STRING, // [email protected]:actpartype PARMOD_IN, // [email protected]:actparmod false, // [email protected]:actparoptional false // [email protected]:actparmultiple } } } instance [email protected]:Prototype TraceValuePrototype { protoparameters<actparname, actpartype, actparmod, actparoptional, actparmultiple> = { { "category", // [email protected]:actparname INTEGER, // [email protected]:actpartype PARMOD_IN, // [email protected]:actparmod false, // [email protected]:actparoptional false // [email protected]:actparmultiple }, { "granularity", // [email protected]:actparname INTEGER, // [email protected]:actpartype PARMOD_IN, // [email protected]:actparmod false, // [email protected]:actparoptional false // [email protected]:actparmultiple }, { "caption", // [email protected]:actparname STRING, // [email protected]:actpartype PARMOD_IN, // [email protected]:actparmod false, // [email protected]:actparoptional false // [email protected]:actparmultiple }, { "value", // [email protected]:actparname null, // [email protected]:actpartype PARMOD_IN, // [email protected]:actparmod true, // [email protected]:actparoptional false // [email protected]:actparmultiple } } } // widget aggr struct TypeAggrWidget { string[] AttrStrSourceData; string[] AttrStrResultData; string AttrStrAuditLogID; string AttrStrMessageID; string AttrStrReferenceID; string AttrStrCorrelationID; TypeEnumEventLogLevel AttrEnumLogLevel; string AttrStrModulName; string AttrStrMethodName; string AttrStrUseCase; string AttrStrSourceSystem; string AttrStrExternalUser; string AttrStrCallTime; string AttrStrProgress; string AttrStrResultCode; string AttrStrResultDescription; string AttrStrDescription; } // Class for aggregate extend class Object { string AttrStrSearchText { weight = expression { return [email protected]:HighlightType(HIGHLIGHTTYPE_SEARCH_TEXT); } } TypeAggrWidget[] AttrAggrSearchLines; //vyhladane riadky agregatu TypeAggrWidget[] AttrAggrResultLines readonly(ui) { [email protected]:attrmenu = MenuRootSearchResult; } // zobrazovane riadky agregatu //string SearchDataName; } }
Editor is loading...
Leave a Comment