🐛 BUG:Environment variables not working with simple app (SNOWPACK_ENV is not defined)

Quick checklist

[X] I am using the latest version of Snowpack and all plugins.

What package manager are you using?
npm
What operating system are you using?
Linux
Describe the bug
The __SNOWPACK_ENV__ is not injected in the app, either in dev or build mode.
I've made a try with my own projet (it uses last snowpack version, with only typescript plugin), and reproduced the bug with the app-template-blank or app-template-blank-typscript.
If I look at the build result, there is no env.js file generated in the build/_snowpack directory, and no import of __SNOWPACK_ENV__ added at the beginning of js files
The same test with app-template-vue is OK : I can use the value of my env variable, the env.js file is generated during the build process, and __SNOWPACK__ENV__ imports are added
Steps to reproduce

npx create-snowpack-app snowpack-template-blank --template @snowpack/app-template-blank

Add this line to snowpack.config.mjs env: { API_URL: 'api.google.com', },

Add this line to src/index.js console.log(${__SNOWPACK_ENV__.API_URL})

npm run start

Error! Unhandled Runtime Error ReferenceError: __SNOWPACK_ENV__ is not defined

Same steps using app-template-vue are fine
Link to minimal reproducible example (optional)
No response

I got it to work with the fix you suggested, it shows up in the build and is accessible by my js files, but the problem is that: it still doesn't solve the security problem as the env.js appears in the build with my API keys on there.
How do I go about this? Is this a minor fix? What am I missing?

Working for me with the fix !

thanks a lot !


weave hide failed, unable to restart weave

Docker hang after some time, then our watchdog kick docker by:
systemctl restart docker
Then, since weave depends on docker, systemd also stop weave and then start.
Stop weave:
weave hide
weave stop
weave hide hung, subsequently, weave start also did not come up.  I manually did a weave stop, then weave start.  Now, the weave node is not able to join.
Attached is the weave logs/inspect after I manually start up the weave containers (with weave start)

@baopx any update on this?

@baopx ping

I haven't seen this problem for a long time.  When I switched to separating weave components into different services (router.service, proxy.service, expose.service), restarting docker at random does not effect weave.
I have a test script that run this case from time to time.


Bouffalo SDK Build Log Flash/RAMs Usage

Hi,
Please add to the final build log the memory usage of the builded binary.
Regards.

