-
Notifications
You must be signed in to change notification settings - Fork 26
OA加速化ワークフロー_デモ版 #588
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OA加速化ワークフロー_デモ版 #588
Conversation
d9875d7 to
4c41eed
Compare
09c0af0 to
9bf323d
Compare
| return None, None | ||
|
|
||
| def download_file(url, cookies): | ||
| response = requests.get(url, cookies=cookies).content |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ダウンロードされるファイルサイズへの配慮は必要ありませんか?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
download_fileの呼び元でファイルサイズチェックを実施しておりますので、
問題ないかと思います。
| max_file_size = 128 # MB | ||
| # max_file_size = 128 # MB | ||
|
|
||
| # MAX_UPLOAD_SIZE is defined in bytes, but max_file_size must be defined in MB | ||
| max_file_size = MAX_UPLOAD_SIZE // (1024 ** 2) | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
これはdefaults.py の記述が間違っているのですから、defaults.pyの方が修正されるべきです。
また、これは既存のバグなので別途課題として起票されるのがより適切だと考えます。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
マージ元のプロトタイプソースをそのまま適用しておりました。
修正意図や仕様を把握していませんので。
取り急ぎ修正前にもどしました。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
locked の実装について、テストを拡充してください。
既存の機能に対して悪影響はありませんか。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
該当箇所のテストコードを追加しました。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
動作を変更(拡張)した箇所についてのテストを拡充してください。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
該当箇所のテストコードを追加しました。
api/base/settings/defaults.py
Outdated
| TIME_STAMP_AUTHORITY_URL = 'https://www.langedge.jp/tsa' | ||
| TIME_STAMP_AUTHORITY_URL = 'http://eswg.jnsa.org/freetsa' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
逆更新がかかっています。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
逆更新する前の状態に戻しました
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
これは本件開発に関連した更新ですか?
別件の更新が混入しているように見えます。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
混入した箇所をもとに戻しました
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
以前にあったフィールド名の命名規則についての指摘が反映されていないようです。(get_の件)
他の関連ファイルを含めて確認ください。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
変数、関数名修正いたしました。
e69b776 to
bfbce2f
Compare
bfbce2f to
e040f0a
Compare
Purpose
OA加速化ワークフロー_デモ版(RCOS)
デプロイ対象環境:rcos-release
デプロイ希望日:なるべく早めにお願いいたします
以下3つをセットでお願いいたします
#588
RCOSDP/RDM-ember-osf-web#148
RCOSDP/RDM-waterbutler#74
#578
の修正内容も含みます
Changes
■R-OA-01_WEKO連携機能への論文データおよび書誌情報登録フローの追加
・G-M-1 査読付き論文最終稿 と 根拠データのメタデータ登録
・G-M-4 査読付き論文最終稿 と 根拠データをWEKOに送出する
※以下のソースを使用
https://redmine.devops.rcos.nii.ac.jp/issues/49044#note-14
■R-OA-02_WEKO連携機能への研究データ付随メタデータと書誌情報の登録の統合化
1.管理責任者承認ワークフローの準備
・G-4 ワークフロー操作画面
・G-4-1 ワークフロー管理画面
2.管理責任者承認ワークフローの実行
・G-2 プロジェクトダッシュボード画面
・G-3 ファイルビュー画面
・G-4 ワークフロー操作画面
・G-4-3 ワークフロータスク管理画面
・G-U-7 ワークフロータスク入力画面
・ワークフロー開始時に該当のファイルをロックする機能を追加
https://redmine.devops.rcos.nii.ac.jp/issues/49826
から必要項目を取得した
3.管理責任者の進行状況確認
・G-4-2 ワークフロープロセス管理画面
・G-4-3 ワークフロータスク管理画面
QA Notes
-->
Documentation
Side Effects
Ticket