Open maartends opened 6 years ago
Commit 11f5248 basically fixes this issue (ie., the JSON is now correctly parsed). However, problems remain:
2018-08-28 17:10:51,358 [amqpReceiver.03] ERROR org.mule.retry.notifiers.ConnectNotifier - Failed to connect/reconnect: EEFtpConnector
{
name=FTP
lifecycle=start
this=56de5d7e
numberOfConcurrentTransactedReceivers=4
createMultipleTransactedReceivers=true
connected=true
supportedProtocols=[ftp]
serviceOverrides=<none>
}
. Root Exception was: Ftp login failed: 530. Type: class java.io.IOException
2018-08-28 17:10:51,361 [amqpReceiver.03] ERROR org.mule.exception.CatchMessagingExceptionStrategy -
********************************************************************************
Message : Ftp login failed: 530 (java.io.IOException)
Element : /FTP @ app:poller.xml:21 (FTP)
--------------------------------------------------------------------------------
Exception stack is:
Ftp login failed: 530 (java.io.IOException) (org.mule.transport.ConnectException)
org.mule.transport.ftp.FtpConnectionFactory.makeObject(FtpConnectionFactory.java:58)
org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:1188)
org.mule.transport.ftp.FtpConnector.getFtp(FtpConnector.java:181)
org.mule.transport.ftp.FtpConnector.createFtpClient(FtpConnector.java:700)
(215 more...)
(set debug level logging or '-Dmule.verbose.exceptions=true' for everything)
********************************************************************************
Structure for the JSON resonses from Skryv has changed. Multiline text fields (as the ones used for "Lijst media-ID's VRT VIDEO", "Lijst media-ID's VRT AUDIO" and "Lijst VIAA pids" in the briefing documents) can now contain
text
enmarkup
sub-fields instead of just the content in thelijst_mediaids_video
-field. Compare:a5066321-abff-497e-8b54-57c488123eaa
with:
56df1a6e-bc9d-47e6-a910-7f61fbac55e5
Parsing of the JSON-response should be adapted accordingly. Ideally, both the MEL-expressions AND the DataWeave-component should be changed --> Python replacement.
Offending line: https://github.com/viaacode/vrt_avo_transfer/blob/ca2bb61fd28ca61ae1bb42e9005a53c348cf1fba/src/main/app/briefing_api.xml#L252 and following.