Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Json imexport #19

Merged
merged 5 commits into from
May 2, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ ac_test_output/
target/
test-output/
.DS_Store
log_parser_output/
21 changes: 15 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ The basic method for using this library is, that you create a definition for you

![The Processes](diagrams/Log_Parser-Processes.png)

## Defining a Parsing

## Parse Definitions
In order to parse logs you need to define a ParseDefinition. A ParseDefinition contains a set of ordered ParseDefinition Entries. While parsing a line of logs, the LogParser will see if all entries can be found in the line of logs. If that is the case, the line is stored according to the definitions.

### Defining a Parsing
Each Parse Definition consists of :
- Title
- A set of entries
Expand All @@ -21,7 +25,10 @@ Each entry for a Parse Definition allows us to define:
- The start pattern of the string that will contain the value (null if in the start of a line)
- The end pattern of the string that will contain the value (null if in the end of a line)
- Case Sensitive search
- Is to be kept. In some cases we just need to find a line with certain particularities, but we don't actually want to store the value
- Is to be kept. In some cases we just need to find a line with certain particularities, but we don't actually want to store the value.

### Import and Export
You can import or store a Parse Definition to or from a JSON file.

## Using the Standard Method
By default each entry for your lag parsing will be stored as a Generic entry. This means that all values will be stored as Strings. Each entry will have a :
Expand All @@ -41,11 +48,13 @@ Below is a diagram representing the class structure:

