Question

how to obsolete files in Git Hub in IFS Cloud

  • 10 July 2023
  • 2 replies
  • 166 views

Userlevel 3
Badge +7

Hi, 

By mistake we added entity in module and it is merged in master deployed.

Code is also deployed in Prod. Now we have to remove to code related to entity. 

what is the procedure to obselete entity/files.

Regards,

Kishore Nenwani 


2 replies

Userlevel 7
Badge +21

Create a new branch and delete the entity and related files (.entity, .views, .plsql, .storage) and projection and client files

Create a CDB script and drop the PLSQL objects using Database_SYS.Remove_XXX procedures.

 

Eg: how to remove a package:

DECLARE
package_name_ VARCHAR2(100) := 'C_YOUR_UNWANTED_API';

BEGIN
IF (database_SYS.Package_Exist(package_name_)) THEN
DATABASE_SYS.Remove_Package(package_name_);
END IF;
END;
/

 

Hope it helps!

Damith

Userlevel 3
Badge +7

Thanks Damith. I will check. 

Reply