-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
save function fails when using: resourceOptimizerExtendedCompatibility #44
Comments
Hi @DidierFort, I have noticed that in my case I have The problem is that the |
Hi @optplx, I see the same suggestions with configurations that are successful. Regards, |
Hi @DidierFort thanks for confirming this. I have tried to update to v1 and re-build the CLI locally, and it did not solve the issue (maybe i have missed something though). However concerning the suggestedRuleFormat, I have tried to change a few lines successfully, but I don't really know the full impact of it. (More precisely, I have removed this part
Our issue is due to the warnings returned by the API call - which I think is not manageable through the CLI - but what we do with this warning could be left to us through some kind of configuration :/ My workaround for the moment is to alias |
I was having essentially the same enumeration error, but with the So, it seems that despite the "ruleFormat" all being set to "latest" the fact that "suggestedRuleFormat" was old (v2018-09-12) was causing the config to be validated against a version that lacked the example -
It would have really helped if the error had said literally anything about potential rule format mismatches :| |
Ran in to this issue again today with a different property and rule. In 2 days of searching for a fix my comment that I forgot existed was literally the only thing I could find that worked to get past these errors. Still hoping that one day this may be handled in a more graceful manner 🤞 |
We are evaluation options to fix that, but we do not have any ETA yet. |
Hello,
The save function fails when I use the resourceOptimizerExtendedCompatibility behavior.
The output looks like this:
There are validation errors: [ { "location": { "template": "config-snippets/performance.json", "variables": [], "location": "behaviors/7/name", "value": "resourceOptimizerExtendedCompatibility" }, "schemaLocation": "/definitions/behavior/allOf/0/properties/name", "detail": "instance value (\"resourceOptimizerExtendedCompatibility\") not found in enum (possible values: [\"adaptiveAcceleration\",\"adaptiveImageCompression\",\"advanced\",\"akamaizer\",\"akamaizerTag\",\"allHttpInCacheHierarchy\",\"allowCloudletsOrigins\",\"allowDelete\",\"allowOptions\",\"allowPatch\",\"allowPost\",\"allowPut\",\"allowTransferEncoding\",\"apiPrioritization\",\"applicationLoadBalancer\",\"audienceSegmentation\",\"autoDomainValidation\",\"baseDirectory\",\"breakConnection\",\"brotli\",\"cacheError\",\"cacheId\",\"cacheKeyIgnoreCase\",\"cacheKeyQueryParams\",\"cachePost\",\"cacheRedirect\",\"caching\",\"centralAuthorization\",\"chaseRedirects\",\"constructResponse\",\"cpCode\",\"customBehavior\",\"datastream\",\"denyAccess\",\"deviceCharacteristicCacheId\",\"deviceCharacteristicHeader\",\"dnsAsyncRefresh\",\"dnsPrefresh\",\"downstreamCache\",\"edgeConnect\",\"edgeImageConversion\",\"edgeLoadBalancingAdvanced\",\"edgeLoadBalancingDataCenter\",\"edgeLoadBalancingOrigin\",\"edgeOriginAuthorization\",\"edgeRedirector\",\"edgeScape\",\"edgeSideIncludes\",\"edgeWorker\",\"enhancedAkamaiProtocol\",\"failAction\",\"fastInvalidate\",\"firstPartyMarketing\",\"firstPartyMarketingPlus\",\"forwardRewrite\",\"frontEndOptimization\",\"gzipResponse\",\"healthDetection\",\"http2\",\"httpStrictTransportSecurity\",\"imOverride\",\"imageManager\",\"imageManagerVideo\",\"inputValidation\",\"instant\",\"instantConfig\",\"largeFileOptimization\",\"mPulse\",\"manualServerPush\",\"mobileSdkPerformance\",\"modifyIncomingRequestHeader\",\"modifyIncomingResponseHeader\",\"modifyOutgoingRequestHeader\",\"modifyOutgoingResponseHeader\",\"origin\",\"originCharacteristics\",\"persistentClientConnection\",\"persistentConnection\",\"personallyIdentifiableInformation\",\"phasedRelease\",\"preconnect\",\"predictivePrefetching\",\"prefetch\",\"prefetchable\",\"prefreshCache\",\"rapid\",\"readTimeout\",\"realUserMonitoring\",\"redirect\",\"redirectplus\",\"refererChecking\",\"removeQueryParameter\",\"removeVary\",\"report\",\"requestControl\",\"resourceOptimizer\",\"responseCode\",\"responseCookie\",\"rewriteUrl\",\"rumCustom\",\"saasDefinitions\",\"salesForceCommerceCloudClient\",\"salesForceCommerceCloudProvider\",\"scheduleInvalidation\",\"scriptManagement\",\"setVariable\",\"shutr\",\"simulateErrorCode\",\"siteShield\",\"sureRoute\",\"teaLeaf\",\"tieredDistribution\",\"timeout\",\"validateEntityTag\",\"verifyTokenAuthorization\",\"visitorPrioritization\",\"watermarkUrl\",\"webApplicationFirewall\",\"webSockets\",\"webdav\",\"akamaizertag\",\"edcheader\",\"enableallmethodscacheh\",\"edccacheid\",\"failaction\",\"audience_segmentation\",\"modincomingrespheader\",\"chaseredirects\",\"mediaclient\",\"cachekeyignorecase\",\"elb_origin\",\"denyaccess\",\"segmentedcontentprotection\",\"saasdefinitions\",\"cacheid\",\"setresponsecode\",\"basedir\",\"ip_geo_access\",\"asset_prioritization\",\"elb_data_center\",\"allowput\",\"visitor_prioritization\",\"aic\",\"removevary\",\"modincomingreqheader\",\"quicbeta\",\"token_auth_verify\",\"realUserAcceleration\",\"dnsasyncrefresh\",\"randomseek\",\"dnsprefresh\",\"cloudPerformanceIntelligence\",\"allowpost\",\"edgeoriginauth\",\"validateetag\",\"sim_error_codes\",\"protocoldowngrade\",\"sureroute\",\"networkconditionsheader\",\"edge_image_converter\",\"edgescape\",\"connecttimeout\",\"refererchecking\",\"segmentedmediaoptimization\",\"mediaoriginfailover\",\"modoutgoingrespheader\",\"siteshield\",\"scheduledinvalidation\",\"watermark_tokens\",\"prefetching\",\"readtimeout\",\"allowpatch\",\"edgeconnect\",\"largefileoptimizations\",\"tiereddistribution\",\"esi\",\"rumcustom\",\"elb_advanced\",\"bitratelimiting\",\"construct_response\",\"rum\",\"removeqsbyname\",\"allowoptions\",\"pii\",\"feo\",\"cpcode\",\"pconns\",\"cacheprefresh\",\"urlrewrite\",\"prefetchableobject\",\"breakconnect\",\"centralauth\",\"cache302\",\"modoutgoingreqheader\",\"save_post_dca_processing\",\"imagemanagement\",\"allowdelete\",\"mfro\",\"gzipresponse\",\"predictivecontentdelivery\",\"mdc\",\"conditionalOriginBehavior\",\"netsession\",\"edge_redirector\",\"thirdPartyOptimizer\",\"postcaching\",\"cachekeyqueryparams\",\"clientpconns\",\"predictiveprefetching\",\"objectcachingrestrictions\",\"downstreamcaching\",\"negativettl\",\"receiptdelivery\",\"setresponsecookie\",\"enhancedakamaiprotocol\",\"subcustomerenable\",\"waf\",\"reporting\",\"forward_rewrite\",\"hddata_advanced\",\"rmaoptimizations\",\"manifestrerouting\",\"healthdetect\",\"tcpoptimizations\",\"continuousDeployment\",\"cachekeyrewrite\"])", ...
My work around is to remove the behavior in the JSON file and add it back in the Property Manager UI.
Regards,
Didier
The text was updated successfully, but these errors were encountered: