Skip to content
/ .. / .. /
CdrVerificationFtps










CdrVerificationFtps

CdrVerificationFtps contains configurations for finding and saving tickets used in online Verification.

Syntax

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
CdrVerificationFtps {
    <cdrLocation Identifier> {
        host                      = <String>
        port                      = <Number>
        user                      = <String>
        password                  = <String>
        remoteDirectories         = [<String>, ...]
        localDirectory            = <String>
        pollInterval              = <Number>
        pollIntervalUnit          = <String>
        pollTimeout               = <Number>
        pollTimeoutUnit           = <String>
        modifyTimeTolerance       = <Number>
        modifyTimeToleranceUnit   = <String>
        ignorePattern             = <String>
        isZipped                  = <Boolean>
        ticketFormat              = <String>
        searchCriterias           = [
            {
                type                    = <String>
                criteria                = <String>
                parentFolderNamePattern = <String>
            }
        ]
    }
    ...
}

  • cdrLocation - The name assigned to the configuration that holds the information about where from, how and which tickets will be selected and saved.

  • host - The location's IP address.

  • port - The port number pointing to the tickets' location.

  • username and password - The login credentials for the location.

  • remoteDirectories - Points to the remote directory where CDRs are stored.

  • localDirectory - Points to the local directory where CDRs will be saved to.

  • pollInterval - The number of time units that intaQt will wait after collecting the CDRs to finish querying them.

  • pollIntervalUnit - Defines the pollInterval time units. Must be one of: DAYS, HOURS, MINUTES, SECONDS, MILLISECONDS, MICROSECONDS, or NANOSECONDS.

  • pollTimeout - The amount of time to wait while querying the CDRs until a timeout occurs. This number should be larger than the pollInterval.

  • pollTimeoutUnit - Defines the pollTimeout time units. Must be one of: DAYS, HOURS, MINUTES, SECONDS, MILLISECONDS, MICROSECONDS or NANOSECONDS.

  • modifyTimeTolerance - The amount of time units that intaQt searches back in time for a test case's start.

  • modifyTimeToleranceUnit - Defines the modifyTimeTolerance time units. Must be one of: DAYS, HOURS, MINUTES, SECONDS, MILLISECONDS MICROSECONDS, or NANOSECONDS.

  • ignorePattern - Uses regular expression to exclude files. For example, to omit files ending with .han, the following ignorePattern should be used: ".*\.han$".

  • isZipped shows intaQt whether it has to unzip the CDRs before matching. The values can only be either true or false.

  • ticketFormat - The ticket format. This will be specified in the documentation that accompanies the tickets.

  • The searchCriterias block specifies additional search criteria. To leave undefined, enter [], e.g. searchCriterias: []

    • type - May be "Folder", which searches the remote directory (excluding sub-directories) or "DateFolder", which searches directories whose names match the given parameters in the next two lines.
    • criteria (Must be specified if using "DateFolder") - The time definition in stringToTime format. E.g. "now", "+1 day", "tomorrow" or "yesterday".
    • parentFolderNamePattern (Must be specified if using "DateFolder") - corresponds to the folder name pattern, e.g. "yyyyMM".

Example

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
CdrVerificationFtps {
    cdrloc1 {
        host                     = "192.168.1.1"
        port                     = 22
        user                     = "batman"
        password                 = "robin"
        remoteDirectories        = ["/billing/cdrs/"]
        localDirectory           =  "/Users/intact/"
        ignorePattern            = ".*\\.FIN$|^_TEMP_.*"
        pollInterval             = 5
        pollIntervalUnit         = "SECONDS"
        pollTimeout              = 22
        pollTimeoutUnit          = "SECONDS"
        modifyTimeTolerance      = 15
        modifyTimeToleranceUnit  = "MINUTES"
        isZipped                 = true
        ticketFormat             = "QITASC"
        searchCriterias          = [
            {
                type                    = "DateFolder"
                criteria                = "yesterday, today, tomorrow"
                parentFolderNamePattern = "yyyyMMdd"
            }
        ]
    }
    cdrloc2 {                      
        host                      = "192.168.1.1"
        port                      = 23
        user                      = "userABC"
        password                  = "pa$$"
        remoteDirectories         = ["/billing/cdrs/"]
        localDirectory            =  "/Users/intact/"
        ignorePattern             = ".*\\.FIN$|^_TEMP_.*"
        pollInterval              = 5
        pollIntervalUnit          = "SECONDS"
        pollTimeout               = 22
        pollTimeoutUnit           = "SECONDS"
        modifyTimeTolerance       = 15
        modifyTimeToleranceUnit   = "MINUTES"
        isZipped                  = false
        ticketFormat              = "QITASC"
        searchCriterias           = [
            {
                type                    = "DateFolder"
                criteria                = "yesterday, today, tomorrow"
                parentFolderNamePattern = "yyyyMMdd"
            }
        ]
    }
}