TIBCOSoftware / be-tools

Collection of tools to work with TIBCO BusinessEvents
https://www.tibco.com/products/tibco-businessevents
Other
8 stars 4 forks source link

Optimize Image creation to dynamically exclude artifacts #229

Closed vpatil-tibco closed 2 years ago

vpatil-tibco commented 3 years ago

Context Currently our image creations is 'one size fits all' paradigm. That causes a large image size even for basic cases configurations i.e. InMemory.

Idea here is to optimize our image creation. Few area's on how we can do is,

  1. Optimize based on cdd - OOB based on the cdd values for OM, Store, Metrics, etc.
  2. Exclude some obvious libs which will not come into place at runtime like cep-docker, etc.
  3. Exclude specific modules/jars - Allow end user based on their implementation needs to exclude certain libraries/modules, such as if using HTTP channel, they can exclude other channel jars or say remove JSON libraries if using only XML or remove predictive analytics libs if its not being used.
  4. Clean up some libs/config/bin/etc folder contents off JRE.

Alternatives None so far.

Has the feature been requested before? Yes

If the feature request is approved, would you be willing to submit a PR? Yes

nareshkumarthota commented 2 years ago

This feature is now available in master.

rameshpolishetti commented 2 years ago

Closing the issue as it is implemented.