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

Bump json from 20180130 to 20230227 in /backend #129

Open
wants to merge 120 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
120 commits
Select commit Hold shift + click to select a range
3551cc5
Hardcoded keystore pw. Changed starttls to ssl prop.
Jan 19, 2022
02cf554
Pull request #178: Hardcoded keystore pw.
Jan 19, 2022
f0b6dd5
Changed keystore password
Jan 19, 2022
ba91398
added property socketfactory fallback = true
Jan 19, 2022
e2c38ea
added property socketfactory fallback = true
Jan 19, 2022
4632b96
changed starttls to ssl
Jan 19, 2022
76dbbb8
changed ssl to starttls and added transport protocol smtp
Jan 19, 2022
556a622
session debug print
Jan 19, 2022
9a3c3fd
fixing
Jan 19, 2022
0e8fb71
delete keystore password
Jan 19, 2022
fda8cb5
added keystore password
Jan 19, 2022
19437e5
Removed changes
Jan 19, 2022
de8f585
Pull request #179: RIHAKB-1085
Jan 19, 2022
195d190
package.json edited online with Bitbucket
KristjanKruusRIA Jan 20, 2022
9fef596
Pull request #180: Mail
KristjanKruusRIA Jan 20, 2022
8e3cced
Changed email notification sending logic. System send emails separate
Jan 20, 2022
76a10eb
Pull request #181: Changed email notification sending logic.
Jan 24, 2022
75ebe74
Pull request #182: RIHAKB-1091
KristjanKruusRIA Jan 24, 2022
ef0262b
Added new logic to controller IssueController.getInfosystemIssue
Jan 28, 2022
0824fbb
Deleted unuseful import
Jan 28, 2022
cbf66b5
Pull request #184: RIHAKB-782
Jan 28, 2022
57bd3ea
Added CustomAuthenticationEntryPoint.class
Jan 28, 2022
7889c46
Pull request #185: Added CustomAuthenticationEntryPoint.class
Jan 28, 2022
b08bbce
Added description to forbidden status error.
Jan 28, 2022
728ea7c
Deleted useless imports
Jan 28, 2022
75c5c57
Pull request #186: Added description to forbidden status error.
Jan 28, 2022
f9561c1
Implemented storage-client to backend module. Fixed warnings
Feb 8, 2022
7cb28e8
Pull request #187: Implemented storage-client to backend module. Fixe…
Feb 14, 2022
b347035
Revert "Added E-ITS security standard. Refactored tests."
Feb 14, 2022
37b6101
Revert "Deleted Setup.java changes"
Feb 14, 2022
18df2f4
Revert "Added E-ITS"
Feb 14, 2022
0215802
Revert "Correct E-ITS security standard preview"
Feb 14, 2022
58605ee
Revert "Added E-ITS security standard preview"
Feb 14, 2022
921755f
Automatic merge from release -> develop
KristjanKruusRIA Feb 21, 2022
627d652
Pull request #188: Release 7.8
KristjanKruusRIA Feb 21, 2022
f91a93b
text fix
KristjanKruusRIA Mar 2, 2022
2f07f92
version up
KristjanKruusRIA Mar 15, 2022
389aae3
project version up
KristjanKruusRIA Mar 15, 2022
0a8db0f
Pull request #189: Release
KristjanKruusRIA Mar 21, 2022
4154ab9
test spinner
KristjanKruusRIA Mar 22, 2022
42d89d9
test
KristjanKruusRIA Mar 22, 2022
1d2961e
remove test
KristjanKruusRIA Mar 22, 2022
e4e420f
upgrade dependencies
KristjanKruusRIA Mar 22, 2022
5f258aa
typescript downgrade
KristjanKruusRIA Mar 22, 2022
94927c2
version up
KristjanKruusRIA Mar 22, 2022
2dd553f
typescript proper version
KristjanKruusRIA Mar 22, 2022
d2546c8
Revert "upgrade dependencies"
KristjanKruusRIA Mar 22, 2022
d914d03
dependency update
KristjanKruusRIA Mar 22, 2022
7cbb4ed
new yarn version
KristjanKruusRIA Mar 22, 2022
70b8f5e
added missing dependencies
KristjanKruusRIA Mar 22, 2022
b73aaf1
Fixed ngs-ui-switch dependency error
Apr 5, 2022
103a396
Upgraded all dependencies in frontend
Apr 5, 2022
4a8f356
Changed readme
Apr 5, 2022
d6b03b6
Downgraded bootstrap version
Apr 5, 2022
3d552dd
Upgraded bootstrap version. Fixed errors
Apr 6, 2022
9633d13
Removed z-index
Apr 7, 2022
9793837
Fixing css styles
Apr 8, 2022
ba4d6d2
Fixed standard system choosing css style
Apr 8, 2022
e11062f
Updated all backend dependencies
Apr 11, 2022
d366d6c
Removing deprecated annotation
Apr 12, 2022
7325661
Moved bean to another class
Apr 12, 2022
d939e2b
Updated spring boot version to 2.6.6
Apr 13, 2022
46a6d08
spring-boot-starter-parent 2.6.6
KristjanKruusRIA Apr 13, 2022
c14368e
Parandatud märksõnade stiilid.
May 2, 2022
84a3a37
Parandatud viga, mis tekkitas ngx-ui-switch
May 2, 2022
ea8a9ea
Parandatud tirvalisuse blokki stiilid. Vahetatud kõikide input'ite vä…
May 2, 2022
e80a5d6
CSS stiilide parandus
May 3, 2022
29e8c61
Pull request #190: RIHAKB-1100
KristjanKruusRIA May 5, 2022
640af74
Pull request #191: RIHAKB-1095
KristjanKruusRIA May 5, 2022
5811505
Parandatud selenium testid
May 5, 2022
fd7cf6f
README.md edited online with Bitbucket
KristjanKruusRIA May 6, 2022
2b92aed
ScenarioContext.java edited online with Bitbucket
KristjanKruusRIA May 6, 2022
e991eac
README.md edited online with Bitbucket
KristjanKruusRIA May 6, 2022
a7bc383
Pull request #192: RIHAKB-1095
KristjanKruusRIA May 6, 2022
99489dc
Parandatud CSS stiilid
May 6, 2022
e28134a
Pull request #193: RIHAKB-1095
KristjanKruusRIA May 6, 2022
b5a94e0
Parandatud CSS stiilid
May 6, 2022
def5299
Merge remote-tracking branch 'origin/develop' into RIHAKB-1095
May 6, 2022
ab08124
Pull request #194: RIHAKB-1095
May 9, 2022
25bf09d
fix float for new bootstrap version
KristjanKruusRIA May 9, 2022
6fd677b
Pull request #195: fix float for new bootstrap version
KristjanKruusRIA May 9, 2022
d24523c
float-end
KristjanKruusRIA May 9, 2022
68e54d4
Pull request #196: float-end
KristjanKruusRIA May 9, 2022
dcafb10
test
KristjanKruusRIA May 9, 2022
986cdd1
Pull request #197: test
KristjanKruusRIA May 9, 2022
d8a9063
Parandatud CSS stiilid
May 17, 2022
77d2d96
Parandatud CSS stiilid
May 17, 2022
68fd1b1
Pull request #198: RIHAKB-1095
KristjanKruusRIA May 17, 2022
73894f5
Pull request #199: RIHAKB-1100
KristjanKruusRIA May 25, 2022
49cfa0f
Revert "Pull request #199: RIHAKB-1100"
KristjanKruusRIA May 25, 2022
dd3ebb8
Automatic merge from release -> develop
KristjanKruusRIA May 25, 2022
1b07ad8
Pull request #201: RIHAKB-1095
KristjanKruusRIA May 25, 2022
9018253
Selenium test fix
Jun 2, 2022
79f1019
Pull request #203: RIHAKB-1095 Selenium test fix
Jun 2, 2022
7a4d314
Pull request #204: RIHAKB-1095
KristjanKruusRIA Jun 2, 2022
d69d920
Automatic merge from release -> develop
KristjanKruusRIA Jun 2, 2022
cf387c0
Fixing sonarqube errors
Jun 15, 2022
81c79fb
Fixing sonarqube errors
Jun 15, 2022
edc6044
Test
Jun 17, 2022
e761aec
Test fix
Jun 17, 2022
c91d88a
Test remove
Jun 17, 2022
70a0e99
Test remove fix
Jun 17, 2022
403b658
Test auditlog
Jun 17, 2022
9bc6293
Test auditlog
Jun 17, 2022
c67f85c
Tests
Jun 20, 2022
423c0fc
Check for Null Statement
Jun 27, 2022
11a92bd
Check for Null Statement
Jun 27, 2022
8e96fbd
Check for Null Statement
Jun 27, 2022
c8e24e4
Fixing sonarqube errors
Jun 27, 2022
f8a1dd9
Fixing sonarqube errors
Jun 27, 2022
832b246
Fixing sonarqube errors
Jun 27, 2022
a17caaf
Fixing sonarqube errors
Jun 27, 2022
7ef20ea
Pull request #206: RIHAKB-1101
Jun 28, 2022
5fda23b
Automatic merge from release -> develop
KristjanKruusRIA Jun 28, 2022
a2bb45e
Pull request #207: Develop
KristjanKruusRIA Jun 28, 2022
91f4953
version up
KristjanKruusRIA Jun 30, 2022
59946c6
version up
KristjanKruusRIA Jun 30, 2022
c7093e1
Pull request #208: Develop
KristjanKruusRIA Jun 30, 2022
6f4f0af
Pull request #209: Release 7.9
KristjanKruusRIA Jul 8, 2022
62fd416
Bump json from 20180130 to 20230227 in /backend
dependabot[bot] May 5, 2023
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
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ Additional parameters: <br>
<i>currently supported:</i> 'chrome', 'firefox' <br>
<i>default:</i> 'chrome' <br>
<b>url</b> - defines RIHA application URL<br>
<i>default:</i> 'https://riha-browser-ik.ci.kit' <br><br>
<i>default:</i> 'https://www.riha.ee' <br><br>
Running tests with additional parameters:<br>
`mvn test -DskipTests=false -Dbrowser=chrome -Durl=https://riha-browser-ik.ci.kit`
`mvn test -DskipTests=false -Dbrowser=chrome -Durl=https://www.riha.ee`




