Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
bp_custom
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mikhail Gashenko
bp_custom
Commits
a91e1e7d
Commit
a91e1e7d
authored
Jan 28, 2017
by
Mikhail Gashenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
JsonNode: (draft4) new node value search and update with ObjectMapper
parent
f58d6c80
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
192 additions
and
107 deletions
+192
-107
.gitignore
.gitignore
+2
-0
pom.xml
pom.xml
+113
-107
AsNode.java
src/main/java/kz/arta/synergy/astdev/custom_bp/AsNode.java
+77
-0
Main.java
src/main/java/kz/arta/synergy/astdev/custom_bp/Main.java
+0
-0
No files found.
.gitignore
0 → 100644
View file @
a91e1e7d
/target/
\ No newline at end of file
pom.xml
View file @
a91e1e7d
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
<modelVersion>
4.0.0
</modelVersion>
<modelVersion>
4.0.0
</modelVersion>
<groupId>
kz.arta.synergy.astdev
</groupId>
<groupId>
kz.arta.synergy.astdev
</groupId>
<artifactId>
custom_bp
</artifactId>
<artifactId>
custom_bp
</artifactId>
<version>
1.0-SNAPSHOT
</version>
<version>
1.0-SNAPSHOT
</version>
<packaging>
war
</packaging>
<packaging>
war
</packaging>
<name>
custom_bp
</name>
<name>
custom_bp
</name>
<properties>
<properties>
<endorsed.dir>
${project.build.directory}/endorsed
</endorsed.dir>
<endorsed.dir>
${project.build.directory}/endorsed
</endorsed.dir>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
</properties>
</properties>
<dependencies>
<dependencies>
<dependency>
<dependency>
<groupId>
org.slf4j
</groupId>
<groupId>
org.slf4j
</groupId>
<artifactId>
slf4j-api
</artifactId>
<artifactId>
slf4j-api
</artifactId>
<version>
1.5.6
</version>
<version>
1.5.6
</version>
<type>
jar
</type>
<type>
jar
</type>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
com.fasterxml.jackson.core
</groupId>
<groupId>
com.fasterxml.jackson.core
</groupId>
<artifactId>
jackson-core
</artifactId>
<artifactId>
jackson-core
</artifactId>
<version>
2.8.5
</version>
<version>
2.8.5
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
javax.jms
</groupId>
<groupId>
javax.jms
</groupId>
<artifactId>
jms-api
</artifactId>
<artifactId>
jms-api
</artifactId>
<version>
1.1-rev-1
</version>
<version>
1.1-rev-1
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
org.codehaus.jackson
</groupId>
<groupId>
org.codehaus.jackson
</groupId>
<artifactId>
jackson-mapper-asl
</artifactId>
<artifactId>
jackson-mapper-asl
</artifactId>
<version>
1.9.10
</version>
<version>
1.9.10
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
javax
</groupId>
<groupId>
org.codehaus.jackson
</groupId>
<artifactId>
javaee-web-api
</artifactId>
<artifactId>
jackson-core-asl
</artifactId>
<version>
6.0
</version>
<version>
1.9.13
</version>
<scope>
provided
</scope>
<type>
jar
</type>
</dependency>
</dependency>
</dependencies>
<dependency>
<groupId>
javax
</groupId>
<build>
<artifactId>
javaee-web-api
</artifactId>
<plugins>
<version>
6.0
</version>
<plugin>
<scope>
provided
</scope>
<groupId>
org.apache.maven.plugins
</groupId>
</dependency>
<artifactId>
maven-compiler-plugin
</artifactId>
</dependencies>
<version>
2.3.2
</version>
<configuration>
<build>
<source>
1.7
</source>
<plugins>
<target>
1.7
</target>
<plugin>
<compilerArguments>
<groupId>
org.apache.maven.plugins
</groupId>
<endorseddirs>
${endorsed.dir}
</endorseddirs>
<artifactId>
maven-compiler-plugin
</artifactId>
</compilerArguments>
<version>
2.3.2
</version>
</configuration>
<configuration>
</plugin>
<source>
1.7
</source>
<plugin>
<target>
1.7
</target>
<groupId>
org.apache.maven.plugins
</groupId>
<compilerArguments>
<artifactId>
maven-war-plugin
</artifactId>
<endorseddirs>
${endorsed.dir}
</endorseddirs>
<version>
2.1.1
</version>
</compilerArguments>
<configuration>
</configuration>
<failOnMissingWebXml>
false
</failOnMissingWebXml>
</plugin>
</configuration>
<plugin>
</plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<plugin>
<artifactId>
maven-war-plugin
</artifactId>
<groupId>
org.apache.maven.plugins
</groupId>
<version>
2.1.1
</version>
<artifactId>
maven-dependency-plugin
</artifactId>
<configuration>
<version>
2.1
</version>
<failOnMissingWebXml>
false
</failOnMissingWebXml>
<executions>
</configuration>
<execution>
</plugin>
<phase>
validate
</phase>
<plugin>
<goals>
<groupId>
org.apache.maven.plugins
</groupId>
<goal>
copy
</goal>
<artifactId>
maven-dependency-plugin
</artifactId>
</goals>
<version>
2.1
</version>
<configuration>
<executions>
<outputDirectory>
${endorsed.dir}
</outputDirectory>
<execution>
<silent>
true
</silent>
<phase>
validate
</phase>
<artifactItems>
<goals>
<artifactItem>
<goal>
copy
</goal>
<groupId>
javax
</groupId>
</goals>
<artifactId>
javaee-endorsed-api
</artifactId>
<configuration>
<version>
6.0
</version>
<outputDirectory>
${endorsed.dir}
</outputDirectory>
<type>
jar
</type>
<silent>
true
</silent>
</artifactItem>
<artifactItems>
</artifactItems>
<artifactItem>
</configuration>
<groupId>
javax
</groupId>
</execution>
<artifactId>
javaee-endorsed-api
</artifactId>
</executions>
<version>
6.0
</version>
</plugin>
<type>
jar
</type>
</plugins>
</artifactItem>
</build>
</artifactItems>
<reporting>
</configuration>
<plugins>
</execution>
<plugin>
</executions>
<groupId>
org.apache.maven.plugins
</groupId>
</plugin>
<artifactId>
maven-checkstyle-plugin
</artifactId>
</plugins>
<configuration>
</build>
<configLocation>
config/sun_checks.xml
</configLocation>
<reporting>
</configuration>
<plugins>
</plugin>
<plugin>
</plugins>
<groupId>
org.apache.maven.plugins
</groupId>
</reporting>
<artifactId>
maven-checkstyle-plugin
</artifactId>
</project>
<configuration>
<configLocation>
config/sun_checks.xml
</configLocation>
</configuration>
</plugin>
</plugins>
</reporting>
</project>
src/main/java/kz/arta/synergy/astdev/custom_bp/AsNode.java
0 → 100644
View file @
a91e1e7d
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package
kz
.
arta
.
synergy
.
astdev
.
custom_bp
;
import
java.util.List
;
import
org.codehaus.jackson.annotate.JsonProperty
;
/**
*
* @author drpsy
*/
public
class
AsNode
{
@JsonProperty
(
"id"
)
private
String
id
;
@JsonProperty
(
"type"
)
private
String
type
;
@JsonProperty
(
"label"
)
private
String
label
;
@JsonProperty
(
"key"
)
private
String
key
;
@JsonProperty
(
"value"
)
private
String
value
;
@JsonProperty
(
"data"
)
private
List
<
AsNode
>
data
;
public
String
getId
()
{
return
id
;
}
public
void
setId
(
String
id
)
{
this
.
id
=
id
;
}
public
String
getType
()
{
return
type
;
}
public
void
setType
(
String
type
)
{
this
.
type
=
type
;
}
public
String
getLabel
()
{
return
label
;
}
public
void
setLabel
(
String
label
)
{
this
.
label
=
label
;
}
public
String
getKey
()
{
return
key
;
}
public
void
setKey
(
String
key
)
{
this
.
key
=
key
;
}
public
String
getValue
()
{
return
value
;
}
public
void
setValue
(
String
value
)
{
this
.
value
=
value
;
}
public
List
<
AsNode
>
getData
()
{
return
data
;
}
public
void
setData
(
List
<
AsNode
>
data
)
{
this
.
data
=
data
;
}
}
src/main/java/kz/arta/synergy/astdev/custom_bp/Main.java
View file @
a91e1e7d
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment