Skip to content
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

GO-168 Make MessageDraft metadata POSP params optional #530

Merged
merged 1 commit into from
Dec 19, 2024

Conversation

luciajanikova
Copy link
Member

No description provided.

Comment on lines +115 to +117
::Upvs::Form.find_by(
identifier: all_metadata['message_type']
)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Implementacia je funkcna kompletne - HTML vizualizacia, PDF vizualizacie, XSD validacie a vsetko ostatne. ALE s formularom to je iba docasny hotfix, nie stabilne riesenie.
Tieto ORSR formulare nie su v MEF a celkovo su o dost ine ako bezne UPVS formulare. Z beznych UPVS formularov vieme z XML obsahu podania jednoducho vyparsovat posp_id, posp_version a na zaklade toho jednoznacne vieme identifikovat o aky formular sa jedna a dotiahnut spravne XSD, XSLT.
Pri tychto ORSR to tak nie je, takze hotfix je:

  • XSD, XSLT hodime teraz jednorazovo do DB,
  • Upvs::Form a teda jeho XSD, XSLT budeme s draftom matchovat iba na zaklade message_type -> co znamena, ze neberieme vobec do uvahy verziu formulara.

Myslim, ze docasne takto prezijeme a potom doladime, nakolko treba vyriesit:

  • Ako identifikovat z XML obsahu o aky typ formulara sa jedna (s know how by mohol pomoct autogram kod),
  • Odkial dotahovat XSD, XSLT - chceli by sme to idealne vsetko tahat z nasho S3 uloziska.

@luciajanikova luciajanikova merged commit f12e452 into main Dec 19, 2024
3 checks passed
@luciajanikova luciajanikova deleted the GO-168/make_posp_params_optional branch December 19, 2024 07:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants