Skip to content

Commit 3b2c5ce

Browse files
Upgrade execution platform version and update CHANGELOG.md (#70)
2 parents 46c09e1 + cace737 commit 3b2c5ce

File tree

7 files changed

+34
-28
lines changed

7 files changed

+34
-28
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ All notable changes to the [Fluxnova Modeler](https://github.com/finos/fluxnova-
66

77
**\_Note:** Yet to be released changes appear here.\_
88

9+
## 1.2.0
10+
11+
- Added retry time cycle functionality for element templates
12+
- Enabled hybrid model for Karma to Jest to enable running of both suites in parallel
13+
- Add support for 2.0.0 execution platform version
14+
915
## 1.1.1
1016

1117
- Fixed issue with broken Monitoring link

babel.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module.exports = {
2-
presets: ['@babel/preset-env']
3-
};
2+
presets: [ '@babel/preset-env' ]
3+
};

client/src/app/__tests__/TabsProviderSpec.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ describe('TabsProvider', function() {
253253
const { file: { contents } } = tabsProvider.createTab('bpmn');
254254

255255
// then
256-
expect(contents).to.include('modeler:executionPlatformVersion="1.0.0"');
256+
expect(contents).to.include('modeler:executionPlatformVersion="2.0.0"');
257257
});
258258

259259

@@ -269,7 +269,7 @@ describe('TabsProvider', function() {
269269
const { file: { contents } } = tabsProvider.createTab('dmn');
270270

271271
// then
272-
expect(contents).to.include('modeler:executionPlatformVersion="1.0.0"');
272+
expect(contents).to.include('modeler:executionPlatformVersion="2.0.0"');
273273
});
274274

275275

@@ -285,7 +285,7 @@ describe('TabsProvider', function() {
285285
const { file: { contents } } = tabsProvider.createTab('form');
286286

287287
// then
288-
expect(contents).to.include('"executionPlatformVersion": "1.0.0"');
288+
expect(contents).to.include('"executionPlatformVersion": "2.0.0"');
289289
});
290290

291291
describe('invalid flag', function() {

client/src/app/tabs/bpmn/modeler/features/properties-panel-extension/JobExecutionExtensionProvider.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export default class JobExecutionExtensionProvider {
4040
}
4141
}
4242

43-
JobExecutionExtensionProvider.$inject = [ 'propertiesPanel' ];
43+
JobExecutionExtensionProvider.$inject = [ 'propertiesPanel' ];
4444

4545
function isAdjacentGroup(group) {
4646
const entries = group.entries;

client/src/util/Engines.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ export const ENGINE_PROFILES = [
2727
},
2828
{
2929
executionPlatform: ENGINES.FLUXNOVA,
30-
executionPlatformVersions: [ '1.0.0' ],
31-
latestStable: '1.0.0'
30+
executionPlatformVersions: [ '1.0.0' ,'2.0.0' ],
31+
latestStable: '2.0.0'
3232
}
3333
];
3434

client/src/util/__tests__/EnginesSpec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ describe('util/Engines', function() {
2929

3030
it('Camunda Platform', verifyLatestStable(ENGINES.PLATFORM, '7.22.0'));
3131

32-
it('Fluxnova Platform', verifyLatestStable(ENGINES.FLUXNOVA, '1.0.0'));
32+
it('Fluxnova Platform', verifyLatestStable(ENGINES.FLUXNOVA, '2.0.0'));
3333

3434
it('Camunda Cloud', verifyLatestStable(ENGINES.CLOUD, '8.6.0'));
3535

jest.config.js

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
const config = {
88

99
// The root directory that Jest should scan for tests and modules within
10-
rootDir: "./",
10+
rootDir: './',
1111

1212
// Automatically clear mock calls, instances, contexts and results before every test
1313
clearMocks: true,
@@ -17,42 +17,42 @@ const config = {
1717

1818
// An array of glob patterns indicating a set of files for which coverage information should be collected
1919
collectCoverageFrom: [
20-
"<rootDir>/client/src/**/*.js",
21-
"<rootDir>/app/**/*.js",
22-
"!<rootDir>/client/src/**/__tests__/**",
23-
"!<rootDir>/app/**/__tests__/**",
24-
"!<rootDir>/app/public/**",
25-
"!<rootDir>/app/preload/**",
20+
'<rootDir>/client/src/**/*.js',
21+
'<rootDir>/app/**/*.js',
22+
'!<rootDir>/client/src/**/__tests__/**',
23+
'!<rootDir>/app/**/__tests__/**',
24+
'!<rootDir>/app/public/**',
25+
'!<rootDir>/app/preload/**',
2626
],
2727

2828
// The directory where Jest should output its coverage files
29-
coverageDirectory: "<rootDir>/coverage",
29+
coverageDirectory: '<rootDir>/coverage',
3030

3131
// Indicates which provider should be used to instrument code for coverage
32-
coverageProvider: "v8",
32+
coverageProvider: 'v8',
3333

3434
// An object that configures minimum threshold enforcement for coverage results
35-
coverageThreshold: {
36-
global: {
35+
coverageThreshold: {
36+
global: {
3737
lines: 0,
3838
statements: 0,
39-
}
39+
}
4040
},
4141

4242
// The test environment that will be used for testing
43-
testEnvironment: "jsdom",
43+
testEnvironment: 'jsdom',
4444

4545
// The glob patterns Jest uses to detect test files
46-
testMatch: ["**/?(*.)+(spec|test).js"],
46+
testMatch: [ '**/?(*.)+(spec|test).js' ],
4747

4848
// A map from regular expressions to paths to transformers
4949
transform: {
50-
"^.+\\.(ts|js|jsx)$": "babel-jest",
51-
".+\\.(svg|css|styl|less|sass|scss|png|jpg|ttf|woff|woff2|jpeg)$":
52-
"jest-transform-stub",
53-
"^.+\\.(bpmn)$": "<rootDir>/jest-raw-loader.js",
50+
'^.+\\.(ts|js|jsx)$': 'babel-jest',
51+
'.+\\.(svg|css|styl|less|sass|scss|png|jpg|ttf|woff|woff2|jpeg)$':
52+
'jest-transform-stub',
53+
'^.+\\.(bpmn)$': '<rootDir>/jest-raw-loader.js',
5454
},
5555

5656
};
5757

58-
module.exports = config;
58+
module.exports = config;

0 commit comments

Comments
 (0)