This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@app.task(serializer='json', | |
name='jstor_aspace_aggregator.tasks.aggregate', queue=queue) | |
def aggregate(json_message): # pragma: no cover | |
logger.info("message") | |
logger.info(json_message) | |
new_message = json_message # {"hello": "jstor_aspace_tranformer"} | |
# If the message is a test message, set the test flag to True | |
s3_util = None | |
mongo_util = None |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./jstor_aspace_publisher/app/jstor_publisher.py: current_app.logger.error("Error: unable to publish jstorforum records, {}", err) | |
./jstor_aspace_publisher/app/jstor_publisher.py: current_app.logger.error("Error: unable to publish aspace records, {}", err) | |
./jstor_aspace_publisher/app/jstor_publisher.py: current_app.logger.error("Error: unable to publish jstorforum records in itest, {}", err) | |
./jstor_aspace_publisher/app/jstor_publisher.py: current_app.logger.error("Error: unable to publish aspace records in itest, {}", err) | |
./jstor_aspace_publisher/app/jstor_publisher.py: current_app.logger.error("Error: unable to connect to mongodb, {}", err) | |
./jstor_aspace_publisher/app/jstor_publisher.py: current_app.logger.error("Error: unable to connect to mongodb, {}", err) | |
./jstor_aspace_publisher/app/jstor_publisher.py: current_app.logger.error("VIA/SSIO Publishing error: {}", err) | |
./jstor_a |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for x in `cat JP2_loris_proxy_urls.txt`; do y=`echo -n $x | sed 's/full.*/info.json/' | sed 's/"//'` ; curl -s -I -o /dev/null -w "%{http_code}" ${y} ; echo " : '${y}'" ; done | tee results.txt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[[source]] | |
name = "pypi" | |
url = "https://pypi.org/simple" | |
verify_ssl = true | |
[dev-packages] | |
[packages] | |
flask="*" | |
flask_pymongo="*" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<wf-config> | |
<workflow-map> | |
<name-map collection="default" workflow="default"/> | |
<!--<name-map collection="123456789/4" workflow="selectSingleReviewer"/>--> | |
<!--<name-map collection="123456789/5" workflow="scoreReview"/>--> | |
</workflow-map> | |
<!--Standard workflow step--> | |
<workflow start="fundingreportstep" id="default"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
awoods@silver:~/Documents/work/fedora/notes/tasks/vivo/2020/testing/regression-tests/GIT/vivo-regression-tests$ mvn exec:java | |
[INFO] Scanning for projects... | |
[INFO] | |
[INFO] -------------------< ca.uqam:vivo-regression-tests >-------------------- | |
[INFO] Building VIVO Regression Test bench 1.11.2-SNAPSHOT | |
[INFO] --------------------------------[ jar ]--------------------------------- | |
[INFO] | |
[INFO] --- exec-maven-plugin:1.6.0:java (default-cli) @ vivo-regression-tests --- | |
[TestNGContentHandler] [WARN] It is strongly recommended to add "<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" >" at the top of your file, otherwise TestNG may fail or not work as expected. | |
15:44:37 INFO HeadOfFacultyUnitTest_fr_CA :: Setup before Class |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PS C:\Users\awoods\Documents\cmhc> bundle exec rake --trace wax:pages cmhc | |
rake aborted! | |
LoadError: Could not open library 'libcurl': The specified module could not be found. | |
. | |
Could not open library 'libcurl.dll': The specified module could not be found. | |
. | |
Could not open library 'libcurl.so.4': The specified module could not be found. | |
. | |
Could not open library 'libcurl.so.4.dll': The specified module could not be found. | |
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/ffi-1.14.2-x64-mingw32/lib/ffi/library.rb:145:in `block in ffi_lib' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/edit/n3editing/VTwo/ProcessRdfForm.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/edit/n3editing/VTwo/ProcessRdfForm.java | |
index 406db61fe..668d65683 100644 | |
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/edit/n3editing/VTwo/ProcessRdfForm.java | |
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/edit/n3editing/VTwo/ProcessRdfForm.java | |
@@ -233,7 +233,8 @@ public class ProcessRdfForm { | |
literalsFromForm.replace(aKey, newLiteralFromForm); | |
} | |
- substituteInMultiLiterals( literalsFromForm, requiredAsserts, optionalAsserts, URLToReturnTo); | |
+ substituteInMultiLiterals( submission.getLiteralsFromForm(), requiredAsserts, optionalAsserts, URLToReturnTo); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/bash | |
### | |
# Create Direct and Indirect containers | |
### | |
echo -e '@prefix pcdm: <http://pcdm.org/models#>\n\n<> a pcdm:Object .' | curl http://localhost:8080/rest/objects -v -H "Content-Type: text/turtle" -X PUT --data-binary @- | |
echo -e '@prefix pcdm: <http://pcdm.org/models#>\n\n<> a pcdm:Object .' | curl http://localhost:8080/rest/objects/raven -v -H "Content-Type: text/turtle" -X PUT --data-binary @- | |
echo -e '@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\n@prefix ldp: <http://www.w3.org/ns/ldp#>\n@prefix pcdm: <http://pcdm.org/models#>\n\n<> a pcdm:Object ;\nrdf:type <http://www.w3.org/ns/ldp#DirectContainer>;\n |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oct 20 20:17:58 ip-10-0-0-121 tomcat9[2316]: INFO 20:17:58.527 (FedoraLdp) POST to create resource with ID: /a9e77954-9c26-47ff-8570-f652a0133b6d, slug: null | |
Oct 20 20:17:58 ip-10-0-0-121 tomcat9[2316]: WARN 20:17:58.527 (WildcardExceptionMapper) Unmapped exception | |
Oct 20 20:17:58 ip-10-0-0-121 tomcat9[2316]: software.amazon.awssdk.services.s3.model.S3Exception: We encountered an internal error. Please try again. (Service: S3, Status Code: 500, Request ID: 7D51E077CEF2720D, Extended Request ID: b9jMFB5Lk+9MYhC2yekSyXmKJDKBknFtEfAQj2N1AXZ9iamxAuq9Y7YSxw7q1H5u6/mv5Sn52z8=) | |
Oct 20 20:17:58 ip-10-0-0-121 tomcat9[2316]: at software.amazon.awssdk.protocols.xml.internal.unmarshall.AwsXmlPredicatedResponseHandler.handleErrorResponse(AwsXmlPredicatedResponseHandler.java:156) | |
Oct 20 20:17:58 ip-10-0-0-121 tomcat9[2316]: at software.amazon.awssdk.protocols.xml.internal.unmarshall.AwsXmlPredicatedResponseHandler.handleResponse(AwsXmlPredicatedResponseHandler.java:106) | |
Oct 20 20:17:58 ip-10-0-0-121 tomcat9 |
NewerOlder