Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Possible to organize JS files into subfolders?

I am trying to organize my JavaScript resources into subfolders, but can't get it to work.
E.g., I would like to access (i.e. <includeURL>) "dev / resources / jsc /  {folder name} / {file name}.js".

Accessing "dev / resources / jsc / {file name}.js" works fine, but I would prefer having a hierarchical structure to keep the resources organized instead of dumping them all in one folder.

I develop my APIs using Visual Studio Code and use apigee-emulator-1.9.4 to test them. The error messages I get are:

EMULATOR ERROR Error parsing deployment report as JSON
EMULATOR ERROR Resource identifier does not match expected pattern organizations/{orgName}/environments/{envName}/resourcefiles/{resourceType}/{resourceName}/revisions/{revision}

Is it possible to organize JS resources into subfolders? If yes, how do I access them later on?

3 1 151
1 REPLY 1

Hi @Ian22 I don't think we support subfolder for organizing JS files. Can you please share the number of JS files you are having in a proxy? I would assume this will be smaller number for data transformations.