This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "personTypeId": 1, | |
| "citizenCountryId": 25465, | |
| "genderTypeId": 2, | |
| "marriedTypeId": 2, | |
| "begDate": "2014-01-01", | |
| "endDate": "2015-01-01", | |
| "firstName": "firstname", | |
| "surname": "surname", | |
| "fatherName": "father name1", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <databaseChangeLog | |
| xmlns="http://www.liquibase.org/xml/ns/dbchangelog/1.6" | |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog/1.6 | |
| http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-1.6.xsd"> | |
| <changeSet id="creating_table_example" author="ivanursul"> | |
| <createTable tableName="table_example"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0"?> | |
| <project | |
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" | |
| xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
| <modelVersion>4.0.0</modelVersion> | |
| <groupId>is-lnu-migrations</groupId> | |
| <artifactId>is-lnu-migrations</artifactId> | |
| <name>is-lnu-migrations</name> | |
| <url>http://maven.apache.org</url> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <databaseChangeLog | |
| xmlns="http://www.liquibase.org/xml/ns/dbchangelog/1.6" | |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog/1.6 | |
| http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-1.6.xsd"> | |
| <changeSet id="creating_tableA" author="ivanursul"> | |
| <createTable tableName="tableA"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <databaseChangeLog | |
| xmlns="http://www.liquibase.org/xml/ns/dbchangelog/1.6" | |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog/1.6 | |
| http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-1.6.xsd"> | |
| <changeSet id="creating_tableA" author="ivanursul"> | |
| <createTable tableName="tableA"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <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/maven-v4_0_0.xsd"> | |
| <modelVersion>4.0.0</modelVersion> | |
| <groupId>org.ivanursul.spark</groupId> | |
| <artifactId>spark-example</artifactId> | |
| <packaging>jar</packaging> | |
| <version>1.0-SNAPSHOT</version> | |
| <name>spark-example</name> | |
| <url>http://maven.apache.org</url> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package org.ivanursul.spark.dto; | |
| public class Person { | |
| private Long id; | |
| private String name; | |
| private Integer age; | |
| public Long getId() { | |
| return id; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package org.ivanursul.spark; | |
| import static spark.Spark.delete; | |
| import static spark.Spark.get; | |
| import static spark.Spark.post; | |
| import static spark.Spark.put; | |
| import java.util.HashMap; | |
| import java.util.Map; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package org.lnu.is.integration.address.types | |
| import io.gatling.core.Predef.checkBuilder2Check | |
| import io.gatling.core.Predef.findCheckBuilder2ValidatorCheckBuilder | |
| import io.gatling.core.Predef.jsonFile | |
| import io.gatling.core.Predef.scenario | |
| import io.gatling.core.Predef.stringToExpression | |
| import io.gatling.core.json.Jackson | |
| import io.gatling.http.Predef.bodyString | |
| import io.gatling.http.Predef.http |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package org.lnu.is.integration.address.types | |
| import scala.io.Source | |
| import io.gatling.core.Predef.checkBuilder2Check | |
| import io.gatling.core.Predef.findCheckBuilder2ValidatorCheckBuilder | |
| import io.gatling.core.Predef.scenario | |
| import io.gatling.core.Predef.stringToExpression | |
| import io.gatling.http.Predef.bodyString | |
| import io.gatling.http.Predef.http | |
| import io.gatling.http.request.builder.HttpRequestBuilder.toActionBuilder |