The sync between the gateway and the portal is working as expected. I am seeing the APIs with the "Set as Portal Managed Service" assertion included on the portal.
The issue is when I try to enable one... the process goes through but the API status doesn't get changed to "Enabled"... No error is displayed.
Doing a tail on the Catalina.out log I noticed a message saying
Document not found: /sitebuilder/content/groups/APIs/4b1b51ce-e3e2-4b96-97ae-f0a917c00426.xml
where the name of course is the API ID.
It appears that this XML file is not being created when the API is saved and activated.
Any thoughts or suggestions would be appreciated.
The API status is exactly updated by scheduler (login CMS -> Scheduler plugin, look at scheduleCron0 for scheduleUrl0).
The default interval of scheduleCron0 is 5 minutes. That means you should see the status change in 5 minutes.