mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-07-29 16:11:01 +03:00
feat(web): publish WS, HTTP services and OData by default
VRD now includes <ws>, <httpServices>, <standardOdata> elements so all service types are available out of the box. web-info shows [WS HTTP OData] tags per publication. Docs updated with service URL patterns and scenarios. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
31debfb61b
commit
028c5292d7
@@ -112,10 +112,20 @@ if ($pubMatches.Count -eq 0) {
|
||||
}
|
||||
}
|
||||
|
||||
# Detect published services
|
||||
$svcTags = @()
|
||||
if (Test-Path $vrdPath) {
|
||||
if ($vrdContent -match '<ws\s') { $svcTags += "WS" }
|
||||
if ($vrdContent -match '<httpServices\s') { $svcTags += "HTTP" }
|
||||
if ($vrdContent -match '<standardOdata\s') { $svcTags += "OData" }
|
||||
}
|
||||
$svcLabel = if ($svcTags.Count -gt 0) { " [" + ($svcTags -join " ") + "]" } else { "" }
|
||||
|
||||
$url = "http://localhost:$port/$appName"
|
||||
Write-Host " $appName" -ForegroundColor White -NoNewline
|
||||
Write-Host " $url" -ForegroundColor Gray -NoNewline
|
||||
Write-Host " $ibInfo" -ForegroundColor DarkGray
|
||||
Write-Host " $ibInfo" -ForegroundColor DarkGray -NoNewline
|
||||
Write-Host $svcLabel -ForegroundColor DarkCyan
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user