aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichaelMorris <michael.morris@est.tech>2023-06-02 20:03:28 +0100
committerMichaelMorris <michael.morris@est.tech>2023-06-02 20:03:38 +0100
commit11abcf3163405b3dae8b0520da4babb007337a3b (patch)
treed413338e025b5e86c6e43a28e34846dcab98001c
parent1e714cdfe74978e95a06dac8b9500d84ea527cb9 (diff)
Release 1.13.0
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4524 Change-Id: I79fce5da5addcb66012bba5ce9e72764607463dc
-rw-r--r--releases/1.13.0-container.yaml22
1 files changed, 22 insertions, 0 deletions
diff --git a/releases/1.13.0-container.yaml b/releases/1.13.0-container.yaml
new file mode 100644
index 0000000000..1eb485d503
--- /dev/null
+++ b/releases/1.13.0-container.yaml
@@ -0,0 +1,22 @@
+distribution_type: 'container'
+container_release_tag: '1.13.0'
+project: 'sdc'
+log_dir: 'sdc-maven-docker-stage-master/1420/'
+ref: 1e714cdfe74978e95a06dac8b9500d84ea527cb9
+containers:
+ - name: 'sdc-backend'
+ version: '1.13-20230602T184923Z'
+ - name: 'sdc-backend-init'
+ version: '1.13-20230602T184923Z'
+ - name: 'sdc-backend-all-plugins'
+ version: '1.13-20230602T184923Z'
+ - name: 'sdc-cassandra'
+ version: '1.13-20230602T184923Z'
+ - name: 'sdc-cassandra-init'
+ version: '1.13-20230602T184923Z'
+ - name: 'sdc-frontend'
+ version: '1.13-20230602T184923Z'
+ - name: 'sdc-onboard-backend'
+ version: '1.13-20230602T184923Z'
+ - name: 'sdc-onboard-cassandra-init'
+ version: '1.13-20230602T184923Z'
{ color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
/*!
 * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
 * or implied. See the License for the specific language governing
 * permissions and limitations under the License.
 */
import UUID from 'uuid-js';

let toCustomUUID = (uuid) => {
	return 'U' + uuid.replace(/-/g, '');
};

let getUUID = function(num, isSync) {
	if (isSync) {
		let uuid;
		if (!num) {
			uuid = toCustomUUID(UUID.create().toString());
		} else {
			uuid = [];
			for (var i = 0; i < num; i++) {
				uuid[i] = toCustomUUID(UUID.create().toString());
			}
		}
		if (num === 1) {
			return uuid[0];
		} else {
			return uuid;
		}
	}
	return new Promise(resolve => {
		let uuid;
		if (!num) {
			uuid = toCustomUUID(UUID.create().toString());
		} else {
			uuid = [];
			for (var i = 0; i < num; i++) {
				uuid[i] = toCustomUUID(UUID.create().toString());
			}
		}
		setTimeout(() => resolve(uuid), 100);
	});
};

export default getUUID;