Ejemplo n.º 1
0
        public static void StaticWrite(DateTime instant, int duration, string url, string method, int espaceId, int tenantId,
                                       string executed_by, string errorId, string integrationLogId)
        {
            WebReferenceLog log = new WebReferenceLog();

            log.Write(instant, duration, url, method, espaceId, tenantId, executed_by, errorId, integrationLogId);
        }
Ejemplo n.º 2
0
        public WebReferenceLog(WebReferenceLog obj)
        {
            log = new WebReferenceLogDefinition();

            Instant          = obj.Instant;
            Duration         = obj.Duration;
            URL              = obj.URL;
            Method           = obj.Method;
            EspaceId         = obj.EspaceId;
            TenantId         = obj.TenantId;
            Executed_By      = obj.Executed_By;
            ErrorId          = obj.ErrorId;
            IntegrationLogId = obj.IntegrationLogId;
        }
Ejemplo n.º 3
0
        public IntegrationLog(WebReferenceLog obj)
        {
            log = new IntegrationLogDefinition();

            Id         = IntegrationLogDefinition.GenerateLogId();
            Instant    = obj.Instant;
            Duration   = obj.Duration;
            Source     = String.Empty;
            Endpoint   = obj.URL;
            Action     = obj.Method;
            Type       = String.Empty;
            EspaceId   = obj.EspaceId;
            TenantId   = obj.TenantId;
            ErrorId    = obj.ErrorId;
            ExecutedBy = obj.Executed_By;
            IsExpose   = false;
        }