You can do it by yourself in CMakeLists.txt (sorry, on the phone, so I can't give more precise solution, but Google is our friend 😁 )

It's better to add as a default to SDK.

Done


create a cross-namespace test

The fix for https://github.com/aws/karpenter/pull/2709 was put in, but we don't have an E2E test that verifies it.

I would like to add unit tests for the files

/remove-lifecycle stale


fix: eslint config error

:tada: This PR is included in version 6.2.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


az containerapp update --bind throws error "None"

Describe the bug
az containerapp update --bind throws error "None".
Related command
az containerapp update
Errors
I get the error message "None".
$ az containerapp update --name {ca-name} --resource-group {rg-name} --subscription {subscription-id} --bind {addon-name}
Argument '--bind' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
The behavior of this command has been altered by the following extension: containerapp
None
$

Issue script & Debug output
$ az containerapp update --name {ca-name} --resource-group {rg-name} --subscription {subscription-id} --bind {addon-name} --debug
cli.knack.cli: __init__ debug log:
Enable color in terminal.
Enable VT mode.
cli.knack.cli: Event: Cli.PreExecute []
cli.knack.cli: Event: CommandParser.OnGlobalArgumentsCreate [<function CLILogging.on_global_arguments at 0x000002A79366FBA0>, <function OutputProducer.on_global_arguments at 0x000002A7937F7D80>, <function CLIQuery.on_global_arguments at 0x000002A793839940>]
cli.knack.cli: Event: CommandInvoker.OnPreCommandTableCreate []
cli.azure.cli.core: Command index version or cloud profile is invalid or doesn't match the current command.
cli.azure.cli.core: Command index has been invalidated.
cli.azure.cli.core: Loading all modules and extensions
cli.azure.cli.core: Discovered command modules: ['acr', 'acs', 'advisor', 'ams', 'apim', 'appconfig', 'appservice', 'aro', 'backup', 'batch', 'batchai', 'billing', 'botservice', 'cdn', 'cloud', 'cognitiveservices', 'compute_recommender', 'config', 'configure', 'consumption', 'container', 'containerapp', 'cosmosdb', 'databoxedge', 'dla', 'dls', 'dms', 'eventgrid', 'eventhubs', 'extension', 'feedback', 'find', 'hdinsight', 'identity', 'interactive', 'iot', 'keyvault', 'kusto', 'lab', 'managedservices', 'maps', 'marketplaceordering', 'monitor', 'mysql', 'netappfiles', 'network', 'policyinsights', 'privatedns', 'profile', 'rdbms', 'redis', 'relay', 'resource', 'role', 'search', 'security', 'servicebus', 'serviceconnector', 'servicefabric', 'signalr', 'sql', 'sqlvm', 'storage', 'synapse', 'util', 'vm']
cli.azure.cli.core: Loading command modules:
cli.azure.cli.core: Name                  Load Time    Groups  Commands
cli.azure.cli.core: acr                       0.130        36       149
cli.azure.cli.core: acs                       0.044        14        77
cli.azure.cli.core: advisor                   0.007         3         6
cli.azure.cli.core: ams                       0.013        22       100
cli.azure.cli.core: apim                      0.015        14        69
cli.azure.cli.core: appconfig                 0.008         9        47
cli.azure.cli.core: appservice                0.118        79       270
cli.azure.cli.core: aro                       0.034         1        10
cli.azure.cli.core: backup                    0.007        16        60
cli.azure.cli.core: batch                     0.038        34       102
cli.azure.cli.core: batchai                   0.005        10        30
cli.azure.cli.core: billing                   0.025        19        53
cli.azure.cli.core: botservice                0.007        12        42
cli.azure.cli.core: cdn                       0.175         8        50
cli.azure.cli.core: cloud                     0.004         1         7
cli.azure.cli.core: cognitiveservices         0.007        10        33
cli.azure.cli.core: compute_recommender       0.008         1         1
cli.azure.cli.core: config                    0.006         2         7
cli.azure.cli.core: configure                 0.004         2         5
cli.azure.cli.core: consumption               0.046         8         9
cli.azure.cli.core: container                 0.020         1        11
cli.azure.cli.core: containerapp              0.155        37       123
cli.azure.cli.core: cosmosdb                  0.017        58       199
cli.azure.cli.core: databoxedge               0.017         5        28
cli.azure.cli.core: dla                       0.005        23        62
cli.azure.cli.core: dls                       0.005         7        41
cli.azure.cli.core: dms                       0.004         3        22
cli.azure.cli.core: eventgrid                 0.007        25        96
cli.azure.cli.core: eventhubs                 0.034        13        19
cli.azure.cli.core: extension                 0.002         1         7
cli.azure.cli.core: feedback                  0.002         1         2
cli.azure.cli.core: find                      0.004         1         1
cli.azure.cli.core: hdinsight                 0.012         9        42
cli.azure.cli.core: identity                  0.005         2        11
cli.azure.cli.core: interactive               0.002         1         1
cli.azure.cli.core: iot                       0.633        19        82
cli.azure.cli.core: keyvault                  0.009        20       113
cli.azure.cli.core: kusto                     0.006         3        14
cli.azure.cli.core: lab                       0.062         9        29
cli.azure.cli.core: managedservices           0.035         3         8
cli.azure.cli.core: maps                      0.004         5        13
cli.azure.cli.core: marketplaceordering       0.014         1         2
cli.azure.cli.core: monitor                   0.358        18        61
cli.azure.cli.core: mysql                     0.189        16        56
cli.azure.cli.core: netappfiles               0.101         8        17
cli.azure.cli.core: network                   0.077       103       339
cli.azure.cli.core: policyinsights            0.019         9        17
cli.azure.cli.core: privatedns                0.032        14        60
cli.azure.cli.core: profile                   0.003         2         8
cli.azure.cli.core: rdbms                     0.031        49       202
cli.azure.cli.core: redis                     0.004         7        38
cli.azure.cli.core: relay                     0.048         7         8
cli.azure.cli.core: resource                  0.017        51       231
cli.azure.cli.core: role                      0.003        17        61
cli.azure.cli.core: search                    0.016         7        19
cli.azure.cli.core: security                  0.020        48        98
cli.azure.cli.core: servicebus                0.016        12        15
cli.azure.cli.core: serviceconnector          0.063        20       309
cli.azure.cli.core: servicefabric             0.020        27        80
cli.azure.cli.core: signalr                   0.004         9        34
cli.azure.cli.core: sql                       0.021        56       215
cli.azure.cli.core: sqlvm                     0.036         4        20
cli.azure.cli.core: storage                   0.107        59       273
cli.azure.cli.core: synapse                   0.013        54       246
cli.azure.cli.core: util                      0.003         3         7
cli.azure.cli.core: vm                        0.055        58       269
cli.azure.cli.core: Total (66)                3.016      1206      4736
cli.azure.cli.core: Loading extensions:
cli.azure.cli.core: Name                  Load Time    Groups  Commands  Directory
cli.azure.cli.core: Total (2)                 0.093        50       141
cli.azure.cli.core: Loaded 1228 groups, 4845 commands.
cli.azure.cli.core: Updated command index in 0.004 seconds.
cli.knack.cli: Event: CommandInvoker.OnPreCommandTableTruncate [<function AzCliLogging.init_command_file_logging at 0x000002A795A04040>]
az_command_data_logger: command args: containerapp update --name {} --resource-group {} --subscription {} --bind {} --debug
cli.knack.cli: Event: CommandInvoker.OnPreArgumentLoad [<function register_global_subscription_argument.<locals>.add_subscription_parameter at 0x000002A7965825C0>]
cli.knack.cli: Event: CommandInvoker.OnPostArgumentLoad []
cli.knack.cli: Event: CommandInvoker.OnPostCommandTableCreate [<function register_ids_argument.<locals>.add_ids_arguments at 0x000002A796582660>, <function register_cache_arguments.<locals>.add_cache_arguments at 0x000002A7965827A0>, <function register_upcoming_breaking_change_info.<locals>.update_breaking_change_info at 0x000002A796582840>]
cli.knack.cli: Event: CommandInvoker.OnCommandTableLoaded []
cli.knack.cli: Event: CommandInvoker.OnPreParseArgs [<function _documentdb_deprecate at 0x000002A7990B4680>]
cli.knack.cli: Event: CommandInvoker.OnPostParseArgs [<function OutputProducer.handle_output_argument at 0x000002A7937F7E20>, <function CLIQuery.handle_query_parameter at 0x000002A7938399E0>, <function register_ids_argument.<locals>.parse_ids_arguments at 0x000002A796582700>]
az_command_data_logger: extension name: containerapp
az_command_data_logger: extension version: 1.0.0b3
Argument '--bind' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
cli.azure.cli.core.commands: The behavior of this command has been altered by the following extension: containerapp
cli.azure.cli.core.commands.client_factory: Getting management service client client_type=ResourceManagementClient
urllib3.util.retry: Converted retries value: 1 -> Retry(total=1, connect=None, read=None, redirect=None, status=None)
msal.authority: Initializing with Entra authority: https://login.microsoftonline.com/ec449cfa-3a33-4fde-ba33-ce11d541198d
msal.authority: openid_config("https://login.microsoftonline.com/ec449cfa-3a33-4fde-ba33-ce11d541198d/v2.0/.well-known/openid-configuration") = {'token_endpoint': 'https://login.microsoftonline.com/ec449cfa-3a33-4fde-ba33-ce11d541198d/oauth2/v2.0/token', 'token_endpoint_auth_methods_supported': ['client_secret_post', 'private_key_jwt', 'client_secret_basic'], 'jwks_uri': 'https://login.microsoftonline.com/ec449cfa-3a33-4fde-ba33-ce11d541198d/discovery/v2.0/keys', 'response_modes_supported': ['query', 'fragment', 'form_post'], 'subject_types_supported': ['pairwise'], 'id_token_signing_alg_values_supported': ['RS256'], 'response_types_supported': ['code', 'id_token', 'code id_token', 'id_token token'], 'scopes_supported': ['openid', 'profile', 'email', 'offline_access'], 'issuer': 'https://login.microsoftonline.com/ec449cfa-3a33-4fde-ba33-ce11d541198d/v2.0', 'request_uri_parameter_supported': False, 'userinfo_endpoint': 'https://graph.microsoft.com/oidc/userinfo', 'authorization_endpoint': 'https://login.microsoftonline.com/ec449cfa-3a33-4fde-ba33-ce11d541198d/oauth2/v2.0/authorize', 'device_authorization_endpoint': 'https://login.microsoftonline.com/ec449cfa-3a33-4fde-ba33-ce11d541198d/oauth2/v2.0/devicecode', 'http_logout_supported': True, 'frontchannel_logout_supported': True, 'end_session_endpoint': 'https://login.microsoftonline.com/ec449cfa-3a33-4fde-ba33-ce11d541198d/oauth2/v2.0/logout', 'claims_supported': ['sub', 'iss', 'cloud_instance_name', 'cloud_instance_host_name', 'cloud_graph_host_name', 'msgraph_host', 'aud', 'exp', 'iat', 'auth_time', 'acr', 'nonce', 'preferred_username', 'name', 'tid', 'ver', 'at_hash', 'c_hash', 'email'], 'kerberos_endpoint': 'https://login.microsoftonline.com/ec449cfa-3a33-4fde-ba33-ce11d541198d/kerberos', 'tenant_region_scope': 'AS', 'cloud_instance_name': 'microsoftonline.com', 'cloud_graph_host_name': 'graph.windows.net', 'msgraph_host': 'graph.microsoft.com', 'rbac_url': 'https://pas.windows.net'}
msal.application: Broker enabled? True
cli.azure.cli.core.auth.credential_adaptor: CredentialAdaptor.get_token: scopes=('https://management.core.windows.net//.default',), kwargs={}
cli.azure.cli.core.auth.msal_credentials: UserCredential.get_token: scopes=('https://management.core.windows.net//.default',), claims=None, kwargs={}
msal.application: Cache hit an AT
msal.telemetry: Generate or reuse correlation_id: e3af1d17-d9d7-4926-b8ce-7f736d496af0
cli.azure.cli.core.sdk.policies: Request method: 'GET'
cli.azure.cli.core.sdk.policies: Request headers:
cli.azure.cli.core.sdk.policies:     'Accept': 'application/json'
cli.azure.cli.core.sdk.policies:     'x-ms-client-request-id': '654f88ea-8d0f-11ef-b0b4-a0b3398c98ca'
cli.azure.cli.core.sdk.policies:     'CommandName': 'containerapp update'
cli.azure.cli.core.sdk.policies:     'ParameterSetName': '--name --resource-group --subscription --bind --debug'
cli.azure.cli.core.sdk.policies:     'User-Agent': 'AZURECLI/2.65.0 azsdk-python-core/1.28.0 Python/3.11.8 (Windows-10-10.0.22631-SP0)'
cli.azure.cli.core.sdk.policies:     'Authorization': '*****'
cli.azure.cli.core.sdk.policies: Request body:
cli.azure.cli.core.sdk.policies: This request has no body
urllib3.connectionpool: Starting new HTTPS connection (1): management.azure.com:443
cli.azure.cli.core.sdk.policies: Response status: 200
cli.azure.cli.core.sdk.policies: Response headers:
cli.azure.cli.core.sdk.policies:     'Cache-Control': 'no-cache'
cli.azure.cli.core.sdk.policies:     'Pragma': 'no-cache'
cli.azure.cli.core.sdk.policies:     'Content-Length': '27574'
cli.azure.cli.core.sdk.policies:     'Content-Type': 'application/json; charset=utf-8'
cli.azure.cli.core.sdk.policies:     'Expires': '-1'
cli.azure.cli.core.sdk.policies:     'x-ms-ratelimit-remaining-subscription-reads': '249'
cli.azure.cli.core.sdk.policies:     'x-ms-ratelimit-remaining-subscription-global-reads': '3749'
cli.azure.cli.core.sdk.policies:     'x-ms-request-id': '5a9fdc81-c600-415d-bea8-00ba188ddd59'
cli.azure.cli.core.sdk.policies:     'x-ms-correlation-request-id': '5a9fdc81-c600-415d-bea8-00ba188ddd59'
cli.azure.cli.core.sdk.policies:     'x-ms-routing-request-id': 'JAPANEAST:20241018T051107Z:5a9fdc81-c600-415d-bea8-00ba188ddd59'
cli.azure.cli.core.sdk.policies:     'Strict-Transport-Security': 'max-age=31536000; includeSubDomains'
cli.azure.cli.core.sdk.policies:     'X-Content-Type-Options': 'nosniff'
cli.azure.cli.core.sdk.policies:     'X-Cache': 'CONFIG_NOCACHE'
cli.azure.cli.core.sdk.policies:     'X-MSEdge-Ref': 'Ref A: DAA56D306C044A0795C54AE010E34D4E Ref B: TYO201100115021 Ref C: 2024-10-18T05:11:07Z'
cli.azure.cli.core.sdk.policies:     'Date': 'Fri, 18 Oct 2024 05:11:07 GMT'
cli.azure.cli.core.sdk.policies: Response content:
cli.azure.cli.core.sdk.policies: {"id":"/subscriptions/***/providers/Microsoft.App","namespace":"Microsoft.App","authorizations":[{"applicationId":"7e3bc4fd-85a3-4192-b177-5b8bfc87f42c","roleDefinitionId":"39a74f72-b40f-4bdc-b639-562fe2260bf0"},{"applicationId":"3734c1a4-2bed-4998-a37a-ff1a9e7bf019","roleDefinitionId":"5c779a4f-5cb2-4547-8c41-478d9be8ba90"},{"applicationId":"55ebbb62-3b9c-49fd-9b87-9595226dd4ac","roleDefinitionId":"e49ca620-7992-4561-a7df-4ed67dad77b5","managedByRoleDefinitionId":"9e3af657-a8ff-583c-a75c-2fe7c4bcb635"},{"applicationId":"1459b1f6-7a5b-4300-93a2-44b4a651759f","roleDefinitionId":"3c5f1b29-9e3d-4a22-b5d6-9ff4e5a37974"},{"applicationId":"2c7dd73f-7a21-485b-b97d-a2508fa152c3","roleDefinitionId":"8a9982ae-66df-4135-b8da-2655633c4a4c"},{"applicationId":"6104ad52-755e-428b-9fb5-5fdf4d2c4d53","roleDefinitionId":"472cfb56-379d-4465-84ff-17404641b16c"},{"applicationId":"409eb69a-5e20-4e1e-a8bf-c23300057950","roleDefinitionId":"e211c432-0a34-4b73-9303-2a489c814a1d"}],"resourceTypes":[{"resourceType":"managedEnvironments","locations":["West US 2","Southeast Asia","Sweden Central","Canada Central","West Europe","North Europe","East US","East US 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West US","Central US","North Central US","South Central US","Korea Central","Brazil South","West US 3","France Central","South Africa North","Norway East","Switzerland North","UAE North","Canada East","West Central US","UK West","Central India","Italy North","Poland Central","South India"],"apiVersions":["2024-03-01","2024-02-02-preview","2023-11-02-preview","2023-08-01-preview","2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01"],"defaultApiVersion":"2023-05-01","capabilities":"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["West US 2","Southeast Asia","Sweden Central","Canada Central","West Europe","North Europe","East US","East US 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West US","Central US","North Central US","South Central US","Korea Central","Brazil South","West US 3","France Central","South Africa North","Norway East","Switzerland North","UAE North","Canada East","West Central US","UK West","Central India","Italy North","Poland Central","South India"],"apiVersions":["2024-03-01","2024-02-02-preview","2023-11-02-preview","2023-08-01-preview","2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01"],"defaultApiVersion":"2023-05-01","capabilities":"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/managedCertificates","locations":["West US 2","Southeast Asia","Sweden Central","Canada Central","West Europe","North Europe","East US","East US 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West US","Central US","North Central US","South Central US","Korea Central","Brazil South","West US 3","France Central","South Africa North","Norway East","Switzerland North","UAE North","Canada East","West Central US","UK West","Central India","Italy North","Poland Central","South India"],"apiVersions":["2024-03-01","2024-02-02-preview","2023-11-02-preview","2023-08-01-preview","2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-05-01","capabilities":"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["West US 2","Southeast Asia","Sweden Central","Canada Central","West Europe","North Europe","East US","East US 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West US","Central US","North Central US","South Central US","Korea Central","Brazil South","West US 3","France Central","South Africa North","Norway East","Switzerland North","UAE North","Canada East","West Central US","UK West","Central India","Italy North","Poland Central","South India"],"apiVersions":["2024-03-01","2024-02-02-preview","2023-11-02-preview","2023-08-01-preview","2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01"],"defaultApiVersion":"2023-05-01","capabilities":"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, SupportsLocation"},{"resourceType":"containerApps/privateEndpointConnectionProxies","locations":["West US 2","Southeast Asia","Sweden Central","Canada Central","West Europe","North Europe","East US","East US 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West US","Central US","North Central US","South Central US","Korea Central","Brazil South","West US 3","France Central","South Africa North","Norway East","Switzerland North","UAE North","Canada East","West Central US","UK West","Central India","Italy North","Poland Central","South India"],"apiVersions":["2024-02-02-preview","2023-11-02-preview"],"defaultApiVersion":"2023-11-02-preview","capabilities":"None"},{"resourceType":"containerApps/resiliencyPolicies","locations":["West US 2","Southeast Asia","Sweden Central","Canada Central","West Europe","North Europe","East US","East US 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West US","Central US","North Central US","South Central US","Korea Central","Brazil South","West US 3","France Central","South Africa North","Norway East","Switzerland North","UAE North","Canada East","West Central US","UK West","Central India","Italy North","Poland Central","South India"],"apiVersions":["2024-02-02-preview","2023-11-02-preview","2023-08-01-preview"],"defaultApiVersion":"2024-02-02-preview","capabilities":"None"},{"resourceType":"managedEnvironments/privateEndpointConnectionProxies","locations":["West US 2","Southeast Asia","Sweden Central","Canada Central","West Europe","North Europe","East US","East US 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West US","Central US","North Central US","South Central US","Korea Central","Brazil South","West US 3","France Central","South Africa North","Norway East","Switzerland North","UAE North","Canada East","West Central US","UK West","Central India","Italy North","Poland Central","South India"],"apiVersions":["2024-02-02-preview","2023-11-02-preview"],"defaultApiVersion":"2023-11-02-preview","capabilities":"None"},{"resourceType":"spaces","locations":["Central US","East Asia","West Europe"],"apiVersions":["2023-11-02-preview"],"defaultApiVersion":"2023-11-02-preview","capabilities":"SupportsTags, SupportsLocation"},{"resourceType":"sessionPools","locations":["West US 2","North Europe","East US","East Asia","North Central US","Germany West Central","Poland Central","Italy North"],"apiVersions":["2024-02-02-preview","2023-11-02-preview","2023-08-01-preview"],"defaultApiVersion":"2024-02-02-preview","capabilities":"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, SupportsLocation"},{"resourceType":"jobs","locations":["West US 2","Southeast Asia","Sweden Central","Canada Central","West Europe","North Europe","East US","East US 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West US","Central US","North Central US","South Central US","Korea Central","Brazil South","West US 3","France Central","South Africa North","Norway East","Switzerland North","UAE North","Canada East","West Central US","UK West","Central India","Italy North","Poland Central","South India"],"apiVersions":["2024-03-01","2024-02-02-preview","2023-11-02-preview","2023-08-01-preview","2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-05-01","capabilities":"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2024-03-01","2024-02-02-preview","2023-11-02-preview","2023-08-01-preview","2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01"],"defaultApiVersion":"2023-05-01","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["West US 2","Southeast Asia","Sweden Central","Canada Central","West Europe","North Europe","East US","East US 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West US","Central US","North Central US","South Central US","Korea Central","Brazil South","West US 3","France Central","South Africa North","Norway East","Switzerland North","UAE North","Canada East","West Central US","UK West","Central India","Italy North","Poland Central","South India"],"apiVersions":["2024-03-01","2024-02-02-preview","2023-11-02-preview","2023-08-01-preview","2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01"],"defaultApiVersion":"2023-05-01","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["West US 2","Southeast Asia","Sweden Central","Canada Central","West Europe","North Europe","East US","East US 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West US","Central US","North Central US","South Central US","Korea Central","Brazil South","West US 3","France Central","South Africa North","Norway East","Switzerland North","UAE North","Canada East","West Central US","UK West","Central India","Italy North","Poland Central","South India"],"apiVersions":["2024-03-01","2024-02-02-preview","2023-11-02-preview","2023-08-01-preview","2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01"],"defaultApiVersion":"2023-05-01","capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["West US 2","Southeast Asia","Sweden Central","Canada Central","West Europe","North Europe","East US","East US 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West US","Central US","North Central US","South Central US","Korea Central","Brazil South","West US 3","France Central","South Africa North","Norway East","Switzerland North","UAE North","Canada East","West Central US","UK West","Central India","Italy North","Poland Central","South India"],"apiVersions":["2024-03-01","2024-02-02-preview","2023-11-02-preview","2023-08-01-preview","2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01"],"defaultApiVersion":"2023-05-01","capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["West US 2","Southeast Asia","Sweden Central","Canada Central","West Europe","North Europe","East US","East US 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West US","Central US","North Central US","South Central US","Korea Central","Brazil South","West US 3","France Central","South Africa North","Norway East","Switzerland North","UAE North","Canada East","West Central US","UK West","Central India","Italy North","Poland Central","South India"],"apiVersions":["2024-03-01","2024-02-02-preview","2023-11-02-preview","2023-08-01-preview","2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01"],"defaultApiVersion":"2023-05-01","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationResults","locations":["West US 2","Southeast Asia","Sweden Central","Canada Central","West Europe","North Europe","East US","East US 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West US","Central US","North Central US","South Central US","Korea Central","Brazil South","West US 3","France Central","South Africa North","Norway East","Switzerland North","UAE North","Canada East","West Central US","UK West","Central India","Italy North","Poland Central","South India"],"apiVersions":["2024-03-01","2024-02-02-preview","2023-11-02-preview","2023-08-01-preview","2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-05-01","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationStatuses","locations":["West US 2","Southeast Asia","Sweden Central","Canada Central","West Europe","North Europe","East US","East US 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West US","Central US","North Central US","South Central US","Korea Central","Brazil South","West US 3","France Central","South Africa North","Norway East","Switzerland North","UAE North","Canada East","West Central US","UK West","Central India","Italy North","Poland Central","South India"],"apiVersions":["2024-03-01","2024-02-02-preview","2023-11-02-preview","2023-08-01-preview","2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-05-01","capabilities":"None"},{"resourceType":"locations/sourceControlOperationResults","locations":["West US 2","Southeast Asia","Sweden Central","Canada Central","West Europe","North Europe","East US","East US 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West US","Central US","North Central US","South Central US","Korea Central","Brazil South","West US 3","France Central","South Africa North","Norway East","Switzerland North","UAE North","Canada East","West Central US","UK West","Central India","Italy North","Poland Central","South India"],"apiVersions":["2024-03-01","2024-02-02-preview","2023-11-02-preview","2023-08-01-preview","2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01"],"defaultApiVersion":"2023-05-01","capabilities":"None"},{"resourceType":"locations/sourceControlOperationStatuses","locations":["West US 2","Southeast Asia","Sweden Central","Canada Central","West Europe","North Europe","East US","East US 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West US","Central US","North Central US","South Central US","Korea Central","Brazil South","West US 3","France Central","South Africa North","Norway East","Switzerland North","UAE North","Canada East","West Central US","UK West","Central India","Italy North","Poland Central","South India"],"apiVersions":["2024-03-01","2024-02-02-preview","2023-11-02-preview","2023-08-01-preview","2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01"],"defaultApiVersion":"2023-05-01","capabilities":"None"},{"resourceType":"locations/usages","locations":["West US 2","Southeast Asia","Sweden Central","Canada Central","West Europe","North Europe","East US","East US 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West US","Central US","North Central US","South Central US","Korea Central","Brazil South","West US 3","France Central","South Africa North","Norway East","Switzerland North","UAE North","Canada East","West Central US","UK West","Central India","Italy North","Poland Central","South India"],"apiVersions":["2024-03-01","2024-02-02-preview","2023-11-02-preview","2023-08-01-preview","2023-05-02-preview"],"defaultApiVersion":"2023-05-02-preview","capabilities":"None"},{"resourceType":"operations","locations":["East Asia","North Central US","West Europe"],"apiVersions":["2024-03-01","2024-02-02-preview","2023-11-02-preview","2023-08-01-preview","2023-05-02-preview","2023-05-01","2023-04-01-preview","2023-02-01","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01"],"defaultApiVersion":"2023-11-02-preview","capabilities":"None"},{"resourceType":"connectedEnvironments","locations":["North Central US","East US","East Asia","West Europe","Southeast Asia"],"apiVersions":["2024-03-01","2024-02-02-preview","2023-11-02-preview","2023-08-01-preview","2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-05-01","capabilities":"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"connectedEnvironments/certificates","locations":["North Central US","East US","East Asia","West Europe","Southeast Asia"],"apiVersions":["2024-03-01","2024-02-02-preview","2023-11-02-preview","2023-08-01-preview","2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-05-01","capabilities":"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/connectedEnvironmentOperationResults","locations":["North Central US","East US","East Asia","West Europe","Southeast Asia"],"apiVersions":["2024-03-01","2024-02-02-preview","2023-11-02-preview","2023-08-01-preview","2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-05-01","capabilities":"None"},{"resourceType":"locations/connectedEnvironmentOperationStatuses","locations":["North Central US","East US","East Asia","West Europe","Southeast Asia"],"apiVersions":["2024-03-01","2024-02-02-preview","2023-11-02-preview","2023-08-01-preview","2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-05-01","capabilities":"None"},{"resourceType":"locations/managedCertificateOperationStatuses","locations":["West US 2","Southeast Asia","Sweden Central","Canada Central","West Europe","North Europe","East US","East US 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West US","Central US","North Central US","South Central US","Korea Central","Brazil South","West US 3","France Central","South Africa North","Norway East","Switzerland North","UAE North","Canada East","West Central US","UK West","Central India","Italy North","Poland Central","South India"],"apiVersions":["2024-03-01","2024-02-02-preview","2023-11-02-preview","2023-08-01-preview","2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-05-01","capabilities":"None"},{"resourceType":"locations/billingMeters","locations":["West US 2","Southeast Asia","Sweden Central","Canada Central","West Europe","North Europe","East US","East US 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West US","Central US","North Central US","South Central US","Korea Central","Brazil South","West US 3","France Central","South Africa North","Norway East","Switzerland North","UAE North","Canada East","West Central US","UK West","Central India","Italy North","Poland Central","South India"],"apiVersions":["2024-03-01","2024-02-02-preview","2023-11-02-preview","2023-08-01-preview","2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-05-01","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","locations":["West US 2","Southeast Asia","Sweden Central","Canada Central","West Europe","North Europe","East US","East US 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West US","Central US","North Central US","South Central US","Korea Central","Brazil South","West US 3","France Central","South Africa North","Norway East","Switzerland North","UAE North","Canada East","West Central US","UK West","Central India","Italy North","Poland Central","South India"],"apiVersions":["2024-03-01","2024-02-02-preview","2023-11-02-preview","2023-08-01-preview","2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-05-01","capabilities":"None"},{"resourceType":"getCustomDomainVerificationId","locations":["West US 2","Southeast Asia","Sweden Central","Canada Central","West Europe","North Europe","East US","East US 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West US","Central US","North Central US","South Central US","Korea Central","Brazil South","West US 3","France Central","South Africa North","Norway East","Switzerland North","UAE North","Canada East","West Central US","UK West","Central India","Italy North","Poland Central","South India"],"apiVersions":["2024-03-01","2024-02-02-preview","2023-11-02-preview","2023-08-01-preview","2023-05-02-preview"],"defaultApiVersion":"2023-05-02-preview","capabilities":"None"},{"resourceType":"builders","locations":["West US 2","Southeast Asia","Sweden Central","Canada Central","West Europe","North Europe","East US","East US 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West US","Central US","North Central US","South Central US","Korea Central","Brazil South","West US 3","France Central","South Africa North","Norway East","Switzerland North","UAE North","Canada East","West Central US","UK West","Central India","Italy North","Poland Central","South India"],"apiVersions":["2024-02-02-preview","2023-11-02-preview","2023-08-01-preview"],"defaultApiVersion":"2023-08-01-preview","capabilities":"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, SupportsLocation"},{"resourceType":"builders/builds","locations":["West US 2","Southeast Asia","Sweden Central","Canada Central","West Europe","North Europe","East US","East US 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West US","Central US","North Central US","South Central US","Korea Central","Brazil South","West US 3","France Central","South Africa North","Norway East","Switzerland North","UAE North","Canada East","West Central US","UK West","Central India","Italy North","Poland Central","South India"],"apiVersions":["2024-02-02-preview","2023-11-02-preview","2023-08-01-preview"],"defaultApiVersion":"2023-08-01-preview","capabilities":"None"},{"resourceType":"locations/OperationResults","locations":["West US 2","Southeast Asia","Sweden Central","Canada Central","West Europe","North Europe","East US","East US 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West US","Central US","North Central US","South Central US","Korea Central","Brazil South","West US 3","France Central","South Africa North","Norway East","Switzerland North","UAE North","Canada East","West Central US","UK West","Central India","Italy North","Poland Central","South India"],"apiVersions":["2024-02-02-preview","2023-11-02-preview","2023-08-01-preview"],"defaultApiVersion":"2023-08-01-preview","capabilities":"None"},{"resourceType":"locations/OperationStatuses","locations":["West US 2","Southeast Asia","Sweden Central","Canada Central","West Europe","North Europe","East US","East US 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West US","Central US","North Central US","South Central US","Korea Central","Brazil South","West US 3","France Central","South Africa North","Norway East","Switzerland North","UAE North","Canada East","West Central US","UK West","Central India","Italy North","Poland Central","South India"],"apiVersions":["2024-02-02-preview","2023-11-02-preview","2023-08-01-preview"],"defaultApiVersion":"2023-08-01-preview","capabilities":"None"},{"resourceType":"managedEnvironments/dotNetComponents","locations":["West US 2","Southeast Asia","Sweden Central","Canada Central","West Europe","North Europe","East US","East US 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West US","Central US","North Central US","South Central US","Korea Central","Brazil South","West US 3","France Central","South Africa North","Norway East","Switzerland North","UAE North","Canada East","West Central US","UK West","Central India","Italy North","Poland Central","South India"],"apiVersions":["2024-02-02-preview","2023-11-02-preview"],"defaultApiVersion":"2023-11-02-preview","capabilities":"None"},{"resourceType":"managedEnvironments/javaComponents","locations":["West US 2","Southeast Asia","Sweden Central","Canada Central","West Europe","North Europe","East US","East US 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West US","Central US","North Central US","South Central US","Korea Central","Brazil South","West US 3","France Central","South Africa North","Norway East","Switzerland North","UAE North","Canada East","West Central US","UK West","Central India","Italy North","Poland Central","South India"],"apiVersions":["2024-02-02-preview","2023-11-02-preview"],"defaultApiVersion":"2023-11-02-preview","capabilities":"None"},{"resourceType":"managedEnvironments/daprComponents","locations":["West US 2","Southeast Asia","Sweden Central","Canada Central","West Europe","North Europe","East US","East US 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West US","Central US","North Central US","South Central US","Korea Central","Brazil South","West US 3","France Central","South Africa North","Norway East","Switzerland North","UAE North","Canada East","West Central US","UK West","Central India","Italy North","Poland Central","South India"],"apiVersions":["2024-03-01","2024-02-02-preview","2023-11-02-preview","2023-08-01-preview","2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01"],"defaultApiVersion":"2023-05-01","capabilities":"None"},{"resourceType":"managedEnvironments/daprComponents/resiliencyPolicies","locations":["West US 2","Southeast Asia","Sweden Central","Canada Central","West Europe","North Europe","East US","East US 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West US","Central US","North Central US","South Central US","Korea Central","Brazil South","West US 3","France Central","South Africa North","Norway East","Switzerland North","UAE North","Canada East","West Central US","UK West","Central India","Italy North","Poland Central","South India"],"apiVersions":["2024-02-02-preview","2023-11-02-preview","2023-08-01-preview"],"defaultApiVersion":"2024-02-02-preview","capabilities":"None"},{"resourceType":"functions","locations":["West Central US","West US 2","Southeast Asia","Sweden Central","Canada Central","West Europe","North Europe","East US","East US 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West US","Central US","North Central US","South Central US","Korea Central","Brazil South","West US 3","France Central","South Africa North","Norway East","Switzerland North","UAE North","Canada East","UK West","Central India","Italy North","Poland Central","South India"],"apiVersions":["2024-02-02-preview"],"capabilities":"SupportsExtension"},{"resourceType":"logicApps","locations":["West Europe","East US","East Asia","North Central US","Southeast Asia"],"apiVersions":["2024-02-02-preview"],"capabilities":"SupportsExtension"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}
cli.azure.cli.core.commands.client_factory: Getting management service client client_type=ResourceManagementClient
urllib3.util.retry: Converted retries value: 1 -> Retry(total=1, connect=None, read=None, redirect=None, status=None)
msal.authority: Initializing with Entra authority: https://login.microsoftonline.com/ec449cfa-3a33-4fde-ba33-ce11d541198d
msal.authority: openid_config("https://login.microsoftonline.com/ec449cfa-3a33-4fde-ba33-ce11d541198d/v2.0/.well-known/openid-configuration") = {'token_endpoint': 'https://login.microsoftonline.com/ec449cfa-3a33-4fde-ba33-ce11d541198d/oauth2/v2.0/token', 'token_endpoint_auth_methods_supported': ['client_secret_post', 'private_key_jwt', 'client_secret_basic'], 'jwks_uri': 'https://login.microsoftonline.com/ec449cfa-3a33-4fde-ba33-ce11d541198d/discovery/v2.0/keys', 'response_modes_supported': ['query', 'fragment', 'form_post'], 'subject_types_supported': ['pairwise'], 'id_token_signing_alg_values_supported': ['RS256'], 'response_types_supported': ['code', 'id_token', 'code id_token', 'id_token token'], 'scopes_supported': ['openid', 'profile', 'email', 'offline_access'], 'issuer': 'https://login.microsoftonline.com/ec449cfa-3a33-4fde-ba33-ce11d541198d/v2.0', 'request_uri_parameter_supported': False, 'userinfo_endpoint': 'https://graph.microsoft.com/oidc/userinfo', 'authorization_endpoint': 'https://login.microsoftonline.com/ec449cfa-3a33-4fde-ba33-ce11d541198d/oauth2/v2.0/authorize', 'device_authorization_endpoint': 'https://login.microsoftonline.com/ec449cfa-3a33-4fde-ba33-ce11d541198d/oauth2/v2.0/devicecode', 'http_logout_supported': True, 'frontchannel_logout_supported': True, 'end_session_endpoint': 'https://login.microsoftonline.com/ec449cfa-3a33-4fde-ba33-ce11d541198d/oauth2/v2.0/logout', 'claims_supported': ['sub', 'iss', 'cloud_instance_name', 'cloud_instance_host_name', 'cloud_graph_host_name', 'msgraph_host', 'aud', 'exp', 'iat', 'auth_time', 'acr', 'nonce', 'preferred_username', 'name', 'tid', 'ver', 'at_hash', 'c_hash', 'email'], 'kerberos_endpoint': 'https://login.microsoftonline.com/ec449cfa-3a33-4fde-ba33-ce11d541198d/kerberos', 'tenant_region_scope': 'AS', 'cloud_instance_name': 'microsoftonline.com', 'cloud_graph_host_name': 'graph.windows.net', 'msgraph_host': 'graph.microsoft.com', 'rbac_url': 'https://pas.windows.net'}
msal.application: Broker enabled?  True
cli.azure.cli.core.util: Found subscription ID *** in the URL https://management.azure.com/subscriptions/***/resourceGroups/***/providers/Microsoft.App/managedEnvironments/***/javaComponents?api-version=2024-08-02-preview
cli.azure.cli.core.util: Retrieving token for resource https://management.core.windows.net/, subscription ***
urllib3.util.retry: Converted retries value: 1 -> Retry(total=1, connect=None, read=None, redirect=None, status=None)
msal.authority: Initializing with Entra authority: https://login.microsoftonline.com/ec449cfa-3a33-4fde-ba33-ce11d541198d
msal.authority: openid_config("https://login.microsoftonline.com/ec449cfa-3a33-4fde-ba33-ce11d541198d/v2.0/.well-known/openid-configuration") = {'token_endpoint': 'https://login.microsoftonline.com/ec449cfa-3a33-4fde-ba33-ce11d541198d/oauth2/v2.0/token', 'token_endpoint_auth_methods_supported': ['client_secret_post', 'private_key_jwt', 'client_secret_basic'], 'jwks_uri': 'https://login.microsoftonline.com/ec449cfa-3a33-4fde-ba33-ce11d541198d/discovery/v2.0/keys', 'response_modes_supported': ['query', 'fragment', 'form_post'], 'subject_types_supported': ['pairwise'], 'id_token_signing_alg_values_supported': ['RS256'], 'response_types_supported': ['code', 'id_token', 'code id_token', 'id_token token'], 'scopes_supported': ['openid', 'profile', 'email', 'offline_access'], 'issuer': 'https://login.microsoftonline.com/ec449cfa-3a33-4fde-ba33-ce11d541198d/v2.0', 'request_uri_parameter_supported': False, 'userinfo_endpoint': 'https://graph.microsoft.com/oidc/userinfo', 'authorization_endpoint': 'https://login.microsoftonline.com/ec449cfa-3a33-4fde-ba33-ce11d541198d/oauth2/v2.0/authorize', 'device_authorization_endpoint': 'https://login.microsoftonline.com/ec449cfa-3a33-4fde-ba33-ce11d541198d/oauth2/v2.0/devicecode', 'http_logout_supported': True, 'frontchannel_logout_supported': True, 'end_session_endpoint': 'https://login.microsoftonline.com/ec449cfa-3a33-4fde-ba33-ce11d541198d/oauth2/v2.0/logout', 'claims_supported': ['sub', 'iss', 'cloud_instance_name', 'cloud_instance_host_name', 'cloud_graph_host_name', 'msgraph_host', 'aud', 'exp', 'iat', 'auth_time', 'acr', 'nonce', 'preferred_username', 'name', 'tid', 'ver', 'at_hash', 'c_hash', 'email'], 'kerberos_endpoint': 'https://login.microsoftonline.com/ec449cfa-3a33-4fde-ba33-ce11d541198d/kerberos', 'tenant_region_scope': 'AS', 'cloud_instance_name': 'microsoftonline.com', 'cloud_graph_host_name': 'graph.windows.net', 'msgraph_host': 'graph.microsoft.com', 'rbac_url': 'https://pas.windows.net'}
msal.application: Broker enabled? True
cli.azure.cli.core.auth.msal_credentials: UserCredential.get_token: scopes=('https://management.core.windows.net//.default',), claims=None, kwargs={}
msal.application: Cache hit an AT
msal.telemetry: Generate or reuse correlation_id: c280c373-f41e-4963-b6e1-e65671e42c22
cli.azure.cli.core.util: Request URL: 'https://management.azure.com/subscriptions/***/resourceGroups/***/providers/Microsoft.App/managedEnvironments/***/javaComponents?api-version=2024-08-02-preview'
cli.azure.cli.core.util: Request method: 'GET'
cli.azure.cli.core.util: Request headers:
cli.azure.cli.core.util:     'User-Agent': 'python/3.11.8 (Windows-10-10.0.22631-SP0) AZURECLI/2.65.0'
cli.azure.cli.core.util:     'Accept-Encoding': 'gzip, deflate'
cli.azure.cli.core.util:     'Accept': '*/*'
cli.azure.cli.core.util:     'Connection': 'keep-alive'
cli.azure.cli.core.util:     'x-ms-client-request-id': 'dc4ac7f7-0647-4f8b-940f-ee0b205bdefe'
cli.azure.cli.core.util:     'CommandName': 'containerapp update'
cli.azure.cli.core.util:     'ParameterSetName': '--name --resource-group --subscription --bind --debug'
cli.azure.cli.core.util:     'Authorization': 'Bearer eyJ0eXAiOiJKV...'
cli.azure.cli.core.util: Request body:
cli.azure.cli.core.util: None
urllib3.connectionpool: Starting new HTTPS connection (1): management.azure.com:443
urllib3.connectionpool: https://management.azure.com:443 "GET /subscriptions/***/resourceGroups/***/providers/Microsoft.App/managedEnvironments/***/javaComponents?api-version=2024-08-02-preview HTTP/1.1" 400 738
cli.azure.cli.core.util: Response status: 400
cli.azure.cli.core.util: Response headers:
cli.azure.cli.core.util:     'Cache-Control': 'no-cache'
cli.azure.cli.core.util:     'Pragma': 'no-cache'
cli.azure.cli.core.util:     'Content-Length': '738'
cli.azure.cli.core.util:     'Content-Type': 'application/json; charset=utf-8'
cli.azure.cli.core.util:     'Expires': '-1'
cli.azure.cli.core.util:     'x-ms-failure-cause': 'gateway'
cli.azure.cli.core.util:     'x-ms-request-id': 'ce19ff21-a8d3-417a-9c05-35adc889c2e8'
cli.azure.cli.core.util:     'x-ms-correlation-request-id': 'ce19ff21-a8d3-417a-9c05-35adc889c2e8'
cli.azure.cli.core.util:     'x-ms-routing-request-id': 'JAPANEAST:20241018T051108Z:ce19ff21-a8d3-417a-9c05-35adc889c2e8'
cli.azure.cli.core.util:     'Strict-Transport-Security': 'max-age=31536000; includeSubDomains'
cli.azure.cli.core.util:     'X-Content-Type-Options': 'nosniff'
cli.azure.cli.core.util:     'X-Cache': 'CONFIG_NOCACHE'
cli.azure.cli.core.util:     'X-MSEdge-Ref': 'Ref A: 0D09F1CF501A4D1E81D74E4B17AFE0BE Ref B: TYO201151006054 Ref C: 2024-10-18T05:11:08Z'
cli.azure.cli.core.util:     'Date': 'Fri, 18 Oct 2024 05:11:07 GMT'
cli.azure.cli.core.util: Response content:
cli.azure.cli.core.util: {"error":{"code":"NoRegisteredProviderFound","message":"No registered resource provider found for location 'japaneast' and API version '2024-08-02-preview' for type 'managedEnvironments/javaComponents'. The supported api-versions are '2023-11-02-preview, 2024-02-02-preview'. The supported locations are 'northcentralusstage, westus2, southeastasia, swedencentral, canadacentral, westeurope, northeurope, eastus, eastus2, eastasia, australiaeast, germanywestcentral, japaneast, uksouth, westus, centralus, northcentralus, southcentralus, koreacentral, brazilsouth, westus3, francecentral, southafricanorth, norwayeast, switzerlandnorth, uaenorth, canadaeast, westcentralus, ukwest, centralindia, italynorth, polandcentral, southindia'."}}
cli.azure.cli.core.azclierror: Traceback (most recent call last):
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 703, in _run_job
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 336, in __call__
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/command_operation.py", line 121, in handler
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/util.py", line 1012, in send_raw_request
azure.cli.core.azclierror.HTTPError: Bad Request({"error":{"code":"NoRegisteredProviderFound","message":"No registered resource provider found for location 'japaneast' and API version '2024-08-02-preview' for type 'managedEnvironments/javaComponents'. The supported api-versions are '2023-11-02-preview, 2024-02-02-preview'. The supported locations are 'northcentralusstage, westus2, southeastasia, swedencentral, canadacentral, westeurope, northeurope, eastus, eastus2, eastasia, australiaeast, germanywestcentral, japaneast, uksouth, westus, centralus, northcentralus, southcentralus, koreacentral, brazilsouth, westus3, francecentral, southafricanorth, norwayeast, switzerlandnorth, uaenorth, canadaeast, westcentralus, ukwest, centralindia, italynorth, polandcentral, southindia'."}})

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/cli.py", line 233, in invoke
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 666, in execute
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 733, in _run_jobs_serially
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 725, in _run_job
azure.cli.core.azclierror.CLIInternalError: None

cli.azure.cli.core.azclierror: None
az_command_data_logger: None
cli.knack.cli: Event: Cli.PostExecute [<function AzCliLogging.deinit_cmd_metadata_logging at 0x000002A795A042C0>]
az_command_data_logger: exit code: 1
cli.__main__: Command ran in 5.144 seconds (init: 0.748, invoke: 4.396)
telemetry.main: Begin splitting cli events and extra events, total events: 1
telemetry.client: Accumulated 0 events. Flush the clients.
telemetry.main: Finish splitting cli events and extra events, cli events: 1
telemetry.main: Begin creating telemetry upload process.
telemetry.process: Return from creating process 16248
telemetry.main: Finish creating telemetry upload process.

Expected behavior
The command completes successfully and the bind is successful.
Environment Summary
azure-cli                         2.65.0
core                              2.65.0
telemetry                          1.1.0
Extensions:
containerapp                     1.0.0b3
ssh                                2.0.5
Dependencies:
msal                              1.31.0
azure-mgmt-resource               23.1.1
Python (Windows) 3.11.8 (tags/v3.11.8:db85d51, Feb  6 2024, 22:03:32) [MSC v.1937 64 bit (AMD64)]
Additional context
No response

Thank you for opening this issue, we will look into it.


Add logic to create flow logs in terraform-ibm-landing-zone-vpc module

Description
The flow log creation logic conceptually belong to this VPC module.
The logic is currently located in the landing-zone module (at https://github.com/terraform-ibm-modules/terraform-ibm-landing-zone/blob/main/main.tf#L39)
The objective of this ticket is to:

Move the flow log logic to this VPC module
Update the references in the landing-zone module

New or affected modules

terraform-ibm-landing-zone-vpc
terraform-ibm-landing-zone

By submitting this issue, you agree to follow our Code of Conduct

Tracking the second part of this in SLZ repo https://github.com/terraform-ibm-modules/terraform-ibm-landing-zone/issues/403 and closing this issue as all the dev work for VPC flow log logic has been completed in this module


[CAS] CI/CD System docs - Added support for Azure Pipelines, GitLab CI and BB Data Center

Jira ticket: https://redlock.atlassian.net/browse/BCE-33109
Added GitLab CI and Azure Pipelines to the list of sy=upported systems for CI/CD Systems. In addition removed the limitation for BB Data Center, adding this system to the list of supported systems
Please always provide the GitHub issue(s) your PR is for, as well as test URLs where your change can be observed (before and after):
Fix #
Test URLs:

Before: https://main--prisma-cloud-docs--hlxsites.hlx.page/
After: https://--prisma-cloud-docs--hlxsites.hlx.page/
Worker: https://prisma-cloud-docs-production.adobeaem.workers.dev/?branch=

Reviewed by @guygiat


UI of Wildlife Conservation forum updated #1369

I have updated the UI of Wildlife Conservation Forum
Before:

After:

Please merge this PR

@SaranshKhandelwal977 The before & after part looks the same. What changes you made ?

Changed the top and bottom margins .
Changes the margins of "share your thoughts" text and "Submit" button
Changed the font style of "discover" now it looks like that there will be some discussions below it.
The updated UI is looking more good after changing the margins

@SaranshKhandelwal977 The before & after part looks the same. What changes you made ?

Conflicting files
style.css
@SaranshKhandelwal977
Resolve the conflicts in the mentioned files. Ensure you pull all the latest changes before pushing your feature/bug fixes to the main branch.

@anuragverma108 ok I will do it

@anuragverma108 I have resolved the issues, please check.

@SaranshKhandelwal977 Awesome contribution to Hacktoberfest'24! 🎉 Your work is super valuable. Keep up the great work!


Sumo-NetFlow: first checkin

PR Details
First checkin
Description
First version of the app
Related Issue

Checklist

[x] Changes follows the best practices from the given docs.
[ ] Updated CHANGELOG.md.
[x] Ran unit tests locally.
[x] Updated screenshots/sample logs if any.

@netflowlogic-com Hello, please provide information regarding how to ingest/integrate netflow logic with sumo. You can refer this section as a reference for collecting logs for netflow logic.

For this screenshot, NetFlow/resources/screenshots/sumo_security_critical_ports.png, please upload one with all panels showing data, I see a en empty panel here.

For this screenshot, NetFlow/resources/screenshots/sumo_security_critical_ports.png, please upload one with all panels showing data, I see a en empty panel here.

This is expected. The screenshot was taken in our lab where is not inbound DNS traffic as we use Google DNS in o0ur lab, IP addresses <IP_ADDRESS> and <IP_ADDRESS>

Hello! @imrago-medxnote @Thanks adding a line on each pipe, that's a good work!
I wanted to discuss regarding option to send the data to the Sumologic via HTTP collect. Is it something we can implment as well?
Thanks

Hello! @imrago-medxnote @thanks adding a line on each pipe, that's a good work! I wanted to discuss regarding option to send the data to the Sumologic via HTTP collect. Is it something we can implement as well?
Thanks

Thanks, we created an endpoint and we are preparing for the sending.


Test "request should emit the errors in the req" fails with timeout

I note that Travis-CI shows the build passing, so maybe I've got some kind of incompatibility. I'm running using node version 0.10.36 on the Mac and 0.10.29 on a Debian BeagleBone image 2015-03-01. The same problem occurs on both using "npm test" to execute the tests. Here is the exact error...
1) request should emit the errors in the req:
     Error: timeout of 2000ms exceeded
      at null.<anonymous> (/root/node-coap/node_modules/mocha/lib/runnable.js:158:19)
      at Timer.listOnTimeout [as ontimeout] (timers.js:110:15)

Any suggestions? Thanks!

They all pass fine here with node v0.10.36 on the Mac.

This kind of errors may happen occasionally depending on the server load or other external conditions. Did you manage to repeat it? If it was a transient error, I think we can just let it pass (probably it was just a transient condition that trigger it). If you can repeat it deterministically, maybe something in your environment is blocking UDP packets, or maybe the Node version is not high enough. Please try with the version Mateo mentioned and repeat the tests.

tests were updated, i close this almost 3 years old ticket


Removed fmt dependency: was mostly being used for error handling.

fmt is a big dependency, and I'm looking for ways to remove it in my GopherJS-transpiled code. A lot of packages, including yours, pull fmt in just to use fmt.Errorf, when errors.New would do just as well.
All I've done is change the code to use errors. Tests all pass. :)
I may end up using your parser for a JS project I'm writing because the built-in encoding/json uses fmt also at present!

I'm open to merging this, would just prefer to have the old lines removed.  Thanks!

Sorry, forgot to remove those before committing, after the tests passed. :)

Merged, thanks!

Thanks! :)


Default Model gives poor testing result.

I am using the dataset specified by you with images in the format label_index.jpg. However, testing results are very poor.
Dataset being used is: https://node1.belval.org/test_dataset.zip. I stored it in data folder and extracted the images.
Command being executed:  python3 run.py -ex ./data/ --test --restore -bs 32
Output:
Use standard file APIs to check for files with this prefix.
Loading data
Testing
beignet
iiiii
apocynaceous
iiiii
arshine
iiiii
Why is the output always "iiiiii"?

I am using the dataset specified by you with images in the format label_index.jpg. However, testing results are very poor.
Dataset being used is: https://node1.belval.org/test_dataset.zip. I stored it in data folder and extracted the images.
Command being executed: python3 run.py -ex ./data/ --test --restore -bs 32
Output:
Use standard file APIs to check for files with this prefix.
Loading data
Testing
beignet
iiiii
apocynaceous
iiiii
arshine
iiiii
Why is the output always "iiiiii"?

I have the same problem. Have you solved it?

I have the same problem. Have you solved it?

I trained the model from scratch. Seems to be working but still not as satisfactory as CRNN should be. I am thinking of rewriting the library from scratch.

Indeed there seems to be a problem somewhere as I cannot train the model or get suitable predictions anymore. I'll investigate but since the code is in TF 1 I might just rewrite it in eager mode.

Did you identify the problem?


Make the ticket purchase confirmation email chat server agnostic

The ep2020 ticket purchase confirmation email reference Discord. Since we are not using it anymore, it makes sense to edit the email template...

@fpierfed I think you need to pull from the dev/ep2021 branch, since you workdir appears to be far behind the upstream.

@fpierfed I think you need to pull from the dev/ep2021 branch, since you workdir appears to be far behind the upstream.
yes: you are right


Implements #2383 Add syntax modes for FreeMarker template language

Woah, test cases got really large, much larger than the implementation...
Adds syntax highlighting support for Apache FreeMarker, resolves #2383. Includes tests and samples for the website.

Language ID is freemarker2 since FreeMarker 3 will most likely change the syntax
FreeMarker actually defines 6 slightly different syntaxes. Therefore this commit adds the 6 language modes freemarker2.tag-*.interpolation-*. It also adds the mode freemarker2, which is an alias for freemarker2.tag-angle.interpolation-dollar, the default mode when using FreeMarker via the Java API.
If anybody has a better suggestion for naming the modes, feel free to suggest it.

(from the source code comment)
The grammar for FreeMarker 2.x. This tokenizer is intentionally limited to FreeMarker 2 as the next release FreeMarker 3 is a breaking change that will change the syntax, see:
https://cwiki.apache.org/confluence/display/FREEMARKER/FreeMarker+3
FreeMarker does not just have one grammar, it has 6 (!) different syntaxes.

3 possibilities for the tag syntax: angle, bracket, auto
2 possibilities for the interpolation syntax: dollar, bracket

These can be combined, resulting in 3*2=6 syntaxes. There's another tag syntax, but that one is legacy and therefore ignored by this tokenizer.

Angle tag syntax is like <#if true>...</#if>
Bracket tag syntax is like [#if true]...[/#if]
Auto tag syntax inspects the first directive and uses that.

Dollar interpolation syntax is like ${1+2}, bracket syntax like [=1+2].
To prevent duplicate code, there are factory functions that take a syntax mode and dynamically create the tokenizer for that mode. This does not affect performance since the tokenizer is created only once.
Auto mode is implemented via parser states. Each parser state exists three times, one for each tag syntax mode (e.g. default.auto, default.angle, default.bracket). Auto mode starts in default.auto and switches to default.angle or default.bracket when it encounters the first directive.
FreeMarker allows expressions within strings (a${1+2}b), but these are impossible to tokenize. String interpolation is not implemented via a mode change when encountering ${. Rather, FreeMarker tokenizes the string as a literal string first. Then, during the AST build phase, it creates a new parses and parses the unescaped string content.
This is adapted from the official JavaCC grammar for FreeMarker: https://github.com/apache/freemarker/blob/2.3-gae/src/main/javacc/FTL.jj
Taken from the above file, a short rundown of the basic parser states:

The lexer portion defines 5 lexical states:
DEFAULT, FM_EXPRESSION, IN_PAREN, NO_PARSE, and EXPRESSION_COMMENT.
The DEFAULT state is when you are parsing
text but are not inside a FreeMarker expression.
FM_EXPRESSION is the state you are in
when the parser wants a FreeMarker expression.
IN_PAREN is almost identical really. The difference
is that you are in this state when you are within
FreeMarker expression and also within (...).
This is a necessary subtlety because the
">" and ">=" symbols can only be used
within parentheses because otherwise, it would
be ambiguous with the end of a directive.
So, for example, you enter the FM_EXPRESSION state
right after a ${ and leave it after the matching }.
Or, you enter the FM_EXPRESSION state right after
an "<if" and then, when you hit the matching ">"
that ends the if directive,
you go back to DEFAULT lexical state.
If, within the FM_EXPRESSION state, you enter a
parenthetical expression, you enter the IN_PAREN
state.
Note that whitespace is ignored in the
FM_EXPRESSION and IN_PAREN states
but is passed through to the parser as PCDATA in the DEFAULT state.
NO_PARSE and EXPRESSION_COMMENT are extremely simple
lexical states.

It should be noted that there are another parser state not mentioned in the above excerpt: NO_DIRECTIVE is used as the initial starting state when parsing the contents of a string literal, which is allowed to contain interpolations, but no directives. However, note that FreeMarker first tokenizes a string literal as-is, then during the parsing stage, it takes the (unescaped) content of the string literal, and tokenizes + parses that content with a new child parser.

This is fantastic.  I have been testing it with my real world FreeMarker templates and its working exactly the way I would expect it to!

Holy cow, this is amazing. Well done, @blutorange !

Thank you for this PR! It seems like you put a lot of effort into this.
Generally, it looks really good. However, I did not review every single line of those added ~25k lines of code, especially not the tests. At ten lines per second, a "proper" review would take more than 40 minutes.
@alexdima what do you think how we should proceed here?

This looks very good and thorough, thank you very much!


Harmonize smoothing across modalities (hippocampus)

Thickness: no smooth -> 2mm
FLAIR, DWI, qT1: 10mm -> 2mm?

opening new issue for thickness


No imports are extracted from my Python file

I try to extract imports from https://github.com/src-d/hercules/blob/af2d8db70f287b52d2428d9887a69a10bc4d1f46/labours.py
I get an empty list.

For sure it works from command line tool. I got:
{"file":"labours.py","lang":"Python","imports":["argparse","datetime","matplotlib","matplotlib.pyplot","numpy","pandas","sys","warnings"]}

I am using the API
worker := imports.NewExtractor(imports.Config{})
file, err := worker.ExtractFrom("labours.py", blob.Data)

here is a code which works for me:
	e := imports.NewExtractor(imports.Config{})
	path := "/tmp/cs/labours.py"
	content, err := ioutil.ReadFile(path)
	if err != nil {
		panic(err)
	}
	f, err := e.ExtractFrom(path, content)
	if err != nil {
		panic(err)
	}

	fmt.Println(f.Path, "\n", f.Lang, "\n", f.Imports)

The exact same code from your snippet returns empty imports for me.

My go.mod:
github.com/src-d/imports v0.0.0-20191126145022-44fb89af6b7a

Tree sitter:
github.com/smacker/go-tree-sitter v0.0.0-20191120151204-b4adc5db3a99

I guess that I need to hack my go.mod to use your vendored tree sitter? Do you know how I can do it?

ohh OK - using go modules requires some hack (so far), so we have full version in vendor.
That's why temporary I compile it with GO111MODULE=off go build ./cmd/..

IMHO we should fork Maxim's bindings until our fixes get merged.


新版本的kto无效

报错'KTOTrainer' object has no attribute 'calculate_KL'

desirable_weight设置无效
/usr/local/lib/python3.10/dist-packages/swift/trainers/rlhf_trainer/kto_trainer.py:81: UserWarning:
     You have different amounts of desirable/positive and undesirable/negative examples but the

     weights on the desirable and undesirable losses don't seem to be in an ideal range. Based

     on your data, we recommend EITHER desirable_weight in [0.42, '0.56]

     or undesirable_weight in [1.8, 2.39] (but NOT BOTH).

     See the documentation on how to optimally set these weights.

warnings.warn(

Please use trl==0.10.* first, we will soon be compatible with trl==0.11.*

还是有第一个问题，脚本里设置了undesirable_weight，但是设置无效。
/code/llm_env/lib/python3.10/site-packages/swift/trainers/rlhf_trainer/kto_trainer.py:81: UserWarning:
        You have different amounts of desirable/positive and undesirable/negative examples but the

        weights on the desirable and undesirable losses don't seem to be in an ideal range. Based

        on your data, we recommend EITHER desirable_weight in [0.42, '0.56]

        or undesirable_weight in [1.8, 2.39] (but NOT BOTH).

        See the documentation on how to optimally set these weights.


Add pyFirmata to Rosdep

Please add the following dependency to the rosdep database.
Package name:
python3-pyfirmata2-pip
Package Upstream Source:
https://github.com/berndporr/pyFirmata2
Purpose of using this:
A library for communicating with micro controllers over the Firmata protocol.
Distro packaging links:
Links to Distribution Packages

Python: https://pypi.org/project/pyFirmata2/

I changed the library to pyFirmata2 since it appears pyFirmata isn't being maintained anymore


Config Mime Types?

The page doesn't mention file MimeTypes, not how to changing them or configure them.
Why is it an issue for me? I just set up a static website (in Azure storage) and files just download instead of rendering in the browser! .html, .jpg. etc none of them just display.

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: dcd3f99a-f522-6edb-6d39-eac1bb917956
Version Independent ID: 69e9c1e5-8deb-8092-46f4-6646d076fbe4
Content: Static website hosting in Azure Storage
Content Source: articles/storage/blobs/storage-blob-static-website.md
Service: azure-blob-storage
GitHub Login: @normesta
Microsoft Alias: normesta

@SporeProductions
Thanks for your feedback! We will investigate and update as appropriate.

@SporeProductions
you're having trouble with your static website. Based on the information you provided, it seems like the issue might be related to the MIME types of your files.When you serve static content from Azure Storage, you need to make sure that the MIME types of your files are set correctly. If the MIME types are not set correctly, the files may not render properly in the browser.To set the MIME types of your files, you can use the Azure Portal, Azure CLI, or PowerShell. Here's how you can set the MIME types using the Azure Portal:

Sign in to the Azure portal.
Navigate to your storage account.
Click on the Containers tab.
Click on the container that contains your static website files.
Click on the Upload button to upload your files to the container.
After the files are uploaded, click on the ... button next to the file you want to set the MIME type for.
Click on Properties.
Under Content Settings, set the Content Type to the appropriate MIME type for your file.
Click on Save.
You can repeat steps 6-9 for each file that you want to set the MIME type for.

Thank you @RamanathanChinnappan-MSFT ,
I discovered the cause of my issue (it might even be a bug with your portal's upload function or it might be known quirk):
Issue: If I upload a folder structure of files to Azure Storage using the Web Portal's Upload option, then ALL files end up with the default ContentType of 'application/octet-stream'
Faster work-around solution: Though I could one-by-one manually edit the content types as suggested above, the faster solution is to re-upload the files, without folder structures. (eg: Go into a folder, re-upload all files that are there). Then all ContentTypes end up correct.

@SporeProductions
I appreciate your response!!
I'm glad to hear that you were able to identify the cause of your issue. It sounds like you were experiencing a problem with the default ContentType of 'application/octet-stream' being applied to all files when uploading a folder structure of files to Azure Storage using the Web Portal's Upload option. While it is possible to manually edit the content types one-by-one, you found a faster solution by re-uploading the files without folder structures. By going into each folder and re-uploading all files that are there, you were able to ensure that all ContentTypes end up correct. If you have any other questions or concerns, feel free to ask!

@SporeProductions
We are going to close this thread  if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.


Can't connect with browser

I've installed the repo, and I can view the image:
> docker-compose  images

         Container                   Repository            Tag       Image Id      Size
-----------------------------------------------------------------------------------------
golang-oauth2-example_app_1   golang-oauth2-example_app   latest   014c0f15dbeb   8.88 MB

When I change to the directory, and run there are no errors:
> APP_PORT=5000 DEBUG=true docker-compose up

Recreating golang-oauth2-example_app_1 ... done
Attaching to golang-oauth2-example_app_1
app_1  | 2021/08/04 08:58:00 Loaded config:
app_1  | 2021/08/04 08:58:00 Client ID:     <<<blah>>>
app_1  | 2021/08/04 08:58:00 Client Secret: <<<blah>>>
app_1  | 2021/08/04 08:58:00 RedirectURL: http://localhost:3000/auth/xero
app_1  | 2021/08/04 08:58:00 Hey there! I'm up and running, and can be accessed at: http://localhost:3000

However when I use a browser to connect I get this shown in the browser:
This site can’t be reached
localhost refused to connect.

I get the same error regardless of the port that I use, so all of these return the same error:
http://localhost:5000/
http://localhost:8000/
http://localhost:3000/
I'm running the app in a Fedora Linux VM.
In the same host, I can run the python app xero-python-oauth2-starter without any issues.
The firewall daemon is operating but shouldn't matter as I run the app and the browser in the same host anyway.
My version of Go is:
> go version
go version go1.16.6 linux/amd64

What I should check next to get a better idea of where the problem is?

Actually just tried with the native go command:
 go run .
go: downloading golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d
go: downloading gopkg.in/yaml.v2 v2.3.0
go: downloading golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e
2021/08/04 06:13:18 Hey there! I'm up and running, and can be accessed at: http://localhost:3000

This seems to work now and in the browser I get :
Log in to Xero with OAuth 2.0!
you know you want to


Support emitting map as an OpenTelemetry metric

Several different monitoring and observability solutions (like Grafana tempo) can natively visualize maps from timeseries data that follows a specific format.
If network mapper emits a OpenTelemetry timeseries with from and to edges, the connections inferred from network-mapper can be easily visualized and used in external tools for performance, inventory, and observability use-cases.

im trying to get this service-map into my tracing pipeline. Anyone got any good idea on how to send the servicemap as traces? Can it be converted somehow? I thought service-maps were supposed to be sent via traces?

The data here doesn't match 1:1 with traces, since they don't represent individual connections or requests, but rather the presence of any connection within a given time period.
See the configuration flags for the Helm chart for enabling this feature: https://docs.otterize.com/reference/network-mapper/helm-chart#opentelemetry-exporter-parameters
The default metric value should work out of the box with OpenTelemetry Grafana Tempo.

Ok! Thank you for your reply!
One last question: are the metrics the same as the ones produced by the ServiceGraphConnector  ?


Add documentation for integrations

Add documentation for all integrations.

Current dependencies on/for this PR:

main

PR #147   👈

This comment was auto-generated by Graphite.


Why there are negative response time?

Ask your question here
in page https://dubbo.apache.org/en/docs/v2.7/user/perf-test/, why Response time avg value has negative values?

This is a percentage difference

As it's not response time, it's better to split into separate table.

As it's not response time, it's better to split into separate table.

Yep, that would be better.


Example

Is it possible to get a basic example on how to

connect
post something to a producer
read something from a consumer?

Would also like a basic example. @Zhikter did you get anything working?

I landed up looking at the librdkafka examples and then translating them from C to pascal/delphi.
I use rd_kafka_produce which was not in uLibkafka.pas so I had to add it myself.
This code works on my machine using XE7. I am not making any promises. ;-p
Example.zip

@Zhikter That's a good start. Thanks :)

@Zhikter I took your example and wrote a new cross-platform (Windows/Linux) library around a fresh import of the Kafka header. It has a demo and several helpers and wrappers. You can take a look here - https://github.com/norgepaul/DelphiKafkaClient. Feedback is appreciated.


Fix workshop

Not a blocker: can you lowercase the main folder to fix and rename the subfolder? It feels weird to have FIX/fix

made these changes, please +2


Markyremarky

Replaces markdown-it with remark, so closes #1.
Also removes the highlight.js option in favor of using Prism. If we think it's worth including an option, we could easily reincorporate highlight.js with rehype-highlight. Or we could expose options for remark and rehype plugins, and remove syntax highlighting from this module ... 🤔

Decided for now to add options for remarkPlugins and rehypePlugins, and remove built-in syntax highlighting.


Scala 2.12.0-M5 Failed Tests Fix

Fixed failing tests when build using Scala 2.12.0-M5.

Hi @cheeseng, cc: @bvenners
AFIU, the problem is that we haven't imported scala.collection.JavaConverters._ as the error message indicates.
https://travis-ci.org/scalatest/scalatest/jobs/142128350#L673
Because we generate these test files automatically[1], I've added the import to the base classes such as ListShouldContainNoneOfLogicalAndSpec.scala[2]. On my local machine, it seems the compilation succeeded and tests passed with this change. What do you think?
[1] https://github.com/scalatest/scalatest/blob/3.0.x/project/GenContain1.scala#L126
[2] https://github.com/monkey-mas/scalatest/commit/9e6292688a11a13179d985435297d298bc9d833d

This PR is now out-dated, tests already passing in current 3.0.x using scala 2.12.4.


Updated TextMagnifierExampleApp to M3

This change is part of "step 3" in https://github.com/flutter/flutter/issues/127064.
Updated the TextMagnifierExampleApp to use Material3.

There's a golden image  that should be updated as part of this PR. I'm assuming that eventually the presubmit will ask me to approve the new golden image.

So I would have expected the API docs tests to have run and there would be an image at https://flutter-gold.skia.org/changelists in spite of the bot, but there is none. It looks like the API docs tests just did not run for this PR (filed https://github.com/flutter/flutter/issues/129390), in addition to the bot not noticing this was a PR that should be checked for golden file images (filed https://github.com/flutter/flutter/issues/129389).
So much discovery for one tiny PR! 🕵

Issues in last comment should be resolved by https://github.com/flutter/flutter/pull/129433 and https://github.com/flutter/cocoon/pull/2860
Once those land and deploy, a rebase here should have this all fixed up. :)

Once those land and deploy, a rebase here should have this all fixed up. :)

All is well. The golden image change was offered up and triaged by yours truly. Thanks for the quick fix!


foreach when developing the package expects GGIR to be installed

Following message from Matt in the google group:
In the foreach calls we use argument .packages = 'GGIR',  to specify that GGIR needs to be used.
When developing the GGIR code, this is not practical because we do not want to rebuild the package with every update of the code.
To do: investigate whether there is a better solution.

Whether it is installed may not be relevant, because in development mode we may like the package to source the actual R code and not to load the installed GGIR.
We can check whether GGIR is loaded with "GGIR" %in% .packages()
If TRUE, then we know that we are inside an installed package and we can pass on 'GGIR' to the foreach call.
If FALSE, then we know we are in development mode and we can pass on the GGIR functions that are available to the foreach loop directly with .export=c("g.analyse","g.getmeta", etcetera)
I am going to try to see whether this works.

It works. I am ow able to both switch from sourcing functions directly and to using functions available from an installed version of GGIR. I have tested with g.part2 and will now do the same for the other 4 parts. Next, I will push these to a development branch, and will sent you a review request when I am done.
Maybe good to clarify that when I am working on the code I usually have the following lines in an R script to source all the files in package directly. I have no idea how other R package developers do this, but for me it works. It avoid having to build the package every time. I am assuming you do something similar.
dirR = "/home/vincent/GGIR/R"
ffnames = dir(dirR) # creating list of filenames to source
for (i in 1:length(ffnames)) {
  source(paste(dirR,"/",ffnames[i],sep="")) #source functions
}
library("Rcpp") # also make the cpp functions available (only relevant for .cwa data files)
pathR = "/home/vincent/GGIR"
sourceCpp(paste0(pathR,"/src/numUnpack.cpp"))
sourceCpp(paste0(pathR,"/src/resample.cpp"))

yeah, I do the same thing, my sourcing script looks like this, as I don't generally use .cwa files:
all_files = dir('~/R/GGIR/R')
for (iFile in all_files) {
file_loc = paste0('~/R/GGIR/R/',iFile)
source(file_loc)
}

Thanks Matt, did you see my review request here?

Yes, I’m having a look at it now
From: Vincent van Hees<EMAIL_ADDRESS>Sent: September 16, 2019 11:03 AM
To: wadpac/GGIR<EMAIL_ADDRESS>Cc: Matt Patterson<EMAIL_ADDRESS>Assign<EMAIL_ADDRESS>Subject: Re: [wadpac/GGIR] foreach when developing the package expects GGIR to be installed (#216)
Thanks Matt, did you see my review request here https://github.com/wadpac/GGIR/pull/222 ?
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub https://github.com/wadpac/GGIR/issues/216?email_source=notifications&email_token=AD477SRXZBUQDPNCSTJU4IDQJ6N37A5CNFSM4IU7DSFKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6ZOOBI#issuecomment-531818245 , or mute the thread https://github.com/notifications/unsubscribe-auth/AD477SVQNOQ3HTZ6JUR5E53QJ6N37ANCNFSM4IU7DSFA .  https://github.com/notifications/beacon/AD477SUAUE2DZJOMDFVHDSLQJ6N37A5CNFSM4IU7DSFKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6ZOOBI.gif


Google returns empty page when using PhantomJS

I have a script that uses Watir to log in a Google account. It works fine when using Watir::Browser.new :firefox, but if I use a headless browser like in the script below, it just returns an empty page.
capabilities = Selenium::WebDriver::Remote::Capabilities.phantomjs("phantomjs.page.settings.userAgent" => "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36")
driver       = Selenium::WebDriver.for :phantomjs, desired_capabilities: capabilities
browser      = Watir::Browser.new(driver)
browser.goto('https://accounts.google.com/ServiceLogin#identifier')
browser.html
# ""

If I try this same script with any other URL it works fine:
capabilities = Selenium::WebDriver::Remote::Capabilities.phantomjs("phantomjs.page.settings.userAgent" => "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36")
driver       = Selenium::WebDriver.for :phantomjs, desired_capabilities: capabilities
browser      = Watir::Browser.new(driver)
browser.goto('https://github.com')
browser.html
# "<!DOCTYPE html> (...)"

It doesn't raise any error, it just quickly returns the empty page HTML as above.
How can I debug this? Is there any way to see the status code in the server response? I guess the visit is being rejected, but I don't know why.
Thanks!

Using ngrok I've verified that the request this makes includes the specified User-Agent:
GET / HTTP/1.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36
Accept-Encoding: gzip, deflate
Accept-Language: es-ES,en,*

I'm using the latest selenium-webdriver (3.0.1).

Forget it, it works fine if I just use Watir::Browser.new :phantomjs - without all that capabilities and driver ceremony.

@jaimeiniesta yeah those capabilities looked other-than-what-I'm-used-to, but I've done nothing with AppleWebKit so far.

Reopening this as I could make it work when visiting http://google.com - but this keeps failing:
browser = Watir::Browser.new :phantomjs
browser.goto('https://accounts.google.com/ServiceLogin#identifier')
browser.html
# ""

I'm using phantomjs 2.0.0

This works for me with phantomjs 2.1.1 in Sierra.
So I think the answer is to upgrade phantomjs. (or don't use phantomjs because it is very rarely the best choice). :)

Cool, I just checked with phantomjs 2.1.1 it works fine in Sierra.
What do you mean with phantomjs not being the best choice? What headless browser capable of JS do you recommend? Thanks!

Depends on your platform and your reason for using headless.
But ghostdriver code in phantomjs hasn't been maintained in several years now, and it isn't any faster in most circumstances than chromedriver.
If you are running it on a machine that doesn't have a gui, then using xvfb with a real browser is definitely a better choice.

Thanks, I want to use it in Heroku, that's why it must be headless.

You can use xvfb on heroku.
On Nov 24, 2016 4:31 PM, "Jaime Iniesta"<EMAIL_ADDRESS>wrote:

Thanks, I want to use it in Heroku, that's why it must be headless.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/watir/watir/issues/498#issuecomment-262851803, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAvb4ZHD0TrWfRyPcpuQXbMHgJ2b-DF5ks5rBhA-gaJpZM4K7oQj
.

Check out these demo apps if you're interested in using headless or xvfb on heroku.  I'm using chrome, which may not be a fit if you require firefox, but maybe they will help?
https://github.com/jormon/minimal-chrome-on-heroku-xvfb
https://github.com/jormon/minimal-chrome-on-heroku