Skip to content

Commit

Permalink
Fixing warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
ndkhanh-axonivy committed Dec 12, 2024
1 parent 63a4ac0 commit 30b6fb9
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 46 deletions.
7 changes: 0 additions & 7 deletions sbb-connector-demo/config/variables.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,2 @@
# yaml-language-server: $schema=https://json-schema.axonivy.com/app/12.0.0/variables.json
Variables:
sbbConnector:
uri: https://b2p.app.sbb.ch
contractId: DEMO
clientId: DEMO
clientSecret: DEMO
tokenEndpoint: DEMO
scope: DEMO
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,10 @@
"fields" : [ {
"name" : "getTripsDataIn",
"type" : "com.axonivy.connector.sbb.trip.GetTripsDataIn",
"comment" : "Argument for subprocess GetTrips.",
"modifiers" : [ "PERSISTENT" ]
"comment" : "Argument for subprocess GetTrips."
}, {
"name" : "trips",
"type" : "List<ch.sbb.app.b2p.client.Trip>",
"comment" : "Return value for subprocess GetTrips.",
"modifiers" : [ "PERSISTENT" ]
"comment" : "Return value for subprocess GetTrips."
} ]
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,47 +6,38 @@
"fields" : [ {
"name" : "getLocationsDataIn",
"type" : "com.axonivy.connector.sbb.location.GetLocationsDataIn",
"comment" : "Argument for subprocess GetLocations.",
"modifiers" : [ "PERSISTENT" ]
"comment" : "Argument for subprocess GetLocations."
}, {
"name" : "locations",
"type" : "List<ch.sbb.app.b2p.client.Location>",
"comment" : "Return value of subprocess GetLocations.",
"modifiers" : [ "PERSISTENT" ]
"comment" : "Return value of subprocess GetLocations."
}, {
"name" : "locationNames",
"type" : "List<String>",
"comment" : "List of Location names returned by subprocess GetLocations. Used for autocomplete dropdown menu of input fields From and To.",
"modifiers" : [ "PERSISTENT" ]
"comment" : "List of Location names returned by subprocess GetLocations. Used for autocomplete dropdown menu of input fields From and To."
}, {
"name" : "locationFrom",
"type" : "ch.sbb.app.b2p.client.Location",
"comment" : "Selected Location from autocomplete dropdown menu of input field From.",
"modifiers" : [ "PERSISTENT" ]
"comment" : "Selected Location from autocomplete dropdown menu of input field From."
}, {
"name" : "locationTo",
"type" : "ch.sbb.app.b2p.client.Location",
"comment" : "Selected Location from autocomplete dropdown menu of input field To.",
"modifiers" : [ "PERSISTENT" ]
"comment" : "Selected Location from autocomplete dropdown menu of input field To."
}, {
"name" : "selectEvent",
"type" : "org.primefaces.event.SelectEvent",
"comment" : "Event triggered by selection of Location name in autocomplete dropdown menu to set locationFrom or locationTo.",
"modifiers" : [ "PERSISTENT" ]
"comment" : "Event triggered by selection of Location name in autocomplete dropdown menu to set locationFrom or locationTo."
}, {
"name" : "time",
"type" : "Time",
"comment" : "Content of input field Time.",
"modifiers" : [ "PERSISTENT" ]
"comment" : "Content of input field Time."
}, {
"name" : "arrival",
"type" : "Boolean",
"comment" : "Flag to determine whether to search for earliest departure or latest arrival at given date and time. False: Earliest departure; True: Latest arrival",
"modifiers" : [ "PERSISTENT" ]
"comment" : "Flag to determine whether to search for earliest departure or latest arrival at given date and time. False: Earliest departure; True: Latest arrival"
}, {
"name" : "getTripsDataIn",
"type" : "com.axonivy.connector.sbb.trip.GetTripsDataIn",
"comment" : "Argument for subprocess GetTrips.",
"modifiers" : [ "PERSISTENT" ]
"comment" : "Argument for subprocess GetTrips."
} ]
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,10 @@
"fields" : [ {
"name" : "trips",
"type" : "List<ch.sbb.app.b2p.client.Trip>",
"comment" : "Trips as received from Swiss Mobility API.",
"modifiers" : [ "PERSISTENT" ]
"comment" : "Trips as received from Swiss Mobility API."
}, {
"name" : "tripsForDisplay",
"type" : "List<com.axonivy.connector.sbb.demo.trip.TripForDisplay>",
"comment" : "Trips parsed for displaying in user dialog.",
"modifiers" : [ "PERSISTENT" ]
"comment" : "Trips parsed for displaying in user dialog."
} ]
}
7 changes: 0 additions & 7 deletions sbb-connector-test/config/variables.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,2 @@
# yaml-language-server: $schema=https://json-schema.axonivy.com/app/12.0.0/variables.json
Variables:
sbbConnector:
uri: https://b2p.app.sbb.ch
contractId: DEMO
clientId: DEMO
clientSecret: DEMO
tokenEndpoint: DEMO
scope: DEMO
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,10 @@
"fields" : [ {
"name" : "in",
"type" : "com.axonivy.connector.sbb.location.GetLocationsDataIn",
"comment" : "Argument for subprocess GetLocations.",
"modifiers" : [ "PERSISTENT" ]
"comment" : "Argument for subprocess GetLocations."
}, {
"name" : "locations",
"type" : "List<ch.sbb.app.b2p.client.Location>",
"comment" : "Return value of subprocess GetLocations.",
"modifiers" : [ "PERSISTENT" ]
"comment" : "Return value of subprocess GetLocations."
} ]
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
}, {
"name" : "trips",
"type" : "List<ch.sbb.app.b2p.client.Trip>",
"comment" : "Return value of subprocess GetTrips.",
"modifiers" : [ "PERSISTENT" ]
"comment" : "Return value of subprocess GetTrips."
} ]
}

0 comments on commit 30b6fb9

Please sign in to comment.