Skip to content

[BUG] APINames are not extracted #739

@jhuchler-iamds

Description

@jhuchler-iamds

Release version

v6.0.1.4

Describe the bug

The API is displayed in the log (trace) but is not written to a file. Everything else is extracted correctly.

Strangely, it works with the following configuration, but i don't need extractAll.

JSON is displayed there.

Expected behavior

Extract API with apiNames: value

Actual behavior

Extract api with apiNames value not possible

Reproduction Steps

workspaceNames:
- ignore

apiNames:
- myAPIName

backendNames:
- myBackendName

diagnosticNames:
#- ignore

loggerNames:
#- ignore

namedValueNames:
#- ignore

productNames:
#- ignore

subscriptionNames:
- mySubscriptionName

tagNames:
#- ignore

policyFragmentNames:
#- ignore

versionSetNames:
#- ignore

Debug Trace ends like this:

info: extractor[0]
      Writing API operation policy file /home/vsts/work/1/artifacts-from-portal/sharedproducts/apim/apimArtifacts/apis/myAPIName/operations/post-action/policy.xml...
dbug: Microsoft.FeatureManagement.FeatureManager[0]

This configuration doesn't extract apiNames:

workspaceNames:
- ignore

apiNames:
- myAPIName

backendNames:
- myBackendName

diagnosticNames:
- ignore

loggerNames:
- ignore

namedValueNames:
- myNamedValues

productNames:
- rfmint

subscriptionNames:
- mySubscriptionName

tagNames:
- ignore

policyFragmentNames:
- ignore

versionSetNames:
- ignore

Debug Trace ends like this:

dbug: Microsoft.FeatureManagement.FeatureManager[0]
      The feature definition for the feature 'Workspaces' was not found.
info: extractor[0]

The write is simply missing here, although the API or the content for the

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions