I have two requirements to Setup ATG application.
1)I need to setup new module(as a cim product) through cim its like how we setup CRS(like product selection,datasource configuration,schema creation,data import etc...).
2)After creating new module in above setup if any new repository added or any schema changes happens in the new module i need to execute those changes only in new environment through cim.
Can any one have an idea how to approach above two requirements.
What you need is to define a CIM plugging for your module. Refer /cim directories in CRS modules(eg CommerceReferenceStore.Store.Storefront) to develop basic understanding how this works.
You can also refer CIM developers guide: