From 30b6fb9eb9806d7d87a6a47da29af2b502ad9b00 Mon Sep 17 00:00:00 2001 From: Khanh Nguyen Date: Thu, 12 Dec 2024 15:45:37 +0700 Subject: [PATCH] Fixing warnings --- sbb-connector-demo/config/variables.yaml | 7 ----- .../connector/sbb/demo/BookTripData.d.json | 6 ++--- .../InputTripSearchDataData.d.json | 27 +++++++------------ .../sbb/demo/ShowTrips/ShowTripsData.d.json | 6 ++--- sbb-connector-test/config/variables.yaml | 7 ----- .../sbb/location/GetLocationsData.d.json | 6 ++--- .../connector/sbb/trip/GetTripsData.d.json | 3 +-- 7 files changed, 16 insertions(+), 46 deletions(-) diff --git a/sbb-connector-demo/config/variables.yaml b/sbb-connector-demo/config/variables.yaml index 3d0b275..e96d3ef 100644 --- a/sbb-connector-demo/config/variables.yaml +++ b/sbb-connector-demo/config/variables.yaml @@ -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 diff --git a/sbb-connector-demo/dataclasses/com/axonivy/connector/sbb/demo/BookTripData.d.json b/sbb-connector-demo/dataclasses/com/axonivy/connector/sbb/demo/BookTripData.d.json index dcc3384..6bd9e62 100644 --- a/sbb-connector-demo/dataclasses/com/axonivy/connector/sbb/demo/BookTripData.d.json +++ b/sbb-connector-demo/dataclasses/com/axonivy/connector/sbb/demo/BookTripData.d.json @@ -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", - "comment" : "Return value for subprocess GetTrips.", - "modifiers" : [ "PERSISTENT" ] + "comment" : "Return value for subprocess GetTrips." } ] } \ No newline at end of file diff --git a/sbb-connector-demo/src_hd/com/axonivy/connector/sbb/demo/InputTripSearchData/InputTripSearchDataData.d.json b/sbb-connector-demo/src_hd/com/axonivy/connector/sbb/demo/InputTripSearchData/InputTripSearchDataData.d.json index 5f4fafd..f613cc4 100644 --- a/sbb-connector-demo/src_hd/com/axonivy/connector/sbb/demo/InputTripSearchData/InputTripSearchDataData.d.json +++ b/sbb-connector-demo/src_hd/com/axonivy/connector/sbb/demo/InputTripSearchData/InputTripSearchDataData.d.json @@ -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", - "comment" : "Return value of subprocess GetLocations.", - "modifiers" : [ "PERSISTENT" ] + "comment" : "Return value of subprocess GetLocations." }, { "name" : "locationNames", "type" : "List", - "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." } ] } \ No newline at end of file diff --git a/sbb-connector-demo/src_hd/com/axonivy/connector/sbb/demo/ShowTrips/ShowTripsData.d.json b/sbb-connector-demo/src_hd/com/axonivy/connector/sbb/demo/ShowTrips/ShowTripsData.d.json index ce9c7c1..a2d92b8 100644 --- a/sbb-connector-demo/src_hd/com/axonivy/connector/sbb/demo/ShowTrips/ShowTripsData.d.json +++ b/sbb-connector-demo/src_hd/com/axonivy/connector/sbb/demo/ShowTrips/ShowTripsData.d.json @@ -6,12 +6,10 @@ "fields" : [ { "name" : "trips", "type" : "List", - "comment" : "Trips as received from Swiss Mobility API.", - "modifiers" : [ "PERSISTENT" ] + "comment" : "Trips as received from Swiss Mobility API." }, { "name" : "tripsForDisplay", "type" : "List", - "comment" : "Trips parsed for displaying in user dialog.", - "modifiers" : [ "PERSISTENT" ] + "comment" : "Trips parsed for displaying in user dialog." } ] } \ No newline at end of file diff --git a/sbb-connector-test/config/variables.yaml b/sbb-connector-test/config/variables.yaml index 3d0b275..e96d3ef 100644 --- a/sbb-connector-test/config/variables.yaml +++ b/sbb-connector-test/config/variables.yaml @@ -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 diff --git a/sbb-connector/dataclasses/com/axonivy/connector/sbb/location/GetLocationsData.d.json b/sbb-connector/dataclasses/com/axonivy/connector/sbb/location/GetLocationsData.d.json index 2432e01..56b67a7 100644 --- a/sbb-connector/dataclasses/com/axonivy/connector/sbb/location/GetLocationsData.d.json +++ b/sbb-connector/dataclasses/com/axonivy/connector/sbb/location/GetLocationsData.d.json @@ -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", - "comment" : "Return value of subprocess GetLocations.", - "modifiers" : [ "PERSISTENT" ] + "comment" : "Return value of subprocess GetLocations." } ] } \ No newline at end of file diff --git a/sbb-connector/dataclasses/com/axonivy/connector/sbb/trip/GetTripsData.d.json b/sbb-connector/dataclasses/com/axonivy/connector/sbb/trip/GetTripsData.d.json index abe3303..5d02c85 100644 --- a/sbb-connector/dataclasses/com/axonivy/connector/sbb/trip/GetTripsData.d.json +++ b/sbb-connector/dataclasses/com/axonivy/connector/sbb/trip/GetTripsData.d.json @@ -11,7 +11,6 @@ }, { "name" : "trips", "type" : "List", - "comment" : "Return value of subprocess GetTrips.", - "modifiers" : [ "PERSISTENT" ] + "comment" : "Return value of subprocess GetTrips." } ] } \ No newline at end of file