Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

SCL-4101 Method parameter classes that have properties that are defined with arrays are correctly shown in the Swagger documentation

Description:

Rest and invokable method parameter classes that have properties that are defined with arrays, are shown correctly in the Swagger documentation.

The JSON that is generated for the Swagger documentation has the following format for properties that have indeterminate extents

Code Block
"<property-name>": {
  "type": "array",
  "items": {
    "x-ablType": "<property-abl-datatype>",
    "type": "<JSON-datatype>"
  }
}



Properties that have fixed extents have the minItems and maxItems values set to the EXTENT value in the property definition.

Code Block
"<property-name>": {
  "type": "array",
  "minItems": <array-size>,
  "maxItems": <array-size>,  
  "items": {
    "x-ablType": "<property-abl-datatype>",
    "type": "<JSON-datatype>"
  }
}



The Swagger UI deployed to PASOE may need to be updated in order for this information to be correctly displayed. See https://consultingwerk.atlassian.net/wiki/spaces/SCL/pages/1980137473/Keeping+Swagger+UI+up-to-date for more details on updating Swagger UI.

SCL-4148 Form title in Angular rendering now exposed as "formTitle"

Description:

Previously the form title has been assigned to a property “title” in the repository rendered JSON layout. This has now been changed to a property named “formTitle” to match the implementation of our Angular frontend library.

Improvement

SCL-3558 New QueryStyle property in IDatasetModel to control certain fetch data behaviour

Description:

A new property on the Consultingwerk.OERA.IDatasetModel interface and related classes (like Consultingwerk.OERA.DatasetModelPerformer) named QueryStyle controls how query expressions are added to the Consultingwerk.OERA.IFetchDataRequest implementations used to retrieve data. This property is used in the DatasetModel’s RetrieveData methods that have a parameter defined as Consultingwerk.IQueryExpression . RetrieveData methods that do not have such a parameter are not affected by this change.

For more detaiil on the behaviour of this property, see https://consultingwerk.atlassian.net/wiki/spaces/SCL/pages/1980792834/DatasetModel+QueryStyle+property .

SCL-3960 Providing ability to login to a GUI application using OAuth2 (eg Azure, Office 365)

Description:

We have implemented a new feature that allows to replace the login dialog of an OpenEdge GUI application with a browser interface authenticating with OAuth2 identify servers (OIDC) like Office 365.

The solution includes the following components:

* a login window based on CefSharp that drives the OIDC authentication flow
* a BeforeBrowser callback handler that retrieves the JWT token from the forward URL
* an Authentication Service that validates the JWT token
* two variants for validating the JWT token and retrieving the user name of the JWT
Token Exchange Service based on an PASOE ABL application
JwtTokenValidator service based on components of the .NET framework

More details can be found in the documentation: https://consultingwerk.atlassian.net/wiki/spaces/SCL/pages/1980792847/Configuring+the+Token+Exchange+Service

Or this YouTube presentation of the feature: https://www.youtube.com/watch?v=7iSFqqjk_Rk

Description:

We have implemented a new LinkType in the SmartComponent Library and the GUI for .NET repository rendering. The toolbar link can be set between a toolbar instance and a grid or viewer. The toolbar link causes that the action of a button is executed in the Viewer or Grid or their respective logic class rather than in the Form or the Form Logic class.

SCL-4105 Support SmartTable references to SmartDB tables with DatabaseName other than SmartDB

Description:

To complete the support for custom names for the SmartDB, we have now improved all code that references SmartDB tables from the SmartTable database table with the ability to mpa the database name to the database name configured in the Consultingwerk/products.i file.

SCL-4130 Added Reload button to the Repository Integrity Report form

Description:

We have added a reload button to the repository integrity report form. This button allows to rescan the repository without the need to close and reopen the form.

SCL-4132 Introduced SmartMessageFormHelper

Description:

.To simplify the use of localizable messages from the SmartDB SmartMessage table, we have introduced the SmartMessageFormHelper class. This class provides static API’s that combines retrieving messages from the IMessageProvider service with displaying it using the MessageFormHelper class.

No Format
/**
 * Purpose: Display Message based on a Message structure
 * Notes:
 * @param pcMessageGroup The message group to return
 * @param piMessageNumber The message number to return
 * @return The DialogResultEnum value
 */
method public static DialogResultEnum ShowMessage (pcMessageGroup as character,
                                                   piMessageNumber as integer):

...

SCL-4133 ActionType is now capable of NEW'ing TableModel instances through the Factory

Description:

The ActionType (component of Business Entity validation) is now capable of creating the TableModel instance using the IFactory Service. The TableModel instance is newed using the Factory service when the TableModelType is an Interface and not an actual class.

SCL-4134 ProparseHelper:ParseFile now uses FileHelper:FindFile()

Description:

The ParseFile method of the ProparseHelper is now resolving the file name to parse using the FileHelper:FindFile() API which performs a PROPATH search for the file.

SCL-4143 AppServerStartupManager now traps STOP conditions

Description:

The AppServerStartupManager now catches as logs STOP conditions raised during startup of the AppServer session.

SCL-4145 Angular DataField rendering now supports ViewAs TOGGLE-BOX

Description:

The rendering of DataFields for the Angular UI (JSON layout) now supports the ViewAs “TOGGLE-BOX” phrase in the repository. Fields with that attribute value will be rendered with the “checkbox” style.

Sub-task

SCL-4131 .NET method to validate JWT token

Description:

We have implemented the Consultingwerk.Windows.JwtAuth.JwtValidator class that supports validating a JWT token’s signature using API’s of the .NET framework.