@@ -1745,7 +1745,13 @@ qx.Class.define("osparc.data.Resources", {
17451745 } ,
17461746
17471747 getCompatibleInputs : function ( node1 , portId1 , node2 ) {
1748- const url = this . __getMatchInputsUrl ( node1 , portId1 , node2 ) ;
1748+ const url = {
1749+ "serviceKey2" : encodeURIComponent ( node2 . getKey ( ) ) ,
1750+ "serviceVersion2" : node2 . getVersion ( ) ,
1751+ "serviceKey1" : encodeURIComponent ( node1 . getKey ( ) ) ,
1752+ "serviceVersion1" : node1 . getVersion ( ) ,
1753+ "portKey1" : portId1
1754+ } ;
17491755
17501756 // eslint-disable-next-line no-underscore-dangle
17511757 const cachedCPs = this . getInstance ( ) . __getCached ( "portsCompatibility" ) || { } ;
@@ -1765,16 +1771,6 @@ qx.Class.define("osparc.data.Resources", {
17651771 } ) ;
17661772 } ,
17671773
1768- __getMatchInputsUrl : function ( node1 , portId1 , node2 ) {
1769- return {
1770- "serviceKey2" : encodeURIComponent ( node2 . getKey ( ) ) ,
1771- "serviceVersion2" : node2 . getVersion ( ) ,
1772- "serviceKey1" : encodeURIComponent ( node1 . getKey ( ) ) ,
1773- "serviceVersion1" : node1 . getVersion ( ) ,
1774- "portKey1" : portId1
1775- } ;
1776- } ,
1777-
17781774 getErrorMsg : function ( resp ) {
17791775 const error = resp [ "error" ] ;
17801776 return error ? error [ "errors" ] [ 0 ] . message : null ;
0 commit comments