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

Refactoring of wares signatures management #1038

Closed
26 tasks done
jctophefabre opened this issue May 27, 2021 · 0 comments
Closed
26 tasks done

Refactoring of wares signatures management #1038

jctophefabre opened this issue May 27, 2021 · 0 comments

Comments

@jctophefabre
Copy link
Contributor

jctophefabre commented May 27, 2021

Major refactoring of wares signatures definitions and management for better consistency and improved features.

The signature of a ware will now be stored as an external single JSON file, gathering all metadata:

  • current signature data
  • data stored in the wareshub.json file
  • other pertinent metadata
    These informations will be automatically integrated in the binary of ware at build time.

TODO

build process

framework

  • Update the WareSrcContainer class with ability to create and maintain ware sources #1160
  • Create the WareSrcOperations class which inherits from WareSrcContainer adding configure, build, doc generation and other tasks processing
  • Update the WareSrcManager regarding the WorkspaceManagerclass
  • Replace Domain, Process, Method in simulator signature by Tags
  • Update signatures data structures
  • Remove the signature macros
  • Remove wareshub.json from templates for wares creation
  • Remove references to wareshub.json file
  • Add serialization from and to signatures, using JSON format
  • Replace XML format by JSON for storage of ghosts simulators definitions
  • Use same data structure for simulators signatures and ghosts
  • Ensure JSON consistency between signature JSON format and reporting in JSON format
  • Update the scientific documentation generation (see also Update sim2doc to ware2doc #489)

cli

  • Provide migation tool using command line

ui

  • Provide a signature editor in Devstudio/source code edition in Builder
  • Mark current signature macros as deprecated in Devstudio editor (in syntax coloration file)
  • Update ghost editor in Builder to use the signature editor
  • Provide migation tool in DevStudio
  • Remove signature code insertion from right-click in DevStudio

tests

  • Update the organisation of testing wares sources
  • Update CMake functions to build testing wares

doc

  • Update development part in Doxygen documentation
@jctophefabre jctophefabre added this to the release-2.2.0 milestone May 27, 2021
jctophefabre added a commit to jctophefabre/openfluid that referenced this issue Dec 18, 2021
* Refactored foundations of wares sources management
* Removed duplicate code
* Updated Filesystem class
* Cleaned code

(references OpenFLUID#1038)
jctophefabre added a commit to jctophefabre/openfluid that referenced this issue Jan 11, 2022
* Refactored foundations of wares sources management
* Removed duplicate code
* Updated Filesystem class
* Cleaned code

(references OpenFLUID#1038)
jctophefabre added a commit to jctophefabre/openfluid that referenced this issue Jan 14, 2022
* Refactored foundations of wares sources management
* Removed duplicate code
* Updated Filesystem class
* Cleaned code

(references OpenFLUID#1038)
jctophefabre added a commit to jctophefabre/openfluid that referenced this issue Jan 17, 2022
* Refactored foundations of wares sources management
* Removed duplicate code
* Updated Filesystem class
* Cleaned code

(references OpenFLUID#1038)
jctophefabre added a commit to jctophefabre/openfluid that referenced this issue Aug 25, 2022
* Added serialization/unserialization of signatures using json format
* Added serialization of signatures into C++ code
* Added issues in wares signatures
* Refactored ghost simulators file format
  to use the new ware signature format
* Updated common structure of wares signatures
* Added tests
* Cleaned code

(references OpenFLUID#1038)
jctophefabre added a commit to jctophefabre/openfluid that referenced this issue Aug 25, 2022
* Added serialization/unserialization of signatures using json format
* Added serialization of signatures into C++ code
* Added issues in wares signatures
* Refactored ghost simulators file format
  to use the new ware signature format
* Updated common structure of wares signatures
* Added tests
* Cleaned code

(references OpenFLUID#1038)
jctophefabre added a commit to jctophefabre/openfluid that referenced this issue Sep 7, 2022
* Added sign2build command in command line program
* Added configuration variables for wares development
* Refactored OpenFLUID CMake module
* Moved OpenFLUIDHelpers CMake module as a script
  used in OpenFLUID CMake module
* Updated templates for wares development
* Disabled tests temporarily (examples run, part of registries)
* Fixed possible crash of wares development UI
  when reopening last open files
* Cleaned code

(references OpenFLUID#1038)
jctophefabre added a commit to jctophefabre/openfluid that referenced this issue Sep 7, 2022
* Added info2build command in command line program
* Added configuration variables for wares development
* Refactored OpenFLUID CMake module
* Moved OpenFLUIDHelpers CMake module as a script
  used in OpenFLUID CMake module
* Updated templates for wares development
* Disabled tests temporarily (examples run, part of registries)
* Fixed possible crash of wares development UI
  when reopening last open files
* Cleaned code

(references OpenFLUID#1038)
jctophefabre added a commit to jctophefabre/openfluid that referenced this issue Jan 18, 2023
* Added migration process for wares sources
  from OpenFLUID version 2.1.x to 2.2.0
* Added ressources to be used during migration process
* Added migrate command in CLI tool
* Refactored management of contextual variables in CMake usage
* Refactored tests files
* Fixed escaping of special chars
* Updated stylecheck usage
* Cleaned code

(references OpenFLUID#1038)
jctophefabre added a commit to jctophefabre/openfluid that referenced this issue Jan 23, 2023
* Added migration process for wares sources
  from OpenFLUID version 2.1.x to 2.2.0
* Added ressources to be used during migration process
* Added migrate command in CLI tool
* Refactored management of contextual variables in CMake usage
* Refactored tests files
* Fixed escaping of special chars
* Updated stylecheck usage
* Cleaned code

(references OpenFLUID#1038)
jctophefabre added a commit to jctophefabre/openfluid that referenced this issue Mar 7, 2023
* Migrated standard observers
* Migrated standard builder-extensions
* Migrated test wares
* Updated OpenFLUID module for CMake
* Refactored management and location of builder-extensions
  for parameterization UI
* Refactored internal helpers for building wares
* Refactored doc snippets
* Refactored management of links between simulators/observers
  and their parameterization UI
* Cleaned code

(references OpenFLUID#1038)
(references OpenFLUID#878)
jctophefabre added a commit to jctophefabre/openfluid that referenced this issue Mar 7, 2023
jctophefabre added a commit to jctophefabre/openfluid that referenced this issue Mar 7, 2023
jctophefabre added a commit to jctophefabre/openfluid that referenced this issue Mar 8, 2023
* Migrated standard observers
* Migrated standard builder-extensions
* Migrated test wares
* Updated OpenFLUID module for CMake
* Refactored management and location of builder-extensions
  for parameterization UI
* Refactored internal helpers for building wares
* Refactored doc snippets
* Refactored management of links between simulators/observers
  and their parameterization UI
* Cleaned code

(references OpenFLUID#1038)
(references OpenFLUID#878)
jctophefabre added a commit to jctophefabre/openfluid that referenced this issue Mar 8, 2023
jctophefabre added a commit to jctophefabre/openfluid that referenced this issue Mar 8, 2023
jctophefabre added a commit to jctophefabre/openfluid that referenced this issue Mar 8, 2023
* Migrated standard observers
* Migrated standard builder-extensions
* Migrated test wares
* Updated OpenFLUID module for CMake
* Refactored management and location of builder-extensions
  for parameterization UI
* Refactored internal helpers for building wares
* Refactored doc snippets
* Refactored management of links between simulators/observers
  and their parameterization UI
* Cleaned code

(references OpenFLUID#1038)
(references OpenFLUID#878)
jctophefabre added a commit to jctophefabre/openfluid that referenced this issue Mar 8, 2023
jctophefabre added a commit to jctophefabre/openfluid that referenced this issue Mar 8, 2023
jctophefabre added a commit to jctophefabre/openfluid that referenced this issue Mar 8, 2023
* Migrated standard observers
* Migrated standard builder-extensions
* Migrated test wares
* Updated OpenFLUID module for CMake
* Refactored management and location of builder-extensions
  for parameterization UI
* Refactored internal helpers for building wares
* Refactored doc snippets
* Refactored management of links between simulators/observers
  and their parameterization UI
* Cleaned code

(references OpenFLUID#1038)
(references OpenFLUID#878)
jctophefabre added a commit to jctophefabre/openfluid that referenced this issue Mar 8, 2023
jctophefabre added a commit to jctophefabre/openfluid that referenced this issue Mar 8, 2023
Arthoni added a commit to Arthoni/openfluid that referenced this issue Aug 29, 2023
* Signature edition dialog for ghosts and wares
* Issue management widget in signature dialog
* Shortcut for dialog opening in DevStudio and Builder

(references OpenFLUID#1038)
Arthoni added a commit to Arthoni/openfluid that referenced this issue Aug 29, 2023
* Signature edition dialog for ghosts and wares
* Issue management widget in signature dialog
* Shortcut for dialog opening in DevStudio and Builder

(references OpenFLUID#1038)
Arthoni added a commit to Arthoni/openfluid that referenced this issue Sep 1, 2023
* Signature edition dialog for ghosts and wares
* Issue management widget in signature dialog
* Shortcut for dialog opening in DevStudio and Builder

(references OpenFLUID#1038)
Arthoni added a commit to Arthoni/openfluid that referenced this issue Sep 1, 2023
* Signature edition dialog for ghosts and wares
* Issue management widget in signature dialog
* Shortcut for dialog opening in DevStudio and Builder

(references OpenFLUID#1038)
Arthoni added a commit to Arthoni/openfluid that referenced this issue Sep 12, 2023
* Signature edition dialog for ghosts and wares
* Issue management widget in signature dialog
* Shortcut for dialog opening in DevStudio and Builder

(references OpenFLUID#1038)
Arthoni added a commit that referenced this issue Sep 12, 2023
* Signature edition dialog for ghosts and wares
* Issue management widget in signature dialog
* Shortcut for dialog opening in DevStudio and Builder

(references #1038)
Arthoni added a commit to Arthoni/openfluid that referenced this issue Oct 26, 2023
Arthoni added a commit to Arthoni/openfluid that referenced this issue Oct 27, 2023
* adjusted wareshub.json references to openfluid-ware.json
* set previous signature macros as deprecated

(closes OpenFLUID#1038)
Arthoni added a commit to Arthoni/openfluid that referenced this issue Nov 2, 2023
* adjusted wareshub.json references to openfluid-ware.json
* set previous signature macros as deprecated

(closes OpenFLUID#1038)
@Arthoni Arthoni closed this as completed in 41e3f9f Nov 9, 2023
@Arthoni Arthoni mentioned this issue Apr 8, 2024
8 tasks
@Arthoni Arthoni reopened this Apr 23, 2024
DorianGerardin added a commit to DorianGerardin/openfluid that referenced this issue Apr 23, 2024
* Added methods to compare two json with recursion or not
* Added tests using these methods

(references OpenFLUID#1038
DorianGerardin added a commit to DorianGerardin/openfluid that referenced this issue Apr 23, 2024
* Added methods to compare two json with recursion or not
* Added tests using these methods
* Style Check

(references OpenFLUID#1038
DorianGerardin added a commit to DorianGerardin/openfluid that referenced this issue Apr 24, 2024
* Added methods to compare two json with recursion or not
* Added tests using these methods
* Style Check

(references OpenFLUID#1038)
Arthoni pushed a commit that referenced this issue Apr 24, 2024
* Added methods to compare two json with recursion or not
* Added tests using these methods
* Style Check

(references #1038)
@Arthoni Arthoni closed this as completed Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants