You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's a lack of central and holistically written logic that is singularly used for detecting and processing. The import of infrastructure is code files, as well as infrastructure is design (Meshery) files.
Current Behavior
There's a lack of central and holistically written logic that is singularly used for detecting and processing. The import of infrastructure is code files, as well as infrastructure is design (Meshery) files.
Example: There's duplication in the identification of Docker Compose files. The https://github.com/meshery/meshkit/blob/master/utils/detect_pattern_file_type.go is poorly written and needs to be displaced with the following logic. We're in need of consolidating file detection and file import functions.
Desired Behavior
Refer to the https://github.com/meshery/meshery/pull/13392/files and see the logical flow in pseudo code below.
Implementation
Sample client code in Meshery Server
/server/handlers/design/import.go
Sample MeshKit Logic
Sanitization
/utils/files/sanitize.go
Identification
/utils/files/identify.go
Conversion
/utils/files/convert.go
Acceptance Tests
Notes:
model import
behavior and vice-versa.1. Future: Add support for Meshery Views.
Mockups
Contributor Guides and Handbook
The text was updated successfully, but these errors were encountered: