Skip to content

Commit

Permalink
Merge pull request #772 from aml-org/r/v5.1.5
Browse files Browse the repository at this point in the history
r/v5.1.5
  • Loading branch information
mansillafederico authored Jun 6, 2022
2 parents e1dbbcc + 18a581f commit 491d401
Show file tree
Hide file tree
Showing 40 changed files with 842 additions and 168 deletions.
7 changes: 5 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ def color = '#FF8C00'
def headerFlavour = "WARNING"
def publish_version
def projectName = "ALS"
def BRANCH_SUPPORT = "support"

node {
// Login to dockerhub to prevent rate-limiting. See https://salesforce.quip.com/aqcaAObOcXpF
Expand Down Expand Up @@ -230,7 +231,7 @@ pipeline {
when {
anyOf {
branch 'master'
branch 'support/*'
branch BRANCH_SUPPORT + '/*'
branch 'rc/*'
branch 'develop'
}
Expand All @@ -250,8 +251,10 @@ pipeline {
slackSend color: '#00FF00', channel: "${slackChannel}", message: "${projectName} Published RC ${publish_version}"
} else if (env.BRANCH_NAME == 'master') {
slackSend color: '#00FF00', channel: "${slackChannel}", message: ":ok_hand: ${projectName} Master Publish ${publish_version} OK! :ok_hand:"
} else if (currentBuild.getPreviousBuild().result != null && currentBuild.getPreviousBuild().result.toString() != 'SUCCESS') {
} else if (currentBuild.getPreviousBuild() != null && currentBuild.getPreviousBuild().result != null && currentBuild.getPreviousBuild().result.toString() != 'SUCCESS') {
slackSend color: '#00FF00', channel: "${slackChannel}", message: ":ok_hand: ${projectName} Back to Green!! :ok_hand:\n\tBranch: ${env.BRANCH_NAME}\n(See ${env.BUILD_URL})\n"
} else {
slackSend color: '#00FF00', channel: "${slackChannel}", message: ":ok_hand: ${projectName} build ${currentBuild.currentResult} !!! :ok_hand:\n\tBranch: ${env.BRANCH_NAME}\n(See ${env.BUILD_URL})\n"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,7 @@ import amf.core.client.scala.resource.ResourceLoader
import amf.core.internal.unsafe.PlatformSecrets
import org.mulesoft.als.common.dtoTypes.Position
import org.mulesoft.amfintegration.AmfImplicits.{AmfAnnotationsImp, BaseUnitImp}
import org.mulesoft.amfintegration.amfconfiguration.{
ALSConfigurationState,
EditorConfiguration,
EmptyProjectConfigurationState
}
import org.mulesoft.amfintegration.amfconfiguration.{ALSConfigurationState, EditorConfiguration, EmptyProjectConfigurationState}
import org.mulesoft.lsp.feature.common.{Range, Position => LspPosition}
import org.mulesoft.lsp.feature.selectionRange.SelectionRange
import org.scalatest.{AsyncFlatSpec, Matchers}
Expand Down Expand Up @@ -288,7 +284,7 @@ class SelectionRangeFinderTest extends AsyncFlatSpec with Matchers with Platform
| displayName: driver ID download
| get:
| is: [client-id-required]
| description: get mobile ordering master by driver ID
| description: get mobile ordering main by driver ID
| responses:
| 200:
| body:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ case class ProjectConfiguration(
/** @return
* main file computed uri. Folder plus main file.
*/
def rootUri: Option[String] = mainFile.map(m => m.substring(0, m.lastIndexOf(Fs.separatorChar)))
def rootUri: Option[String] =
mainFile.map(m => m.substring(0, m.lastIndexOf(Fs.separatorChar))) // todo: not sure what this is supposed to do

def containsInDependencies(uri: String): Boolean =
(validationDependency ++ extensionDependency ++ metadataDependency).contains(uri)
Expand Down
126 changes: 80 additions & 46 deletions als-node-client/node-package/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions als-node-client/node-package/typescript/als-node-client.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6580,6 +6580,11 @@ declare module '@aml-org/als-node-client' {
configuration?: AlsConfiguration
hotReload?: boolean
}

export type DidFocusParams = {
uri: String
version: number
}

export interface AlsClientCapabilities {
workspace?: WorkspaceClientCapabilities
Expand All @@ -6604,6 +6609,10 @@ declare module '@aml-org/als-node-client' {
export type AlsCapabilitiesNotification = {
type: NotificationType<AlsClientCapabilities>
}

export type DidFocusNotification = {
type: NotificationType<DidFocusParams>
}

export interface CleanDiagnosticTreeParams {
textDocument: TextDocumentIdentifier
Expand Down
14 changes: 7 additions & 7 deletions als-server/js/node-package/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 491d401

Please sign in to comment.