2 changes: 2 additions & 0 deletions autotest/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
`Run test`
mvn test -DskipTests=false -Dbrowser=chrome -Durl=https://www.riha.ee
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public class ScenarioContext {
public static final String CREATED_SYSTEM_NAME = "CREATED_SYSTEM_NAME";
public static final String CREATED_SYSTEM_SHORT_NAME = "CREATED_SYSTEM_SHORT_NAME";

public static final String DEFAULT_APP_URL = "https://riha-browser-ik.ci.kit";
public static final String DEFAULT_APP_URL = "https://www.riha.ee/Avaleht";

private final Map<String, String> context = new HashMap<>();

Expand Down
10 changes: 10 additions & 0 deletions autotest/src/main/java/ee/ria/riha/pages/BasePage.java
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,14 @@ public void rememberSystemNameAndShortName(String systemName, String shortName)
scenarioContext.saveToContext(ScenarioContext.CREATED_SYSTEM_NAME, systemName);
scenarioContext.saveToContext(ScenarioContext.CREATED_SYSTEM_SHORT_NAME, shortName);
}

public void scrollDown(){
JavascriptExecutor js = (JavascriptExecutor) driver;
js.executeScript("window.scrollTo(0, document.body.scrollHeight)");
}

public void scrollToElement(WebElement element){
JavascriptExecutor js = (JavascriptExecutor) driver;
js.executeScript("arguments[0].scrollIntoView();", element);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ public String getLastInfosystemDateClass() {
}

public boolean isPreviouslySavedSystemVisibleInTheFeedbackTable() {
wait.sleep(1000);
scrollToElement(lastInfosystem);
wait.sleep(1000);
wait.forElementToBeDisplayed(DISPLAY_ELEMENT_TIMEOUT, lastInfosystem, "lastInfosystem");
String savedShortName = scenarioContext.getFromContext(ScenarioContext.CREATED_SYSTEM_SHORT_NAME);
return savedShortName.trim().equalsIgnoreCase(lastInfosystem.getText().trim());
Expand Down
5 changes: 4 additions & 1 deletion autotest/src/main/java/ee/ria/riha/pages/HomePage.java
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public String getLoggedInUsersName() {

public void selectSecondOrganization() {
wait.forPresenceOfElements(25, By.xpath("/html/body/ngb-modal-window"), "modal");
modalContainer.findElement(By.cssSelector("tr:nth-child(2) > td")).click();
modalContainer.findElement(By.cssSelector("tr:nth-child(3) > td")).click();
wait.sleep(3000);
}

Expand Down Expand Up @@ -99,6 +99,9 @@ public void clickEvaluate() {
}

public void openSelectOrganizationDialog() {
wait.sleep(1000);
scrollToElement(selectOrganizationButton);
wait.sleep(1000);
wait.forElementToBeDisplayed(DISPLAY_ELEMENT_TIMEOUT, selectOrganizationButton, "selectOrganizationButton");
selectOrganizationButton.click();
}
Expand Down
35 changes: 31 additions & 4 deletions autotest/src/main/java/ee/ria/riha/pages/InfosystemPage.java
Original file line number Diff line number Diff line change
Expand Up @@ -183,14 +183,21 @@ public void clickOnTopic(String topic) {
public void clickEditButton() {
wait.forElementToBeDisplayed(DISPLAY_ELEMENT_TIMEOUT, editButton, "editButton");
editButton.click();
wait.sleep(2000);
}

public void clickEditLegalActsButton() {
wait.sleep(1000);
scrollToElement(editLegalActsButton);
wait.sleep(1000);
wait.forElementToBeDisplayed(DISPLAY_ELEMENT_TIMEOUT, editLegalActsButton, "editButton");
editLegalActsButton.click();
}

public void clickEditContactsButton() {
wait.sleep(1000);
scrollToElement(editContactsButton);
wait.sleep(1000);
wait.forElementToBeDisplayed(DISPLAY_ELEMENT_TIMEOUT, editContactsButton, "editContactsButton");
editContactsButton.click();
}
Expand All @@ -207,6 +214,9 @@ public void clickSelectDevelopmentStatus(boolean isActiveDevelopment) {
}

public void clickRequestFeedbackButton() {
wait.sleep(2000);
scrollToElement(feedbackRequestButton);
wait.sleep(1000);
wait.forElementToBeDisplayed(DISPLAY_ELEMENT_TIMEOUT, feedbackRequestButton, "feedback request button");
feedbackRequestButton.click();
wait.sleep(2000);
Expand Down Expand Up @@ -237,7 +247,7 @@ public String getOpenIssues() {

public void userClicksOnUploadNewFileButton() {
wait.forElementToBeDisplayed(DISPLAY_ELEMENT_TIMEOUT, modalContainer, "modalContainer");
modalContainer.findElement(By.cssSelector(".ml-2:nth-child(2)")).click();
modalContainer.findElement(By.cssSelector(".ms-2:nth-child(2)")).click();
}

public boolean isUploadedDateDisplayedOnTheLastUploadedDocument() {
Expand Down Expand Up @@ -302,11 +312,11 @@ public void userAddsFeedbackWithTypeAndComment(String type, String comment) {
modalContainer.findElement(By.name("commentText")).sendKeys(comment);

modalContainer.findElement(By.name("decisionType")).click();
wait.sleep(2000);
wait.sleep(3000);
new Select(modalContainer.findElement(By.name("decisionType"))).selectByVisibleText(type);

wait.sleep(2000);
modalContainer.findElement(By.cssSelector(".mx-2 > .btn")).click();
modalContainer.findElement(By.xpath("/html/body/ngb-modal-window/div/div/app-approver-feedback-details/section/div/form/div/div[2]/div[2]/div[2]/button")).click();

wait.sleep(2000);
modalContainer.findElement(By.cssSelector(".btn-secondary")).click();
Expand All @@ -328,6 +338,8 @@ public void createIssue(String title, String comment) {
public boolean isIssueSaved() {
String issueTitle = scenarioContext.getFromContext(ISSUE_TITLE);
wait.forPresenceOfElements(DISPLAY_ELEMENT_TIMEOUT, By.linkText(issueTitle), "linkTitle");
scrollToElement(driver.findElement(By.linkText(issueTitle)));
wait.sleep(2000);
driver.findElement(By.linkText(issueTitle)).click();

wait.forElementToBeDisplayed(DISPLAY_ELEMENT_TIMEOUT, modalContainer, "modalContainer");
Expand Down Expand Up @@ -365,6 +377,8 @@ public void clickSubmitFeedbackRequestButton() {
}

public void clickSaveButton() {
scrollDown();
wait.sleep(2000);
wait.forElementToBeDisplayed(DISPLAY_ELEMENT_TIMEOUT, saveButton, "saveButton");
saveButton.click();
}
Expand Down Expand Up @@ -423,16 +437,22 @@ public void enterNewTopic(String topic) {
}

public void removeTopic(String topic) {
scrollDown();
wait.sleep(1000);
wait.forElementToBeDisplayed(DISPLAY_ELEMENT_TIMEOUT, topicTagsContainer, "topicTagsContainer");
WebElement topicTag = topicTagsContainer.findElements(By.tagName("tag"))
.stream()
.filter(tag -> tag.findElement(By.tagName("div")).getAttribute("aria-label").equalsIgnoreCase(topic))
.findFirst()
.get();
topicTag.findElement(By.tagName("delete-icon")).click();
wait.sleep(1000);
}

public void clickEditDocumentationButton() {
wait.sleep(1000);
scrollToElement(editDocumentationButton);
wait.sleep(1000);
wait.forElementToBeDisplayed(DISPLAY_ELEMENT_TIMEOUT, editDocumentationButton, "editDocumentationButton");
editDocumentationButton.click();
}
Expand All @@ -444,6 +464,9 @@ public void clickOnAddNewDocumentationUrlButton() {
}

public void clickEditDataButton() {
wait.sleep(2000);
scrollToElement(editDataButton);
wait.sleep(1000);
wait.forElementToBeDisplayed(DISPLAY_ELEMENT_TIMEOUT, editDataButton, "editDataButton");
editDataButton.click();
}
Expand Down Expand Up @@ -480,7 +503,7 @@ public void uploadNewFileDocumentFile(String fileName) {
}

public boolean isUserCanEditLastUploadedDocument() {
modalContainer.findElement(By.cssSelector(".expandable-block:last-child .mr-1")).click();
modalContainer.findElement(By.cssSelector(".expandable-block:last-child .me-1")).click();
wait.sleep(1000);
boolean filenameInputVisible = modalContainer.findElement(By.cssSelector(".expandable-block:last-child .form-group:nth-child(1)")).isDisplayed();
modalContainer.findElement(By.cssSelector(".btn-success")).click();
Expand All @@ -497,6 +520,7 @@ public void enterNewLegalActInfo(String url, String title) {
modifiedSelectByValue(new Select(legalTypeSelect), "LEGAL_TYPE_STATUTE");
modalContainer.findElement(By.cssSelector(".col-12 > .btn")).click();
modalContainer.findElement(By.cssSelector(".btn-success")).click();
wait.sleep(1000);
}

public String getTechDocUrls() {
Expand Down Expand Up @@ -685,6 +709,9 @@ public void clickLogOut() {
}

public void clickFeedbackTopic(String topic) {
wait.sleep(1000);
scrollToElement(driver.findElement(By.linkText(topic)));
wait.sleep(2000);
wait.forPresenceOfElements(DISPLAY_ELEMENT_TIMEOUT, By.linkText(topic), "feedbackTopic");
driver.findElement(By.linkText(topic)).click();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ public void goToInfosystemPage(String infosystem) {
}

public void goToCreateNewInfosystemPage() {
wait.sleep(1000);
scrollToElement(createNewLink);
wait.sleep(1000);
wait.forElementToBeDisplayed(DISPLAY_ELEMENT_TIMEOUT, createNewLink, "createNewLink");
createNewLink.click();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Feature: Infosystems feedback requesting
Given User is logged in to "/" as "60001019906" using tel. number "00000766"
And HomePage: user opens 'my organization infosystems' page

Scenario: User can add contact to infosystem (RIHAKB-423)
Scenario: User can add relation to infosystem (RIHAKB-423)
Given MyInfosystemsPage: user select "riha-test" infosystem
When InfosytemPage: user clicks on 'Seosed süsteemidega' in the navigation bar
Then InfosystemPage: url will contain '/Infosüsteemid/Vaata/riha-test#seosed'
Expand Down
2 changes: 1 addition & 1 deletion autotest/src/test/resources/ee/ria/riha/HomePage.feature
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ Feature: Home page functionality

Scenario: End user can perform a search in RIHA navigation (RIHAKB-540)
Given HomePage: user clicks on the search bar and enters 'kontakt'
Then InfosytemsPage: the search bar still contains entered words 'kontakt' and url ends with '/Infosüsteemid?searchText=kontakt&sort=meta.update_timestamp&dir=DESC'
Then InfosytemsPage: the search bar still contains entered words 'kontakt' and url ends with '/Infosüsteemid?searchText=kontakt&sort=meta.update_timestamp&dir=DESC'
55 changes: 30 additions & 25 deletions backend/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,36 +47,19 @@
</dependency>

<!-- TARA integration related -->
<!-- ENDOF TARA integration related -->

<dependency>
<groupId>org.springframework.security.oauth.boot</groupId>
<artifactId>spring-security-oauth2-autoconfigure</artifactId>
<version>2.5.7</version>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-oauth2-client</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-oauth2-jose</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-oauth2-core</artifactId>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-oauth2-client</artifactId>
</dependency>
<!-- ENDOF TARA integration related -->

<dependency>
<groupId>ee.ria.riha</groupId>
<artifactId>browser-frontend</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>ee.ria.riha</groupId>
<artifactId>storage-client</artifactId>
<version>0.13.6</version>
</dependency>

<dependency>
<groupId>com.github.fge</groupId>
Expand All @@ -92,7 +75,7 @@
<dependency>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-ui</artifactId>
<version>1.5.12</version>
<version>1.6.6</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
Expand Down Expand Up @@ -120,6 +103,27 @@
<artifactId>logstash-logback-encoder</artifactId>
<version>7.0</version>
</dependency>
<dependency>
<groupId>org.json</groupId>
<artifactId>json</artifactId>
<version>20230227</version>
</dependency>

<!-- Storage-client -->

<dependency>
<groupId>com.fasterxml.jackson.jaxrs</groupId>
<artifactId>jackson-jaxrs-json-provider</artifactId>
</dependency>
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-boot-starter</artifactId>
<version>3.0.0</version>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</dependency>
</dependencies>

<build>
Expand Down Expand Up @@ -161,10 +165,11 @@
<artifactId>maven-failsafe-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<skip>true</skip>
<forceJavacCompilerUse>true</forceJavacCompilerUse>
</configuration>
</plugin>
</plugins>
Expand Down
23 changes: 23 additions & 0 deletions backend/src/main/java/ee/ria/riha/client/OperationType.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
package ee.ria.riha.client;

/**
* @author Valentin Suhnjov
*/
public enum OperationType {
GET("get"),
PUT("put"),
POST("post"),
DELETE("delete"),
COUNT("count");

private final String value;

OperationType(String value) {
this.value = value;
}

public String getValue() {
return value;
}

}
Loading