aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/common/Makefile
diff options
context:
space:
mode:
authorMandeep Khinda <mandeep.khinda@amdocs.com>2018-03-26 23:30:25 +0000
committerMandeep Khinda <mandeep.khinda@amdocs.com>2018-03-27 00:41:51 +0000
commit67edf6d5de8e931c2a9d113178cdb5a9b03516c2 (patch)
treeba92aedf794b9536c558571ed0e0cd3716edbe3c /kubernetes/common/Makefile
parente4b9a6f9bea3b04f86ca86b004db1e32a0df5dc2 (diff)
adding K8s job completion utility
Integrating the Work that was originally done by SDC team: https://gerrit.onap.org/r/gitweb?p=sdc.git;a=tree;\ f=sdc-os-chef/kubernetes/sdc/templates/configmaps;hb=HEAD into the readiness image Issue-ID: OOM-832 Change-Id: Icb22a8d0a67495860008dc6d6960e043d982c668 Signed-off-by: Mandeep Khinda <mandeep.khinda@amdocs.com> Signed-off-by: Areli Fuss <af732p@intl.att.com>
Diffstat (limited to 'kubernetes/common/Makefile')
0 files changed, 0 insertions, 0 deletions
/* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { 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 © 2016-2018 European Support Limited
 *
 * 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 {VSPEditorFactoryWithLicensingData} from 'test-utils/factories/softwareProduct/SoftwareProductEditorFactories.js';
import {storeCreator} from 'sdc-app/AppStore.js';
import {actionTypes} from 'sdc-app/onboarding/softwareProduct/SoftwareProductConstants.js';

describe('SoftwareProduct Attachments - validation flow test: ', function () {

	it('candidate in process flag test', () => {
		const softwareProduct = VSPEditorFactoryWithLicensingData.build();
		const store = storeCreator({			
			softwareProduct: {
				softwareProductEditor: {data: softwareProduct},
				softwareProductQuestionnaire: {qdata: 'test', qschema: {type: 'string'}}
			}
		});		
		store.dispatch({
			type: actionTypes.CANDIDATE_IN_PROCESS,
			inProcess: true
		}); 
		let unsubscribe = store.subscribe(() => {
			expect(store.getState().softwareProduct.softwareProductEditor.data.onboardingOrigin).toEqual(true);			
		});							
		unsubscribe();
	});

});