Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Open Subsurface Data Universe Software
Platform
Data Flow
Data Enrichment
wks
Commits
9e1450b6
Commit
9e1450b6
authored
Jun 17, 2021
by
RPrakash3
Browse files
fix for instance creation
parent
2d601ea1
Pipeline
#46707
passed with stages
in 36 minutes and 29 seconds
Changes
4
Pipelines
4
Hide whitespace changes
Inline
Side-by-side
testing/wks-test-core/src/test/java/org/opengroup/osdu/wks/model/WksIntegrationTestScope.java
View file @
9e1450b6
...
...
@@ -15,8 +15,7 @@ import org.opengroup.osdu.wks.util.AuthUtil;
@ScenarioScoped
public
class
WksIntegrationTestScope
{
@Inject
private
FileUtils
fileUtils
;
private
FileUtils
fileUtils
=
new
FileUtils
();
private
String
token
;
private
String
inputPayload
;
...
...
testing/wks-test-core/src/test/java/org/opengroup/osdu/wks/stepdefs/NegativeTestStepDefs.java
View file @
9e1450b6
...
...
@@ -7,7 +7,6 @@ import static org.junit.Assert.assertEquals;
import
static
org
.
junit
.
Assert
.
assertTrue
;
import
org.opengroup.osdu.wks.model.AutomationConstants
;
import
org.opengroup.osdu.wks.model.WksIntegrationTestScope
;
import
com.google.inject.Inject
;
import
io.cucumber.java8.En
;
...
...
@@ -18,7 +17,6 @@ public class NegativeTestStepDefs implements En {
CommonMethods
commonMethods
=
new
CommonMethods
();
public
WksIntegrationTestScope
context
=
commonMethods
.
getContext
();
@Inject
public
NegativeTestStepDefs
()
{
Given
(
"I hit Storage service put end point with {string} which is already a WKS record"
,
(
String
inputPayload
)
->
{
...
...
testing/wks-test-core/src/test/java/org/opengroup/osdu/wks/stepdefs/PreIntegrationStepDefs.java
View file @
9e1450b6
...
...
@@ -5,8 +5,6 @@ import java.util.logging.Logger;
import
org.opengroup.osdu.wks.model.WksIntegrationTestScope
;
import
com.google.inject.Inject
;
import
io.cucumber.java8.En
;
import
io.cucumber.datatable.DataTable
;
...
...
@@ -17,7 +15,6 @@ public class PreIntegrationStepDefs implements En {
CommonMethods
commonMethods
=
new
CommonMethods
();
public
WksIntegrationTestScope
context
=
commonMethods
.
getContext
();
@Inject
public
PreIntegrationStepDefs
()
{
Given
(
"I create below source schemas used in Mapping files used for IT test"
,
(
DataTable
sourceSchemaPaths
)
->
{
...
...
testing/wks-test-core/src/test/java/org/opengroup/osdu/wks/stepdefs/RelationshipBlockTestStepDefs.java
View file @
9e1450b6
...
...
@@ -11,7 +11,6 @@ import static org.junit.Assert.assertTrue;
import
org.opengroup.osdu.wks.model.AutomationConstants
;
import
org.opengroup.osdu.wks.model.WksIntegrationTestScope
;
import
com.google.inject.Inject
;
import
io.cucumber.java8.En
;
public
class
RelationshipBlockTestStepDefs
implements
En
{
...
...
@@ -21,7 +20,6 @@ public class RelationshipBlockTestStepDefs implements En {
CommonMethods
commonMethods
=
new
CommonMethods
();
public
WksIntegrationTestScope
context
=
commonMethods
.
getContext
();
@Inject
public
RelationshipBlockTestStepDefs
()
{
Given
(
"I hit Storage service put end point with {string} to persist a record say raw1"
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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