## Release Notes
- 1.0.4 Snapshot
- #8 Added the filter function
- #13 Added copy constructors
- #13 Added a copy method in the StdLogEntry (#13)
- #6 We Can now import a definition from a JSON file. You can also export a ParseDefinition into a JSON file.
- #8 & #18 Added the filter function.
- #13 Added copy constructors.
- #13 Added a copy method in the StdLogEntry (#13).
- #14 Added a set method to LogData. This allows you to change a Log data given a key value and ParseDefinition entry title
- Renamed exception IncorrectParseDefinitionTitleException to IncorrectParseDefinitionException
- Renamed exception IncorrectParseDefinitionTitleException to IncorrectParseDefinitionException.
-
- 1.0.3
- Introduced the LogData Top Class. This encapsulates all results.
- Introduced the LogDataFactory
Expand Down
Binary file modified diagrams/Log_Parser-Classes.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified diagrams/Log_Parser-Processes.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion diagrams/Log_Parser.drawio
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<mxfile host="Electron" modified="2021-04-28T07:47:19.788Z" agent="5.0 (Macintosh; Intel Mac OS X 11_2_3) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/14.5.1 Chrome/89.0.4389.82 Electron/12.0.1 Safari/537.36" etag="R9LsTS7Kjvs_fmLlblDj" version="14.5.1" type="device" pages="2"><diagram id="GF7U1PxuMcIbTAeL1bwN" name="Classes">5VnbcpswEP0aZtqHZAABth99TTNxM5kmvaRvMsigiYxcIcd2v76SkbgYEseOiTNpXqxdiZV0dPasIAboz1YXDM6jrzRAxLDNYGWAgWHblmV64kd61qmnLS3pCBkO1KDccYv/IuU0lXeBA5SUBnJKCcfzstOncYx8XvJBxuiyPGxKSXnWOQxRxXHrQ1L1/sQBj9QuXDP3f0E4jHi2YdUzgf5DyOgiVvMZNhht/tLuGdSx1PgkggFdFlxgaIA+o5Snrdmqj4jEVsOWPjd6ojdbN0Mxf8kDACU/uovrS5ddTcetPhqvv12eqSiPkCwUHjeQJWiApjjGHNNYrZ2vNV6bHSMZ0zRAbxlhjm7n0Je9S8EQ4Yv4jAjLEs3qGvWEiHG0KrjUmi8QnSHO1mKI6vUUfIpe+lyW+VlZGuGocE76MajoEWaB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g25eu1BoX880JtV5Foaa3qtR6SniOGcWRl+i1Fhvx9Ss1YMuZsaud8AG83POtPkidtJ35yTCrv4OtF0hgf7KdeXCh+tqZe7KGFLjfeeQZXRgmyp5D2/+GOBJ8eW3M3KyXJiZ4LPPNpQe2Bc4usG8upu6eVWetuWJsVSzG7XZNtP9PMbbkp0hgn7Bt8vbPEL+yh+H9G/ry8Ocr+OOrPbnSFGDPtBb/RJTlkb3VAn2RYrk8sl0495N96vXGauUvtOyJl9o1gmHKb2qyNzfHagRTkxcCRfLWpxFKKd2OvMw5JlFMb6545FFkb4eRtjeMmqL03sxe8TtatVO6+PJRYWJVShe/LN3gW3wdes9frbH1qD38WFy9fMPIHF+VVEgczoL4zcITJQ6aq10lXrmYTFEYYC/inwM0jY/E1Q07MPgizCF23SQWymqpHB8xaUUkcEEuxuLSLVfYYhLrqQXWKCuwRg0FttR1uuo6BiMXUve38w44r9uc7/gw/3XYJkrzn+CB2/8A</diagram></mxfile>
<mxfile host="Electron" modified="2021-05-02T09:48:11.002Z" agent="5.0 (Macintosh; Intel Mac OS X 11_2_3) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/14.5.1 Chrome/89.0.4389.82 Electron/12.0.1 Safari/537.36" etag="AATw7p0fba_PmMM8O1gx" version="14.5.1" type="device" pages="2"><diagram id="GF7U1PxuMcIbTAeL1bwN" name="Classes">5Vlbc9sqEP41nul5SEZ3RY++5nSSdjwnaU9zXjpYwhITDC7CtZ1fX5BAF0uxEx8rzrR+MbugZfnY/Rahnj1cbK4ZWCafaARxzzKiTc8e9SzLNA1P/EnNNtdcSUkqYoYiNahU3KEnqJSG0q5QBNPaQE4p5mhZV4aUEBjymg4wRtf1YXOK67MuQQwbirsQ4Kb2XxTxRK3CNUr93xDFCS8WrHpmIHyMGV0RNV/PsifZL+9eAG1LjU8TENF1RWWPe/aQUcrz1mIzhFhiq2HLn5s801v4zSDhL3nAhunX/urzR5fdzG/9Ibzd/vPxQln5CfBK4TEFLIUjOEcEcUS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EPQrW1TzWy8qHWrdlPVMjlk/Cch9m4OfW+17H3MEisad9M///jNnMAbEqtSWVzVBhcSv65KvIQJmsJSXLefvcTB2ymP6yWA6CW2b29szUmI5YSzk3iDkzCVDjgJsQxa+JqsDGmnPhqsH6HyR4NAUqY+8keD4gL5bGzVtmOUllkyKI9ra+JK+QxlJSj5V/F8E1NzSNJm9ktm6Rve7OfiwM3/</diagram></mxfile>
11 changes: 11 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -331,5 +331,16 @@
<version>2.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.11.0</version>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>3.0.0</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ public LogData<GenericEntry> groupBy(String in_parseDefinitionEntryKey)
* @return a new LogDataObject containing only the filtered values
*
*/
public LogData<T> filter(Map<String, Object> in_filterKeyValues) {
public LogData<T> filterBy(Map<String, Object> in_filterKeyValues) {
LogData<T> lr_filteredLogData = new LogData<>();

for (String lt_logDataKey : this.getEntries().keySet()) {
Expand Down
19 changes: 19 additions & 0 deletions src/main/java/com/adobe/campaign/tests/logparser/LogParser.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/**
* MIT License
*
* © Copyright 2020 Adobe. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
package com.adobe.campaign.tests.logparser;

public abstract class LogParser {

public static final String OUTPUT_ROOT = "log_parser_output";
public static final String OUTPUT_DIR = OUTPUT_ROOT + "/" + "data";

}
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
import java.util.Set;
import java.util.stream.Collectors;

import com.fasterxml.jackson.annotation.JsonIgnore;

/**
* The main class for analyzing logs. It gathers a list of Pars Definiton
* Entries and allows for defining high level definitions of how the gathered
Expand All @@ -42,6 +44,10 @@ public class ParseDefinition {
protected static final String STD_DATA_FREQUENCE = "frequence";
protected static final String STD_DATA_KEY = "key";

public ParseDefinition() {
super();
}

/**
* The main constructor for the ParseDefiition
*
Expand All @@ -55,7 +61,7 @@ public ParseDefinition(String in_title) {
definitionEntries = new ArrayList<>();
keyOrder = new ArrayList<>();
}

public ParseDefinition(ParseDefinition in_oldParseDefinition) {
super();
this.title = in_oldParseDefinition.title;
Expand All @@ -72,8 +78,8 @@ public ParseDefinition(ParseDefinition in_oldParseDefinition) {
* Author : gandomi
*
* @param in_parseDefinitionEntry
* a {@link ParseDefinitionEntry} which represents a step in the rules for
* analyzing a line.
* a {@link ParseDefinitionEntry} which represents a step in the
* rules for analyzing a line.
*
*/
public void addEntry(ParseDefinitionEntry in_parseDefinitionEntry) {
Expand Down Expand Up @@ -198,9 +204,10 @@ public void defineKeys(List<ParseDefinitionEntry> in_keyOrderDefinitions) {
*/
public void defineKeys(ParseDefinitionEntry in_parseDefinitionAsKey) {
defineKeys(Arrays.asList(in_parseDefinitionAsKey));

}

@JsonIgnore
public String getPrintOutPadding() {
return printOutPadding;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
*/
package com.adobe.campaign.tests.logparser;

import com.fasterxml.jackson.annotation.JsonIgnore;

/**
* This class allows for the definition of one rule that allows you to extract
* one piece of data from a string.
Expand Down Expand Up @@ -192,6 +194,7 @@ public void setEndEOL() {
* null)
*
*/
@JsonIgnore
public boolean isEndEOL() {

return getEnd() == null;
Expand Down Expand Up @@ -232,6 +235,7 @@ public String fetchAppliedSensitivity(String in_string) {
* line. (I.e. if start is null)
*
*/
@JsonIgnore
public boolean isStartStartOfLine() {

return getStart() == null;
Expand Down
Loading