Skip to content

Commit

Permalink
#37 Have a working flow test. There's still a bug with the conversion…
Browse files Browse the repository at this point in the history
… for the watch to v3.
  • Loading branch information
andreleblanc11 committed May 31, 2024
1 parent f713c19 commit cebe761
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion am_flow/config/flow/amserver-flow_f01.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ callback_prepend gather.am
callback post.message

#------------------ DESTINATION
directory ${TESTDOCROOT}/bulletins_to_download/${YYYYMMDD}/${T1}${T2}/${CCCC}/${GG}
directory ${TESTDOCROOT}/bulletins_to_send/${YYYYMMDD}/${T1}${T2}/${CCCC}/${GG}
# We want to locally download the files
download on
# directory /datalocal/am/bulletins/
Expand Down
6 changes: 4 additions & 2 deletions am_flow/config/sarra/get_from-watch_f02.conf
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,16 @@ permDefault 664

directory ${TESTDOCROOT}/bulletins_to_download

# These bulletins are too long for AM to handle transferring
reject .*FP/.*
accept .*
acceptUnmatched False

# destination

post_broker ${MQP}://tsource@${FLOWBROKER}/
post_exchange xs_tsource_am
post_baseUrl file://sarra@${HOSTNAME}/
post_baseDir ${TESTDOCROOT}/bulletins_to_download
post_baseUrl file://home/home/sarra/sarra_devdocroot/bulletins_to_download
post_baseDir /

logLevel debug
8 changes: 4 additions & 4 deletions am_flow/config/watch/watch-dir_f03.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@ post_topic_prefix v03.post

post_broker ${MQP}://tfeed@${FLOWBROKER}/
post_exchange xs_tfeed_am
post_baseUrl http://localhost:8001/
post_baseDir ${TESTDOCROOT}
post_baseUrl file://home/home/sarra/sarra_devdocroot/bulletins_to_post/bulletins
post_baseDir /


path ${TESTDOCROOT}/bulletins_to_post
path ${TESTDOCROOT}/bulletins_to_post/

logLevel info


fileEvents +modify,create
fileEvents create

#caching False
#recursive True
Expand Down

0 comments on commit cebe761

Please sign in to comment.