Skip to content

Commit

Permalink
Merge pull request #195 from p2m2/develop
Browse files Browse the repository at this point in the history
0.4.1
  • Loading branch information
ofilangi committed May 23, 2022
2 parents 4c7fc54 + 2a5d3f3 commit 1259498
Show file tree
Hide file tree
Showing 14 changed files with 2,208 additions and 2,074 deletions.
4 changes: 2 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ lazy val airframeLogVersion = "21.12.1"
lazy val sttpClient3Version = "3.5.2"
lazy val scalaStubVersion = "1.1.0"
lazy val scalatagVersion = "0.11.1"
lazy val rdf4jVersion = "4.0.0"
lazy val rdf4jVersion = "4.0.1"
lazy val slf4j_version = "1.7.36"
lazy val scalaUriVersion = "3.6.0"
lazy val scalajsDom = "1.2.0"
Expand Down Expand Up @@ -41,7 +41,7 @@ lazy val tsjest = "27.1.3"

releaseIgnoreUntrackedFiles := true

val static_version_build = "0.4.0"
val static_version_build = "0.4.1"
val version_build = scala.util.Properties.envOrElse("DISCOVERY_VERSION", static_version_build)
val SWDiscoveryVersionAtBuildTimeFile = "./shared/src/main/scala/fr/inrae/metabohub" +
"/semantic_web/SWDiscoveryVersionAtBuildTime.scala"
Expand Down
2 changes: 1 addition & 1 deletion dist/checksum
Original file line number Diff line number Diff line change
@@ -1 +1 @@
361c91f06c087ee9b7e23d6994627f50 -
bcbaa8d6431ad99840cbd9dd5efa748d -
48 changes: 36 additions & 12 deletions dist/discovery-web-dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -162197,11 +162197,17 @@ function $h_Lfr_inrae_metabohub_semantic\uff3fweb_exception_SWDiscoveryException
/*<skip>*/
}
$h_Lfr_inrae_metabohub_semantic\uff3fweb_exception_SWDiscoveryException$.prototype = $c_Lfr_inrae_metabohub_semantic\uff3fweb_exception_SWDiscoveryException$.prototype;
$c_Lfr_inrae_metabohub_semantic\uff3fweb_exception_SWDiscoveryException$.prototype.$lessinit$greater$default$1__T = (function() {
return ""
});
$c_Lfr_inrae_metabohub_semantic\uff3fweb_exception_SWDiscoveryException$.prototype.$lessinit$greater$default$2__jl_Throwable = (function() {
return $as_jl_Throwable($m_s_None$().orNull__s_$less$colon$less__O($m_s_$less$colon$less$().refl__s_$eq$colon$eq()))
});
$c_Lfr_inrae_metabohub_semantic\uff3fweb_exception_SWDiscoveryException$.prototype.toString__T = (function() {
return "SWDiscoveryException"
});
$c_Lfr_inrae_metabohub_semantic\uff3fweb_exception_SWDiscoveryException$.prototype.apply__T__jl_Throwable__Lfr_inrae_metabohub_semantic\uff3fweb_exception_SWDiscoveryException = (function(message, cause) {
return new $c_Lfr_inrae_metabohub_semantic\uff3fweb_exception_SWDiscoveryException(message, cause)
$c_Lfr_inrae_metabohub_semantic\uff3fweb_exception_SWDiscoveryException$.prototype.apply__T__jl_Throwable__Lfr_inrae_metabohub_semantic\uff3fweb_exception_SWDiscoveryException = (function(messageInt, cause) {
return new $c_Lfr_inrae_metabohub_semantic\uff3fweb_exception_SWDiscoveryException(messageInt, cause)
});
$c_Lfr_inrae_metabohub_semantic\uff3fweb_exception_SWDiscoveryException$.prototype.apply$default$2__jl_Throwable = (function() {
return $as_jl_Throwable($m_s_None$().orNull__s_$less$colon$less__O($m_s_$less$colon$less$().refl__s_$eq$colon$eq()))
Expand Down Expand Up @@ -197505,21 +197511,27 @@ var $d_Lfr_inrae_metabohub_semantic\uff3fweb_driver_HttpRequestDriverException =
});
$c_Lfr_inrae_metabohub_semantic\uff3fweb_driver_HttpRequestDriverException.prototype.$classData = $d_Lfr_inrae_metabohub_semantic\uff3fweb_driver_HttpRequestDriverException;
class $c_Lfr_inrae_metabohub_semantic\uff3fweb_exception_SWDiscoveryException extends $c_jl_Exception {
constructor(message, cause) {
constructor(messageInt, cause) {
super();
this.Lfr_inrae_metabohub_semantic\uff3fweb_exception_SWDiscoveryException__f_fr$inrae$metabohub$semantic_web$exception$SWDiscoveryException$$message = null;
this.Lfr_inrae_metabohub_semantic\uff3fweb_exception_SWDiscoveryException__f_fr$inrae$metabohub$semantic_web$exception$SWDiscoveryException$$messageInt = null;
this.Lfr_inrae_metabohub_semantic\uff3fweb_exception_SWDiscoveryException__f_fr$inrae$metabohub$semantic_web$exception$SWDiscoveryException$$cause = null;
this.Lfr_inrae_metabohub_semantic\uff3fweb_exception_SWDiscoveryException__f_fr$inrae$metabohub$semantic_web$exception$SWDiscoveryException$$message = message;
this.Lfr_inrae_metabohub_semantic\uff3fweb_exception_SWDiscoveryException__f_fr$inrae$metabohub$semantic_web$exception$SWDiscoveryException$$messageInt = messageInt;
this.Lfr_inrae_metabohub_semantic\uff3fweb_exception_SWDiscoveryException__f_fr$inrae$metabohub$semantic_web$exception$SWDiscoveryException$$cause = cause;
$ct_jl_Exception__T__jl_Throwable__(this, message, cause);
$ct_jl_Exception__T__jl_Throwable__(this, messageInt, cause);
$f_s_Product__$init$__V(this)
};
message$access$0__T() {
return this.Lfr_inrae_metabohub_semantic\uff3fweb_exception_SWDiscoveryException__f_fr$inrae$metabohub$semantic_web$exception$SWDiscoveryException$$message
messageInt$access$0__T() {
return this.Lfr_inrae_metabohub_semantic\uff3fweb_exception_SWDiscoveryException__f_fr$inrae$metabohub$semantic_web$exception$SWDiscoveryException$$messageInt
};
cause$access$1__jl_Throwable() {
return this.Lfr_inrae_metabohub_semantic\uff3fweb_exception_SWDiscoveryException__f_fr$inrae$metabohub$semantic_web$exception$SWDiscoveryException$$cause
};
fr$inrae$metabohub$semantic_web$exception$SWDiscoveryException$$messageInt__T() {
return this.Lfr_inrae_metabohub_semantic\uff3fweb_exception_SWDiscoveryException__f_fr$inrae$metabohub$semantic_web$exception$SWDiscoveryException$$messageInt
};
message__T() {
return this.fr$inrae$metabohub$semantic_web$exception$SWDiscoveryException$$messageInt__T()
};
productPrefix__T() {
return "SWDiscoveryException"
};
Expand All @@ -197530,7 +197542,7 @@ class $c_Lfr_inrae_metabohub_semantic\uff3fweb_exception_SWDiscoveryException ex
var x1 = x$1;
switch (x1) {
case 0: {
return this.message$access$0__T();
return this.messageInt$access$0__T();
break
}
case 1: {
Expand All @@ -197555,7 +197567,7 @@ class $c_Lfr_inrae_metabohub_semantic\uff3fweb_exception_SWDiscoveryException ex
var x1 = x$1;
if (((x1 instanceof $c_Lfr_inrae_metabohub_semantic\uff3fweb_exception_SWDiscoveryException) || false)) {
var SWDiscoveryException$1 = $as_Lfr_inrae_metabohub_semantic\uff3fweb_exception_SWDiscoveryException(x$1);
if (Object.is(this.message$access$0__T(), SWDiscoveryException$1.message$access$0__T())) {
if (Object.is(this.messageInt$access$0__T(), SWDiscoveryException$1.messageInt$access$0__T())) {
var x = this.cause$access$1__jl_Throwable();
var x$2 = SWDiscoveryException$1.cause$access$1__jl_Throwable();
return ((x === null) ? (x$2 === null) : x.equals__O__Z(x$2))
Expand All @@ -197567,6 +197579,12 @@ class $c_Lfr_inrae_metabohub_semantic\uff3fweb_exception_SWDiscoveryException ex
}
}
};
$js$exported$prop$message__O() {
return this.message__T()
};
get "message"() {
return this.$js$exported$prop$message__O()
};
}
function $as_Lfr_inrae_metabohub_semantic\uff3fweb_exception_SWDiscoveryException(obj) {
return (((obj instanceof $c_Lfr_inrae_metabohub_semantic\uff3fweb_exception_SWDiscoveryException) || (obj === null)) ? obj : $throwClassCastException(obj, "fr.inrae.metabohub.semantic_web.exception.SWDiscoveryException"))
Expand Down Expand Up @@ -210270,14 +210288,15 @@ $c_Lfr_inrae_metabohub_semantic\uff3fweb_strategy_ProxyStrategyRequest.prototype
$c_Lfr_inrae_metabohub_semantic\uff3fweb_strategy_ProxyStrategyRequest.prototype.get__T__T__s_concurrent_Future = (function(key, value) {
this.publish__O__V(new $c_Lfr_inrae_metabohub_semantic\uff3fweb_event_DiscoveryRequestEvent($m_Lfr_inrae_metabohub_semantic\uff3fweb_event_DiscoveryStateRequestEvent$().PROCESS_HTTP_REQUEST__s_Enumeration$Value()));
var configAxios = $m_sjs_js_Dynamic$literal$().applyDynamic__T__sci_Seq__sjs_js_Object("apply", $m_sjsr_package$().toScalaVarArgs__sjs_js_Array__sci_Seq([$m_s_Predef$ArrowAssoc$().$minus$greater$extension__O__O__T2($m_s_Predef$().ArrowAssoc__O__O("header"), $m_sjs_js_Dynamic$literal$().applyDynamic__T__sci_Seq__sjs_js_Object("apply", $m_sjsr_package$().toScalaVarArgs__sjs_js_Array__sci_Seq([$m_s_Predef$ArrowAssoc$().$minus$greater$extension__O__O__T2($m_s_Predef$().ArrowAssoc__O__O("Accept"), $m_sjs_js_Any$().fromString__T__sjs_js_Any("application/json"))])))]));
return $m_sjs_js_Thenable$ThenableOps$().toFuture$extension__sjs_js_Thenable__s_concurrent_Future($m_sjs_js_Thenable$().ThenableOps__sjs_js_Thenable__sjs_js_Thenable($moduleDefault($i_axios).get(((this.urlProxy__T() + (("?" + key) + "=")) + $as_T(encodeURIComponent(value))), configAxios))).map__F1__s_concurrent_ExecutionContext__s_concurrent_Future(new $c_sjsr_AnonFunction1(((this\u00f8) => ((response$2) => {
return $m_sjs_js_Thenable$ThenableOps$().toFuture$extension__sjs_js_Thenable__s_concurrent_Future($m_sjs_js_Thenable$().ThenableOps__sjs_js_Thenable__sjs_js_Thenable($moduleDefault($i_axios).get(((((("" + this.urlProxy__T()) + "/get?") + key) + "=") + $as_T(encodeURIComponent(value))), configAxios))).map__F1__s_concurrent_ExecutionContext__s_concurrent_Future(new $c_sjsr_AnonFunction1(((this\u00f8) => ((response$2) => {
var response = response$2;
return $p_Lfr_inrae_metabohub_semantic\uff3fweb_strategy_ProxyStrategyRequest__$anonfun$get$1__Lcom_github_p2m2_facade_Response__Lfr_inrae_metabohub_semantic\uff3fweb_sparql_QueryResult(this\u00f8, response)
}))(this)), this.ec__s_concurrent_ExecutionContext()).recover__s_PartialFunction__s_concurrent_ExecutionContext__s_concurrent_Future(new $c_Lfr_inrae_metabohub_semantic\uff3fweb_strategy_ProxyStrategyRequest$$anonfun$get$2(this), this.ec__s_concurrent_ExecutionContext())
});
$c_Lfr_inrae_metabohub_semantic\uff3fweb_strategy_ProxyStrategyRequest.prototype.post__T__T__s_concurrent_Future = (function(key, value) {
this.publish__O__V(new $c_Lfr_inrae_metabohub_semantic\uff3fweb_event_DiscoveryRequestEvent($m_Lfr_inrae_metabohub_semantic\uff3fweb_event_DiscoveryStateRequestEvent$().PROCESS_HTTP_REQUEST__s_Enumeration$Value()));
var configAxios = $m_sjs_js_Dynamic$literal$().applyDynamic__T__sci_Seq__sjs_js_Object("apply", $m_sjsr_package$().toScalaVarArgs__sjs_js_Array__sci_Seq([$m_s_Predef$ArrowAssoc$().$minus$greater$extension__O__O__T2($m_s_Predef$().ArrowAssoc__O__O("url"), $m_sjs_js_Any$().fromString__T__sjs_js_Any(this.urlProxy__T())), $m_s_Predef$ArrowAssoc$().$minus$greater$extension__O__O__T2($m_s_Predef$().ArrowAssoc__O__O("method"), $m_sjs_js_Any$().fromString__T__sjs_js_Any("POST")), $m_s_Predef$ArrowAssoc$().$minus$greater$extension__O__O__T2($m_s_Predef$().ArrowAssoc__O__O("header"), $m_sjs_js_Dynamic$literal$().applyDynamic__T__sci_Seq__sjs_js_Object("apply", $m_sjsr_package$().toScalaVarArgs__sjs_js_Array__sci_Seq([$m_s_Predef$ArrowAssoc$().$minus$greater$extension__O__O__T2($m_s_Predef$().ArrowAssoc__O__O("Accept"), $m_sjs_js_Any$().fromString__T__sjs_js_Any("application/json")), $m_s_Predef$ArrowAssoc$().$minus$greater$extension__O__O__T2($m_s_Predef$().ArrowAssoc__O__O("Content-Type"), $m_sjs_js_Any$().fromString__T__sjs_js_Any("application/x-www-form-urlencoded"))]))), $m_s_Predef$ArrowAssoc$().$minus$greater$extension__O__O__T2($m_s_Predef$().ArrowAssoc__O__O("data"), $m_sjs_js_Any$().fromString__T__sjs_js_Any($as_T($moduleDefault($i_qs).stringify($m_sjs_js_Dictionary$().apply__sci_Seq__sjs_js_Dictionary($m_sjsr_package$().toScalaVarArgs__sjs_js_Array__sci_Seq([$m_s_Predef$ArrowAssoc$().$minus$greater$extension__O__O__T2($m_s_Predef$().ArrowAssoc__O__O(key), value)]))))))]));
$m_s_Predef$().println__O__V(("urlProxy:" + this.urlProxy__T()));
var configAxios = $m_sjs_js_Dynamic$literal$().applyDynamic__T__sci_Seq__sjs_js_Object("apply", $m_sjsr_package$().toScalaVarArgs__sjs_js_Array__sci_Seq([$m_s_Predef$ArrowAssoc$().$minus$greater$extension__O__O__T2($m_s_Predef$().ArrowAssoc__O__O("url"), $m_sjs_js_Any$().fromString__T__sjs_js_Any("urlProxy/post")), $m_s_Predef$ArrowAssoc$().$minus$greater$extension__O__O__T2($m_s_Predef$().ArrowAssoc__O__O("method"), $m_sjs_js_Any$().fromString__T__sjs_js_Any("POST")), $m_s_Predef$ArrowAssoc$().$minus$greater$extension__O__O__T2($m_s_Predef$().ArrowAssoc__O__O("header"), $m_sjs_js_Dynamic$literal$().applyDynamic__T__sci_Seq__sjs_js_Object("apply", $m_sjsr_package$().toScalaVarArgs__sjs_js_Array__sci_Seq([$m_s_Predef$ArrowAssoc$().$minus$greater$extension__O__O__T2($m_s_Predef$().ArrowAssoc__O__O("Accept"), $m_sjs_js_Any$().fromString__T__sjs_js_Any("application/json")), $m_s_Predef$ArrowAssoc$().$minus$greater$extension__O__O__T2($m_s_Predef$().ArrowAssoc__O__O("Content-Type"), $m_sjs_js_Any$().fromString__T__sjs_js_Any("application/x-www-form-urlencoded"))]))), $m_s_Predef$ArrowAssoc$().$minus$greater$extension__O__O__T2($m_s_Predef$().ArrowAssoc__O__O("data"), $m_sjs_js_Any$().fromString__T__sjs_js_Any($as_T($moduleDefault($i_qs).stringify($m_sjs_js_Dictionary$().apply__sci_Seq__sjs_js_Dictionary($m_sjsr_package$().toScalaVarArgs__sjs_js_Array__sci_Seq([$m_s_Predef$ArrowAssoc$().$minus$greater$extension__O__O__T2($m_s_Predef$().ArrowAssoc__O__O(key), value)]))))))]));
return $m_sjs_js_Thenable$ThenableOps$().toFuture$extension__sjs_js_Thenable__s_concurrent_Future($m_sjs_js_Thenable$().ThenableOps__sjs_js_Thenable__sjs_js_Thenable($moduleDefault($i_axios).request(configAxios))).map__F1__s_concurrent_ExecutionContext__s_concurrent_Future(new $c_sjsr_AnonFunction1(((this\u00f8) => ((response$2) => {
var response = response$2;
return $p_Lfr_inrae_metabohub_semantic\uff3fweb_strategy_ProxyStrategyRequest__$anonfun$post$1__Lcom_github_p2m2_facade_Response__Lfr_inrae_metabohub_semantic\uff3fweb_sparql_QueryResult(this\u00f8, response)
Expand Down Expand Up @@ -244603,6 +244622,11 @@ exports.LinkTo = (function(arg, arg$2, ...rest) {
var prep3 = ((rest[1] === (void 0)) ? $m_Lfr_inrae_metabohub_semantic\uff3fweb_node_LinkTo$().$lessinit$greater$default$4__sci_Map() : $as_sci_Map(rest[1]));
return new $c_Lfr_inrae_metabohub_semantic\uff3fweb_node_LinkTo(prep0, prep1, prep2, prep3)
});
exports.SWDiscoveryException = (function(...rest) {
var prep0 = ((rest[0] === (void 0)) ? $m_Lfr_inrae_metabohub_semantic\uff3fweb_exception_SWDiscoveryException$().$lessinit$greater$default$1__T() : $as_T(rest[0]));
var prep1 = ((rest[1] === (void 0)) ? $m_Lfr_inrae_metabohub_semantic\uff3fweb_exception_SWDiscoveryException$().$lessinit$greater$default$2__jl_Throwable() : $as_jl_Throwable(rest[1]));
return new $c_Lfr_inrae_metabohub_semantic\uff3fweb_exception_SWDiscoveryException(prep0, prep1)
});
exports.Anonymous = (function(arg) {
var prep0 = $as_T(arg);
return new $c_Lfr_inrae_metabohub_semantic\uff3fweb_rdf_Anonymous(prep0)
Expand Down
2 changes: 1 addition & 1 deletion dist/discovery-web-dev.js.map

Large diffs are not rendered by default.

0 comments on commit 1259498

Please sign in to comment.