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

BHAG: Reverse engineer solution items from codetemplates in an existing codebase #37

Open
jezzsantos opened this issue Apr 14, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@jezzsantos
Copy link
Owner

When using a toolkit midway through the development of an existing codebase, is it possible to use the existing code templates (of a toolkit) to identify existing code (in the codebase) that matches the code template [close enough] to derive new solution items with suggested configuration?

Here is the use case:

I build a new toolkit that helps build new Rest APIs in a particular codebase. The toolkit was [of course] based off of code templates that were extracted from that codebase to start with, with some configuration attributes to represent the variability of any API.
These code templates were then programmed (substitutions) with values from some pattern meta-model.

Now, after building the toolkit, and defining the code templates for that toolkit to realise new code in this codebase. I would then use to the toolkit to add/generate more APIs in that codebase. But that codebase (at this point in time) will no doubt have API's that were not generated by the toolkit.

Is it possible to find existing code (in that codebase) that matches (near enough - account for variance in human error) to a degree that allows the toolkit to reverse engineer or guess new solution configuration to represent the existing API's in the codebase? so that the user of the toolkit does not have to go back into the toolkit solution and add the configuration manually to represent the existing API's?

Perhaps to toolkit can do the majority of the heavy lifting, leaving the user of the toolkit to fill in some blanks of missing configuration (that could not be derived)?

@jezzsantos jezzsantos added the enhancement New feature or request label Apr 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant