Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • I Ingestion DAGs
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 31
    • Issues 31
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Open Subsurface Data Universe SoftwareOpen Subsurface Data Universe Software
  • Platform
  • Data Flow
  • Data IngestionData Ingestion
  • Ingestion DAGs
  • Merge requests
  • !50

fix/GONRG-2103: Pass wrong date-time format

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Yan Sushchynski (EPAM) requested to merge fix/GONRG-2103_Entity_passes_validation_with_wrong_date_format into master May 03, 2021
  • Overview 4
  • Commits 1
  • Pipelines 2
  • Changes 7

Type of change

  • Bug Fix
  • Feature

Does this introduce a change in the core logic?

  • [Yes]

Does this introduce a change in the cloud provider implementation, if so which cloud?

  • AWS
  • Azure
  • GCP
  • IBM

Updates description?

Fix the issue:

  • Any entity was able to pass the validation against date-time format (e.g. "mar 11" was valid, though it didn't follow date-time format).

!!!NOTE: To turn on date-time validation, the package strict-rfc3339 must be installed (https://python-jsonschema.readthedocs.io/en/latest/validate/#jsonschema.FormatError).

Date-time fields must follow RFC3339 standards :

  • 2020-12-16T11:46:20.163Z - ok
  • 2019-10-12T14:20:50.52+07:00 - ok
  • 2020-12-16T11:46:20Z - ok
  • 2019-10-12T14:20:50.52 - not ok

see: https://pypi.org/project/strict-rfc3339/

Edited Sep 30, 2021 by Yan Sushchynski (EPAM)
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: fix/GONRG-2103_Entity_passes_validation_with_wrong_date_format