Skip to main content
Question

How to drop a module in Git repository for Cloud


durette
Superhero (Customer)
Forum|alt.badge.img+19
  • Superhero (Customer)
  • 529 replies

We’ve decided to drop an integration module so we can rewrite it ourselves in a way that meets our business requirements.

 

Question 1:

When I remove the -Cust files in other modules that reference the custom module, I get build errors when I try to create the topic environment, as though the topic environment isn’t built from a clean slate. My workaround so far has been to rewrite these as nearly empty files, but I’d rather remove them. How can I remove -Cust files that are no longer needed from the customer solution repository in a way that allows the topic environment to successfully build without them?


Question 2:

Even after disabling the module in solutionset.yaml, the packages from the custom module are still showing up as invalid objects in the error logs from the topic environment (_ERROR_install.log). It fails to even get that far if I remove the line from solutionset.yaml altogether. What’s the right way to drop a module and its associated packages?

2 replies

dsj
Ultimate Hero (Partner)
Forum|alt.badge.img+22
  • Ultimate Hero (Partner)
  • 866 replies
  • January 17, 2024

Hi @durette,

 

In order to remove the database objects connected to an entity, you need to add a cleanup script (.cdb) to remove the included objects in the entity.

You can use Remove_XXX methods in DATABASE_SYS to remove different types of objects.

Check a sample script in this topic

how to obsolete files in Git Hub in IFS Cloud | IFS Community

This helps to solve the invalids in the topic env.

I’m not sure what’s the right way to remove an entire module. Tagging @Tomas Ruderfelt 😉

 

Cheers!

Damith


hamalk
Superhero (Employee)
Forum|alt.badge.img+13
  • Superhero (Employee)
  • 226 replies
  • January 18, 2024

Hi @durette 

If you want to remove a cust from from you solution repository, you can obsolete that file. Then the code generator no longer will consider that obsoleted file when generating code.

In order to obsolete you can use the RMB menu option available in the Developer studio tool. 

 

/Harshini


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings