├── ajsc5 ├── ajsc-core │ ├── log │ │ ├── ajsc1.log │ │ └── ajsc2.log │ ├── .gitignore │ ├── src │ │ ├── main │ │ │ ├── groovy │ │ │ │ ├── META-INF │ │ │ │ │ └── MANIFEST.MF │ │ │ │ └── ajsc │ │ │ │ │ ├── CoverageIgnore.java │ │ │ │ │ ├── AjscConstant.groovy │ │ │ │ │ ├── rest │ │ │ │ │ └── AjscRestletHeaderFilterStrategy.java │ │ │ │ │ ├── ContextMgr.groovy │ │ │ │ │ └── http4 │ │ │ │ │ └── AjscHttpHeaderFilterStrategy.java │ │ │ └── java │ │ │ │ ├── ajsc │ │ │ │ ├── utils │ │ │ │ │ ├── AjscUtil.java │ │ │ │ │ └── SystemErrorHandlerUtil.java │ │ │ │ ├── exceptions │ │ │ │ │ └── RestError.java │ │ │ │ ├── beans │ │ │ │ │ └── interceptors │ │ │ │ │ │ ├── AjscInterceptor.java │ │ │ │ │ │ └── PPInterceptorConstants.java │ │ │ │ └── filter │ │ │ │ │ └── PassthruFilter.java │ │ │ │ └── com │ │ │ │ └── att │ │ │ │ └── ajsc │ │ │ │ ├── csi │ │ │ │ └── restmethodmap │ │ │ │ │ ├── HttpMethod.java │ │ │ │ │ ├── MethodMapperConstants.java │ │ │ │ │ ├── SparkUtils.java │ │ │ │ │ └── RouteMatcher.java │ │ │ │ └── beans │ │ │ │ └── PropertiesMapBean.java │ │ ├── test │ │ │ ├── resources │ │ │ │ ├── demo_v1.zip │ │ │ │ ├── OpenEjb.properties │ │ │ │ ├── RestError.txt │ │ │ │ ├── appprops │ │ │ │ │ ├── PostProcessorInterceptors.properties │ │ │ │ │ ├── PreProcessorInterceptors.properties │ │ │ │ │ ├── service-file-monitor.properties │ │ │ │ │ ├── app-intercepts.properties │ │ │ │ │ └── AAFUserRoles.properties │ │ │ │ ├── demo_v1_props.zip │ │ │ │ ├── runtimeEnvironment.zip │ │ │ │ ├── demo4-0.0.1-SNAPSHOT.jar │ │ │ │ ├── README.txt │ │ │ │ ├── extJars │ │ │ │ │ └── HelloWorld-0.0.1-SNAPSHOT.jar │ │ │ │ ├── PreProcessorInterceptors.properties │ │ │ │ ├── Introscope.properties │ │ │ │ ├── caet.properties │ │ │ │ └── conf │ │ │ │ │ ├── bean_def.xml │ │ │ │ │ └── bean_def2.xml │ │ │ ├── groovy │ │ │ │ └── README.txt │ │ │ └── java │ │ │ │ ├── ajsc │ │ │ │ ├── ManagementServletTest.java │ │ │ │ ├── HelloWorld.java │ │ │ │ └── DummyInterceptor.java │ │ │ │ └── com │ │ │ │ └── att │ │ │ │ └── ajsc │ │ │ │ └── test │ │ │ │ └── java │ │ │ │ ├── SystemParamsTest.java │ │ │ │ ├── SparkUtilsTest.java │ │ │ │ ├── CommonErrorsTest.java │ │ │ │ ├── CommonNamesTest.java │ │ │ │ ├── PropertiesMapBeanTest.java │ │ │ │ ├── RefresheableSimpleRouteMatcherTest.java │ │ │ │ ├── PassthruFilterTest.java │ │ │ │ ├── AJSCPropertiesMapTest.java │ │ │ │ ├── GUIDHelperTest.java │ │ │ │ ├── RouteMatchTest.java │ │ │ │ ├── CSIRESTExceptionTest.java │ │ │ │ ├── HelloWorldLoggerTest.java │ │ │ │ └── TestInterceptorClassTest.java │ │ └── domain │ │ │ └── groovy │ │ │ └── ajsc │ │ │ └── ServiceProperty.groovy │ ├── .settings │ │ ├── org.eclipse.m2e.core.prefs │ │ ├── org.eclipse.core.resources.prefs │ │ └── org.eclipse.jdt.core.prefs │ ├── dme2-fs-registry │ │ ├── service=comappcontextrestlet.att.ajsc.helloworld-1-0-0 │ │ │ └── com │ │ │ │ └── .test │ │ │ │ └── .att │ │ │ │ └── version=2.0.0 │ │ │ │ └── envContext=DEV │ │ │ │ ├── routeOffer=DEFAULT.lock │ │ │ │ └── routeOffer=DEFAULT.txt │ │ └── service=comappcontextatt-dme2-servlet.att.ajsc.helloworld-1-0-0 │ │ │ └── com │ │ │ └── .test │ │ │ └── .att │ │ │ └── version=2.0.0 │ │ │ └── envContext=DEV │ │ │ ├── routeOffer=DEFAULT.lock │ │ │ └── routeOffer=DEFAULT.txt │ └── .project ├── ajsc-api │ ├── .gitignore │ ├── .settings │ │ ├── org.eclipse.core.resources.prefs │ │ ├── org.eclipse.m2e.core.prefs │ │ └── org.eclipse.jdt.core.prefs │ ├── .project │ └── .classpath ├── ajsc-war │ ├── .gitignore │ ├── src │ │ └── main │ │ │ ├── webapp │ │ │ └── WEB-INF │ │ │ │ └── ajscJetty.jks │ │ │ └── resources │ │ │ ├── README.txt │ │ │ └── applicationContext.xml │ ├── .settings │ │ ├── org.eclipse.m2e.core.prefs │ │ ├── org.eclipse.core.resources.prefs │ │ └── org.eclipse.jdt.core.prefs │ └── .project ├── ajsc-archetype │ ├── .gitignore │ ├── .settings │ │ ├── org.eclipse.m2e.core.prefs │ │ ├── org.eclipse.core.resources.prefs │ │ └── org.eclipse.jdt.core.prefs │ ├── src │ │ └── main │ │ │ └── resources │ │ │ └── archetype-resources │ │ │ ├── services │ │ │ └── README.txt │ │ │ ├── src │ │ │ └── main │ │ │ │ ├── ajsc │ │ │ │ └── __artifactId_____namespaceVersion__ │ │ │ │ │ └── __artifactId__ │ │ │ │ │ └── __namespaceVersion__ │ │ │ │ │ ├── props │ │ │ │ │ └── module.props │ │ │ │ │ ├── lib │ │ │ │ │ └── README.txt │ │ │ │ │ ├── docs │ │ │ │ │ └── README.txt │ │ │ │ │ ├── routes │ │ │ │ │ ├── helloWorld.route │ │ │ │ │ ├── jaxrsExample.route │ │ │ │ │ └── helloServlet.route │ │ │ │ │ └── conf │ │ │ │ │ ├── HelloWorldBeans.xml │ │ │ │ │ └── jaxrsBeans.groovy │ │ │ │ ├── config │ │ │ │ ├── ajsc-chef.jks │ │ │ │ ├── ajscJetty.jks │ │ │ │ └── jul-redirect.properties │ │ │ │ ├── runtime │ │ │ │ ├── shiroRole │ │ │ │ │ ├── ajscadmin.json │ │ │ │ │ ├── contextadmin#default.json │ │ │ │ │ └── contextadmin#__module.ajsc.namespace.name__.json │ │ │ │ ├── shiroUserRole │ │ │ │ │ ├── ajsc#ajscadmin.json │ │ │ │ │ ├── ajsc#contextadmin#default.json │ │ │ │ │ └── ajsc#contextadmin#__module.ajsc.namespace.name__.json │ │ │ │ ├── context │ │ │ │ │ ├── default#0.context │ │ │ │ │ └── __module.ajsc.namespace.name__#__module.ajsc.namespace.version__.context │ │ │ │ ├── shiroUser │ │ │ │ │ └── ajsc.json │ │ │ │ └── deploymentPackage │ │ │ │ │ └── __module.ajsc.namespace.name__#__module.ajsc.namespace.version__.json │ │ │ │ ├── java │ │ │ │ ├── HelloWorld.java │ │ │ │ ├── JaxrsUserService.java │ │ │ │ └── JaxrsEchoService.java │ │ │ │ └── assemble │ │ │ │ └── ajsc_props_assembly.xml │ │ │ ├── ajsc-shared-config │ │ │ ├── etc │ │ │ │ ├── spm2.jks │ │ │ │ └── aft.properties │ │ │ └── README.txt │ │ │ └── bundleconfig-local │ │ │ ├── RELEASE_NOTES.txt │ │ │ ├── README.txt │ │ │ └── etc │ │ │ └── appprops │ │ │ ├── PostProcessorInterceptors.properties │ │ │ ├── PreProcessorInterceptors.properties │ │ │ ├── app-intercepts.properties │ │ │ └── AAFUserRoles.properties │ └── .project ├── ajsc-runner │ ├── .gitignore │ ├── .settings │ │ ├── org.eclipse.core.resources.prefs │ │ ├── org.eclipse.m2e.core.prefs │ │ └── org.eclipse.jdt.core.prefs │ ├── .project │ ├── src │ │ └── main │ │ │ └── java │ │ │ └── com │ │ │ └── att │ │ │ └── ajsc │ │ │ └── runner │ │ │ └── xml │ │ │ └── package-info.java │ └── .classpath ├── .settings │ ├── org.eclipse.core.resources.prefs │ └── org.eclipse.m2e.core.prefs ├── ajsc-bom │ ├── .settings │ │ ├── org.eclipse.core.resources.prefs │ │ └── org.eclipse.m2e.core.prefs │ └── .project ├── ajsc-archetype-parent │ ├── .settings │ │ ├── org.eclipse.core.resources.prefs │ │ └── org.eclipse.m2e.core.prefs │ └── .project └── .project ├── Camunda ├── sdk-camunda-archetype │ ├── src │ │ ├── test │ │ │ └── resources │ │ │ │ └── projects │ │ │ │ └── basic │ │ │ │ ├── goal.txt │ │ │ │ └── archetype.properties │ │ └── main │ │ │ └── resources │ │ │ └── archetype-resources │ │ │ ├── etc │ │ │ ├── keystore │ │ │ │ └── spm2.jks │ │ │ └── config │ │ │ │ ├── dynamic.properties │ │ │ │ └── aft.properties │ │ │ ├── src │ │ │ ├── main │ │ │ │ ├── webapp │ │ │ │ │ ├── images │ │ │ │ │ │ └── global.logo.png │ │ │ │ │ ├── docs │ │ │ │ │ │ └── example.html │ │ │ │ │ ├── index.html │ │ │ │ │ ├── jsp │ │ │ │ │ │ └── example.jsp │ │ │ │ │ ├── forms │ │ │ │ │ │ ├── request-loan.html │ │ │ │ │ │ ├── approve-loan.html │ │ │ │ │ │ └── example-embedded-start-log-message.html │ │ │ │ │ ├── jsf │ │ │ │ │ │ ├── example-display-value.xhtml │ │ │ │ │ │ ├── example-display-date.xhtml │ │ │ │ │ │ └── example-input-value.xhtml │ │ │ │ │ └── WEB-INF │ │ │ │ │ │ └── securityFilterRules.json │ │ │ │ ├── resources │ │ │ │ │ ├── META-INF │ │ │ │ │ │ ├── resources │ │ │ │ │ │ │ └── icd │ │ │ │ │ │ │ │ ├── images │ │ │ │ │ │ │ │ ├── expand.gif │ │ │ │ │ │ │ │ ├── collapse.gif │ │ │ │ │ │ │ │ ├── favicon.ico │ │ │ │ │ │ │ │ ├── throbber.gif │ │ │ │ │ │ │ │ ├── logo_small.png │ │ │ │ │ │ │ │ ├── wordnik_api.png │ │ │ │ │ │ │ │ ├── explorer_icons.png │ │ │ │ │ │ │ │ ├── favicon-16x16.png │ │ │ │ │ │ │ │ ├── favicon-32x32.png │ │ │ │ │ │ │ │ └── pet_store_api.png │ │ │ │ │ │ │ │ ├── fonts │ │ │ │ │ │ │ │ ├── DroidSans.ttf │ │ │ │ │ │ │ │ └── DroidSans-Bold.ttf │ │ │ │ │ │ │ │ ├── lib │ │ │ │ │ │ │ │ ├── jquery.slideto.min.js │ │ │ │ │ │ │ │ ├── jquery.wiggle.min.js │ │ │ │ │ │ │ │ └── highlight.9.1.0.pack_extended.js │ │ │ │ │ │ │ │ ├── css │ │ │ │ │ │ │ │ └── typography.css │ │ │ │ │ │ │ │ └── o2c.html │ │ │ │ │ │ └── processes.xml │ │ │ │ │ ├── bootstrap.properties │ │ │ │ │ ├── system.properties │ │ │ │ │ └── logmessages.properties │ │ │ │ ├── docker │ │ │ │ │ ├── startService.sh │ │ │ │ │ └── Dockerfile │ │ │ │ ├── kubernetes │ │ │ │ │ ├── kubectl.conf │ │ │ │ │ └── __rootArtifactId__-svc.yaml │ │ │ │ └── java │ │ │ │ │ ├── service │ │ │ │ │ ├── SpringService.java │ │ │ │ │ └── LogService.java │ │ │ │ │ ├── model │ │ │ │ │ └── HelloWorld.java │ │ │ │ │ ├── Routes.java │ │ │ │ │ ├── common │ │ │ │ │ └── LogMessages.java │ │ │ │ │ ├── WebConfig.java │ │ │ │ │ ├── workflow │ │ │ │ │ └── ProcessRequestDelegate.java │ │ │ │ │ ├── exception │ │ │ │ │ └── AjscExceptionMapper.java │ │ │ │ │ └── config │ │ │ │ │ └── CsiLoggingConfiguration.java │ │ │ └── test │ │ │ │ ├── jmeter │ │ │ │ └── README.md │ │ │ │ ├── lisa │ │ │ │ └── README.md │ │ │ │ ├── java │ │ │ │ └── service │ │ │ │ │ └── TestConfiguration.java │ │ │ │ └── resources │ │ │ │ └── application-test.properties │ │ │ ├── .gitignore │ │ │ └── README.md │ └── .gitignore ├── images │ ├── clean_package.jpg │ ├── spring_boot_run.jpg │ ├── ajsc6-camunda-add-archetype.jpg │ └── ajsc6-camunda-maven-project.jpg └── sdk-java-camunda-core │ ├── src │ ├── test │ │ └── java │ │ │ └── META-INF │ │ │ └── MANIFEST.MF │ └── main │ │ └── java │ │ └── com │ │ └── att │ │ └── ajsc │ │ └── camunda │ │ ├── core │ │ ├── AafCamundaRoles.java │ │ ├── AttCamundaService.java │ │ ├── AafCamundaRole.java │ │ ├── AttCamundaResourceEnum.java │ │ ├── AttCamundaPermissionEnum.java │ │ ├── AafCamundaPermission.java │ │ └── AttCamundaHistoryEvent.java │ │ └── config │ │ └── filter │ │ └── LazyProcessEnginesFilter.java │ ├── .gitignore │ └── README.md ├── cdp-pal └── cdp-pal │ ├── .settings │ ├── org.eclipse.core.resources.prefs │ ├── org.eclipse.m2e.core.prefs │ └── org.eclipse.jdt.core.prefs │ ├── cdp-pal-common │ ├── src │ │ ├── test │ │ │ ├── resources │ │ │ │ ├── META-INF │ │ │ │ │ └── services │ │ │ │ │ │ └── com.att.cdp.zones.Provider │ │ │ │ ├── log4j.properties │ │ │ │ └── com │ │ │ │ │ └── att │ │ │ │ │ └── cdp │ │ │ │ │ └── zones │ │ │ │ │ └── test │ │ │ │ │ └── provider.properties │ │ │ └── java │ │ │ │ └── com │ │ │ │ └── att │ │ │ │ └── cdp │ │ │ │ └── zones │ │ │ │ ├── model │ │ │ │ ├── OsTypeTest.java │ │ │ │ ├── TestFault.java │ │ │ │ ├── ArchitectureTest.java │ │ │ │ ├── HypervisorTypeTest.java │ │ │ │ ├── TestImage.java │ │ │ │ └── TestACL.java │ │ │ │ ├── spi │ │ │ │ └── model │ │ │ │ │ ├── TestConnectedFault.java │ │ │ │ │ ├── TestConnectedPersistentObject.java │ │ │ │ │ ├── ConnectedSnapshotTest.java │ │ │ │ │ ├── TestConnectedACL.java │ │ │ │ │ ├── TestConnectedTenant.java │ │ │ │ │ └── TestConnectedNetwork.java │ │ │ │ └── test │ │ │ │ ├── DummyProvider.java │ │ │ │ └── DummyTenant.java │ │ └── main │ │ │ └── java │ │ │ └── com │ │ │ └── att │ │ │ └── cdp │ │ │ ├── zones │ │ │ ├── spi │ │ │ │ ├── map │ │ │ │ │ └── package.html │ │ │ │ ├── package.html │ │ │ │ ├── model │ │ │ │ │ ├── package.html │ │ │ │ │ ├── ConnectedFault.java │ │ │ │ │ ├── ConnectedACL.java │ │ │ │ │ ├── ConnectedTemplate.java │ │ │ │ │ ├── ConnectedRoute.java │ │ │ │ │ ├── ConnectedLoadBalancerPool.java │ │ │ │ │ ├── ConnectedPersistentObject.java │ │ │ │ │ ├── ConnectedVirtualInterface.java │ │ │ │ │ ├── ConnectedLoadBalancerListener.java │ │ │ │ │ ├── ConnectedRouter.java │ │ │ │ │ ├── ConnectedSubnet.java │ │ │ │ │ ├── ConnectedLoadBalancerHealthMonitor.java │ │ │ │ │ ├── ConnectedRule.java │ │ │ │ │ ├── ConnectedPort.java │ │ │ │ │ └── ConnectedKeyPair.java │ │ │ │ ├── AbstractStack.java │ │ │ │ ├── AbstractPersistentObject.java │ │ │ │ └── AbstractSnapshot.java │ │ │ ├── package.html │ │ │ ├── model │ │ │ │ ├── ProtocolType.java │ │ │ │ ├── HttpMethodType.java │ │ │ │ ├── LoadBalancerStatusType.java │ │ │ │ ├── package.html │ │ │ │ ├── ServerBootSource.java │ │ │ │ ├── PersistentObject.java │ │ │ │ └── SessionPersistence.java │ │ │ ├── ObjectService.java │ │ │ └── Service.java │ │ │ └── exceptions │ │ │ ├── ContextConnectionException.java │ │ │ ├── TimeoutException.java │ │ │ ├── AuthorizationException.java │ │ │ ├── AuthenticationException.java │ │ │ └── NotLoggedInException.java │ └── .settings │ │ ├── org.eclipse.m2e.core.prefs │ │ ├── org.eclipse.core.resources.prefs │ │ └── org.eclipse.jdt.core.prefs │ └── cdp-pal-openstack │ ├── .settings │ ├── org.eclipse.m2e.core.prefs │ ├── org.eclipse.core.resources.prefs │ └── org.eclipse.jdt.core.prefs │ └── src │ ├── test │ ├── resources │ │ ├── com │ │ │ └── att │ │ │ │ └── cdp │ │ │ │ ├── openstack │ │ │ │ └── model │ │ │ │ │ └── DefaultSecurityGroup.json │ │ │ │ ├── mock-test.properties │ │ │ │ └── test.properties │ │ └── log4j.xml │ └── java │ │ └── com │ │ └── att │ │ └── cdp │ │ └── openstack │ │ └── model │ │ └── TestOpenStackACL.java │ └── main │ ├── resources │ └── META-INF │ │ └── services │ │ └── com.att.cdp.zones.Provider │ └── java │ └── com │ └── att │ └── cdp │ └── openstack │ ├── package.html │ ├── v1 │ └── OpenStackObjectService.java │ ├── heat │ ├── model │ │ └── ModelObject.java │ └── ConstraintDeserializer.java │ ├── exception │ └── UnmarshallException.java │ ├── CommonIdentityService.java │ └── model │ └── OpenStackLoadBalancerMember.java ├── att-camel-dme2-servlet ├── src │ ├── test │ │ ├── data │ │ │ └── logo.jpeg │ │ └── resources │ │ │ └── localhost.ks │ └── main │ │ ├── resources │ │ └── META-INF │ │ │ ├── NOTICE.txt │ │ │ └── services │ │ │ └── org │ │ │ └── apache │ │ │ └── camel │ │ │ └── component │ │ │ └── att-dme2-servlet │ │ └── java │ │ └── com │ │ └── att │ │ └── camel │ │ └── component │ │ └── dme2 │ │ └── servlet │ │ └── package.html ├── bin │ ├── src │ │ ├── test │ │ │ ├── data │ │ │ │ └── logo.jpeg │ │ │ ├── resources │ │ │ │ └── localhost.ks │ │ │ └── java │ │ │ │ └── com │ │ │ │ └── att │ │ │ │ └── camel │ │ │ │ └── component │ │ │ │ └── dme2 │ │ │ │ └── servlet │ │ │ │ ├── DME2ServletSetBodyTest.class │ │ │ │ └── ServletCamelRouterTestSupport.class │ │ └── main │ │ │ ├── java │ │ │ └── com │ │ │ │ └── att │ │ │ │ └── camel │ │ │ │ └── component │ │ │ │ └── dme2 │ │ │ │ └── servlet │ │ │ │ ├── DME2ServletComponent.class │ │ │ │ └── package.html │ │ │ └── resources │ │ │ └── META-INF │ │ │ ├── NOTICE.txt │ │ │ └── services │ │ │ └── org │ │ │ └── apache │ │ │ └── camel │ │ │ └── component │ │ │ └── att-dme2-servlet │ ├── .settings │ │ └── org.eclipse.m2e.core.prefs │ └── .project ├── .settings │ └── org.eclipse.m2e.core.prefs └── .project ├── .gitignore └── Jenkinsfile /ajsc5/ajsc-core/log/ajsc1.log: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ajsc5/ajsc-core/log/ajsc2.log: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ajsc5/ajsc-api/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | -------------------------------------------------------------------------------- /ajsc5/ajsc-core/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | -------------------------------------------------------------------------------- /ajsc5/ajsc-war/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | -------------------------------------------------------------------------------- /ajsc5/ajsc-archetype/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | -------------------------------------------------------------------------------- /ajsc5/ajsc-runner/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | -------------------------------------------------------------------------------- /Camunda/sdk-camunda-archetype/src/test/resources/projects/basic/goal.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ajsc5/ajsc-core/src/main/groovy/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /Camunda/images/clean_package.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/att/AJSC/master/Camunda/images/clean_package.jpg -------------------------------------------------------------------------------- /Camunda/sdk-java-camunda-core/src/test/java/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /ajsc5/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding/=UTF-8 3 | -------------------------------------------------------------------------------- /Camunda/images/spring_boot_run.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/att/AJSC/master/Camunda/images/spring_boot_run.jpg -------------------------------------------------------------------------------- /ajsc5/ajsc-api/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding/=UTF-8 3 | -------------------------------------------------------------------------------- /ajsc5/ajsc-bom/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding/=UTF-8 3 | -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding/=UTF-8 3 | -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/cdp-pal-common/src/test/resources/META-INF/services/com.att.cdp.zones.Provider: -------------------------------------------------------------------------------- 1 | com.att.cdp.zones.test.DummyProvider -------------------------------------------------------------------------------- /Camunda/images/ajsc6-camunda-add-archetype.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/att/AJSC/master/Camunda/images/ajsc6-camunda-add-archetype.jpg -------------------------------------------------------------------------------- /Camunda/images/ajsc6-camunda-maven-project.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/att/AJSC/master/Camunda/images/ajsc6-camunda-maven-project.jpg -------------------------------------------------------------------------------- /ajsc5/ajsc-archetype-parent/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding/=UTF-8 3 | -------------------------------------------------------------------------------- /ajsc5/ajsc-core/src/test/resources/demo_v1.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/att/AJSC/master/ajsc5/ajsc-core/src/test/resources/demo_v1.zip -------------------------------------------------------------------------------- /att-camel-dme2-servlet/src/test/data/logo.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/att/AJSC/master/att-camel-dme2-servlet/src/test/data/logo.jpeg -------------------------------------------------------------------------------- /ajsc5/ajsc-core/src/test/resources/OpenEjb.properties: -------------------------------------------------------------------------------- 1 | #Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 2 | services=services -------------------------------------------------------------------------------- /ajsc5/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /ajsc5/ajsc-core/src/test/resources/RestError.txt: -------------------------------------------------------------------------------- 1 | { 2 | "key":{ 3 | "status":"500", 4 | "MessageId":"3", 5 | "Message":"message" 6 | } 7 | } -------------------------------------------------------------------------------- /ajsc5/ajsc-core/src/test/resources/appprops/PostProcessorInterceptors.properties: -------------------------------------------------------------------------------- 1 | #Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. -------------------------------------------------------------------------------- /att-camel-dme2-servlet/bin/src/test/data/logo.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/att/AJSC/master/att-camel-dme2-servlet/bin/src/test/data/logo.jpeg -------------------------------------------------------------------------------- /ajsc5/ajsc-core/src/test/resources/demo_v1_props.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/att/AJSC/master/ajsc5/ajsc-core/src/test/resources/demo_v1_props.zip -------------------------------------------------------------------------------- /ajsc5/ajsc-war/src/main/webapp/WEB-INF/ajscJetty.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/att/AJSC/master/ajsc5/ajsc-war/src/main/webapp/WEB-INF/ajscJetty.jks -------------------------------------------------------------------------------- /ajsc5/ajsc-api/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /ajsc5/ajsc-bom/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /ajsc5/ajsc-core/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /ajsc5/ajsc-core/dme2-fs-registry/service=comappcontextrestlet.att.ajsc.helloworld-1-0-0/com/.test/.att/version=2.0.0/envContext=DEV/routeOffer=DEFAULT.lock: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ajsc5/ajsc-war/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /att-camel-dme2-servlet/src/test/resources/localhost.ks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/att/AJSC/master/att-camel-dme2-servlet/src/test/resources/localhost.ks -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /ajsc5/ajsc-archetype/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /ajsc5/ajsc-core/src/test/resources/runtimeEnvironment.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/att/AJSC/master/ajsc5/ajsc-core/src/test/resources/runtimeEnvironment.zip -------------------------------------------------------------------------------- /ajsc5/ajsc-runner/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding//src/main/java=UTF-8 3 | encoding/=UTF-8 4 | -------------------------------------------------------------------------------- /ajsc5/ajsc-runner/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /ajsc5/ajsc-war/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding//src/main/resources=UTF-8 3 | encoding/=UTF-8 4 | -------------------------------------------------------------------------------- /att-camel-dme2-servlet/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /att-camel-dme2-servlet/bin/src/test/resources/localhost.ks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/att/AJSC/master/att-camel-dme2-servlet/bin/src/test/resources/localhost.ks -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | blob/d00f1c0b520f25600d94411b682bf42c1eb84761/ajsc5/ajsc-surfsup-archetype/src/main/resources/archetype-resources/src/main/scripts/ajsc_scamper_config.sh 2 | -------------------------------------------------------------------------------- /ajsc5/ajsc-archetype/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding//src/main/resources=UTF-8 3 | encoding/=UTF-8 4 | -------------------------------------------------------------------------------- /ajsc5/ajsc-core/dme2-fs-registry/service=comappcontextatt-dme2-servlet.att.ajsc.helloworld-1-0-0/com/.test/.att/version=2.0.0/envContext=DEV/routeOffer=DEFAULT.lock: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ajsc5/ajsc-core/src/test/resources/demo4-0.0.1-SNAPSHOT.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/att/AJSC/master/ajsc5/ajsc-core/src/test/resources/demo4-0.0.1-SNAPSHOT.jar -------------------------------------------------------------------------------- /att-camel-dme2-servlet/bin/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /ajsc5/ajsc-archetype-parent/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /ajsc5/ajsc-archetype/src/main/resources/archetype-resources/services/README.txt: -------------------------------------------------------------------------------- 1 | Place any Deployment Packages (zips) in this folder to be deployed with your service. 2 | -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/cdp-pal-common/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/cdp-pal-openstack/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /ajsc5/ajsc-core/src/test/resources/README.txt: -------------------------------------------------------------------------------- 1 | #Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 2 | Test resources - part of maven standard directory layout 3 | -------------------------------------------------------------------------------- /ajsc5/ajsc-core/src/test/resources/appprops/PreProcessorInterceptors.properties: -------------------------------------------------------------------------------- 1 | #Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 2 | services =ajsc.DummyInterceptor -------------------------------------------------------------------------------- /ajsc5/ajsc-archetype/src/main/resources/archetype-resources/src/main/ajsc/__artifactId_____namespaceVersion__/__artifactId__/__namespaceVersion__/props/module.props: -------------------------------------------------------------------------------- 1 | EXAMPLE.PROPERTY=EXAMLE_VALUE -------------------------------------------------------------------------------- /ajsc5/ajsc-core/src/test/resources/extJars/HelloWorld-0.0.1-SNAPSHOT.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/att/AJSC/master/ajsc5/ajsc-core/src/test/resources/extJars/HelloWorld-0.0.1-SNAPSHOT.jar -------------------------------------------------------------------------------- /ajsc5/ajsc-core/dme2-fs-registry/service=comappcontextrestlet.att.ajsc.helloworld-1-0-0/com/.test/.att/version=2.0.0/envContext=DEV/routeOffer=DEFAULT.txt: -------------------------------------------------------------------------------- 1 | # 2 | #Tue Sep 11 18:35:18 EDT 2018 3 | -------------------------------------------------------------------------------- /ajsc5/ajsc-war/src/main/resources/README.txt: -------------------------------------------------------------------------------- 1 | #Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 2 | 3 | Application/Library resources - part of maven standard directory layout 4 | -------------------------------------------------------------------------------- /ajsc5/ajsc-core/src/test/groovy/README.txt: -------------------------------------------------------------------------------- 1 | #Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 2 | groovy test cases - part of maven standard directory layout (extended for grooyvy) 3 | -------------------------------------------------------------------------------- /ajsc5/ajsc-core/src/test/resources/PreProcessorInterceptors.properties: -------------------------------------------------------------------------------- 1 | #Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 2 | pathinfo=ajsc.beans.interceptors.CsiPostInterceptor 3 | -------------------------------------------------------------------------------- /ajsc5/ajsc-core/dme2-fs-registry/service=comappcontextatt-dme2-servlet.att.ajsc.helloworld-1-0-0/com/.test/.att/version=2.0.0/envContext=DEV/routeOffer=DEFAULT.txt: -------------------------------------------------------------------------------- 1 | # 2 | #Tue Sep 11 18:35:18 EDT 2018 3 | -------------------------------------------------------------------------------- /Camunda/sdk-camunda-archetype/src/main/resources/archetype-resources/etc/keystore/spm2.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/att/AJSC/master/Camunda/sdk-camunda-archetype/src/main/resources/archetype-resources/etc/keystore/spm2.jks -------------------------------------------------------------------------------- /ajsc5/ajsc-archetype/src/main/resources/archetype-resources/ajsc-shared-config/etc/spm2.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/att/AJSC/master/ajsc5/ajsc-archetype/src/main/resources/archetype-resources/ajsc-shared-config/etc/spm2.jks -------------------------------------------------------------------------------- /ajsc5/ajsc-archetype/src/main/resources/archetype-resources/src/main/config/ajsc-chef.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/att/AJSC/master/ajsc5/ajsc-archetype/src/main/resources/archetype-resources/src/main/config/ajsc-chef.jks -------------------------------------------------------------------------------- /ajsc5/ajsc-archetype/src/main/resources/archetype-resources/src/main/config/ajscJetty.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/att/AJSC/master/ajsc5/ajsc-archetype/src/main/resources/archetype-resources/src/main/config/ajscJetty.jks -------------------------------------------------------------------------------- /ajsc5/ajsc-archetype/src/main/resources/archetype-resources/src/main/runtime/shiroRole/ajscadmin.json: -------------------------------------------------------------------------------- 1 | {"shiroRoleClass":"ajsc.auth.ShiroRole","shiroRoleId":"ajscadmin","name":"ajscadmin","permissions":"[ajscadmin:*, ajsc:*]"} -------------------------------------------------------------------------------- /ajsc5/ajsc-archetype/src/main/resources/archetype-resources/bundleconfig-local/RELEASE_NOTES.txt: -------------------------------------------------------------------------------- 1 | #Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 2 | Place Release Notes here to provide updated Release information -------------------------------------------------------------------------------- /ajsc5/ajsc-archetype/src/main/resources/archetype-resources/src/main/runtime/shiroUserRole/ajsc#ajscadmin.json: -------------------------------------------------------------------------------- 1 | {"shiroUserRoleClass":"ajsc.auth.ShiroUserRole","shiroUserRoleId":"ajsc:ajscadmin","roleId":"ajscadmin","userId":"ajsc"} -------------------------------------------------------------------------------- /ajsc5/ajsc-archetype/src/main/resources/archetype-resources/bundleconfig-local/README.txt: -------------------------------------------------------------------------------- 1 | #Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 2 | The bundleconfig-local directory contains the necessary configuration files -------------------------------------------------------------------------------- /ajsc5/ajsc-archetype/src/main/resources/archetype-resources/src/main/runtime/shiroRole/contextadmin#default.json: -------------------------------------------------------------------------------- 1 | {"shiroRoleClass":"ajsc.auth.ShiroRole","shiroRoleId":"contextadmin:default","name":"contextadmin:default","permissions":"[]"} -------------------------------------------------------------------------------- /ajsc5/ajsc-archetype/src/main/resources/archetype-resources/src/main/ajsc/__artifactId_____namespaceVersion__/__artifactId__/__namespaceVersion__/lib/README.txt: -------------------------------------------------------------------------------- 1 | 3rd party JAR's needed by your jars (if any) for a ajsc deployment package go here... -------------------------------------------------------------------------------- /ajsc5/ajsc-archetype/src/main/resources/archetype-resources/src/main/runtime/context/default#0.context: -------------------------------------------------------------------------------- 1 | {"context":{"contextClass":"ajsc.Context","contextId":"default:0","contextName":"default","contextVersion":"0","description":"Default Context"}} -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/cdp-pal-openstack/src/test/resources/com/att/cdp/openstack/model/DefaultSecurityGroup.json: -------------------------------------------------------------------------------- 1 | { 2 | id: 12345, 3 | name: default, 4 | description: Default security group, 5 | tenant_id: 1234567890-abcd-1234-123456, 6 | 7 | } -------------------------------------------------------------------------------- /ajsc5/ajsc-archetype/src/main/resources/archetype-resources/src/main/ajsc/__artifactId_____namespaceVersion__/__artifactId__/__namespaceVersion__/docs/README.txt: -------------------------------------------------------------------------------- 1 | Place any docs here that you want to access within the ajsc upon deployment of your service. 2 | -------------------------------------------------------------------------------- /att-camel-dme2-servlet/bin/src/main/java/com/att/camel/component/dme2/servlet/DME2ServletComponent.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/att/AJSC/master/att-camel-dme2-servlet/bin/src/main/java/com/att/camel/component/dme2/servlet/DME2ServletComponent.class -------------------------------------------------------------------------------- /att-camel-dme2-servlet/bin/src/test/java/com/att/camel/component/dme2/servlet/DME2ServletSetBodyTest.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/att/AJSC/master/att-camel-dme2-servlet/bin/src/test/java/com/att/camel/component/dme2/servlet/DME2ServletSetBodyTest.class -------------------------------------------------------------------------------- /Camunda/sdk-camunda-archetype/src/main/resources/archetype-resources/src/main/webapp/images/global.logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/att/AJSC/master/Camunda/sdk-camunda-archetype/src/main/resources/archetype-resources/src/main/webapp/images/global.logo.png -------------------------------------------------------------------------------- /ajsc5/ajsc-archetype/src/main/resources/archetype-resources/src/main/runtime/shiroUserRole/ajsc#contextadmin#default.json: -------------------------------------------------------------------------------- 1 | {"shiroUserRoleClass":"ajsc.auth.ShiroUserRole","shiroUserRoleId":"ajsc:contextadmin:default","roleId":"contextadmin:default","userId":"ajsc"} -------------------------------------------------------------------------------- /ajsc5/ajsc-core/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding//src/main/java=UTF-8 3 | encoding//src/main/resources=UTF-8 4 | encoding//src/test/java=UTF-8 5 | encoding//src/test/resources=UTF-8 6 | encoding/=UTF-8 7 | -------------------------------------------------------------------------------- /att-camel-dme2-servlet/bin/src/test/java/com/att/camel/component/dme2/servlet/ServletCamelRouterTestSupport.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/att/AJSC/master/att-camel-dme2-servlet/bin/src/test/java/com/att/camel/component/dme2/servlet/ServletCamelRouterTestSupport.class -------------------------------------------------------------------------------- /ajsc5/ajsc-archetype/src/main/resources/archetype-resources/src/main/runtime/shiroUser/ajsc.json: -------------------------------------------------------------------------------- 1 | {"shiroUserClass":"ajsc.auth.ShiroUser","shiroUserId":"ajsc","passwordHash":"9471697417008c880720ba54c6038791ad7e98f3b88136fe34f4d31a462dd27a","permissions":"[*:*]","username":"ajsc"} -------------------------------------------------------------------------------- /ajsc5/ajsc-core/src/test/resources/Introscope.properties: -------------------------------------------------------------------------------- 1 | #Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 2 | serviceName = helloSerice 3 | conversationId = 24 4 | uniqueID = 234 5 | userID = 34 6 | introscopeEventClass = com.att.ajsc.test.java.CustomEventNotifier -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/cdp-pal-common/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding//src/main/java=UTF-8 3 | encoding//src/main/resources=UTF-8 4 | encoding//src/test/java=UTF-8 5 | encoding//src/test/resources=UTF-8 6 | encoding/=UTF-8 7 | -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/cdp-pal-openstack/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding//src/main/java=UTF-8 3 | encoding//src/main/resources=UTF-8 4 | encoding//src/test/java=UTF-8 5 | encoding//src/test/resources=UTF-8 6 | encoding/=UTF-8 7 | -------------------------------------------------------------------------------- /Camunda/sdk-camunda-archetype/src/main/resources/archetype-resources/src/main/resources/META-INF/resources/icd/images/expand.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/att/AJSC/master/Camunda/sdk-camunda-archetype/src/main/resources/archetype-resources/src/main/resources/META-INF/resources/icd/images/expand.gif -------------------------------------------------------------------------------- /Camunda/sdk-camunda-archetype/src/main/resources/archetype-resources/src/main/resources/META-INF/resources/icd/fonts/DroidSans.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/att/AJSC/master/Camunda/sdk-camunda-archetype/src/main/resources/archetype-resources/src/main/resources/META-INF/resources/icd/fonts/DroidSans.ttf -------------------------------------------------------------------------------- /Camunda/sdk-camunda-archetype/src/main/resources/archetype-resources/src/main/resources/META-INF/resources/icd/images/collapse.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/att/AJSC/master/Camunda/sdk-camunda-archetype/src/main/resources/archetype-resources/src/main/resources/META-INF/resources/icd/images/collapse.gif -------------------------------------------------------------------------------- /Camunda/sdk-camunda-archetype/src/main/resources/archetype-resources/src/main/resources/META-INF/resources/icd/images/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/att/AJSC/master/Camunda/sdk-camunda-archetype/src/main/resources/archetype-resources/src/main/resources/META-INF/resources/icd/images/favicon.ico -------------------------------------------------------------------------------- /Camunda/sdk-camunda-archetype/src/main/resources/archetype-resources/src/main/resources/META-INF/resources/icd/images/throbber.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/att/AJSC/master/Camunda/sdk-camunda-archetype/src/main/resources/archetype-resources/src/main/resources/META-INF/resources/icd/images/throbber.gif -------------------------------------------------------------------------------- /ajsc5/ajsc-archetype/src/main/resources/archetype-resources/src/main/runtime/shiroRole/contextadmin#__module.ajsc.namespace.name__.json: -------------------------------------------------------------------------------- 1 | {"shiroRoleClass":"ajsc.auth.ShiroRole","shiroRoleId":"contextadmin:__module_ajsc_namespace_name__","name":"contextadmin:__module_ajsc_namespace_name__","permissions":"[]"} -------------------------------------------------------------------------------- /Camunda/sdk-camunda-archetype/.gitignore: -------------------------------------------------------------------------------- 1 | # Eclipse 2 | .classpath 3 | .project 4 | .settings/ 5 | .metadata/ 6 | 7 | # Intellij 8 | .idea/ 9 | *.iml 10 | *.iws 11 | *.eml 12 | 13 | # Mac 14 | .DS_Store 15 | 16 | # Maven 17 | log/ 18 | target/ 19 | *.versionsBackup 20 | 21 | # SVN 22 | .svn/ 23 | -------------------------------------------------------------------------------- /Camunda/sdk-camunda-archetype/src/main/resources/archetype-resources/src/main/resources/META-INF/resources/icd/images/logo_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/att/AJSC/master/Camunda/sdk-camunda-archetype/src/main/resources/archetype-resources/src/main/resources/META-INF/resources/icd/images/logo_small.png -------------------------------------------------------------------------------- /Camunda/sdk-camunda-archetype/src/main/resources/archetype-resources/src/main/resources/META-INF/resources/icd/images/wordnik_api.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/att/AJSC/master/Camunda/sdk-camunda-archetype/src/main/resources/archetype-resources/src/main/resources/META-INF/resources/icd/images/wordnik_api.png -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 3 | org.eclipse.jdt.core.compiler.compliance=1.5 4 | org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning 5 | org.eclipse.jdt.core.compiler.source=1.5 6 | -------------------------------------------------------------------------------- /Camunda/sdk-camunda-archetype/src/main/resources/archetype-resources/src/main/resources/META-INF/resources/icd/fonts/DroidSans-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/att/AJSC/master/Camunda/sdk-camunda-archetype/src/main/resources/archetype-resources/src/main/resources/META-INF/resources/icd/fonts/DroidSans-Bold.ttf -------------------------------------------------------------------------------- /Camunda/sdk-camunda-archetype/src/main/resources/archetype-resources/src/main/resources/META-INF/resources/icd/images/explorer_icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/att/AJSC/master/Camunda/sdk-camunda-archetype/src/main/resources/archetype-resources/src/main/resources/META-INF/resources/icd/images/explorer_icons.png -------------------------------------------------------------------------------- /Camunda/sdk-camunda-archetype/src/main/resources/archetype-resources/src/main/resources/META-INF/resources/icd/images/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/att/AJSC/master/Camunda/sdk-camunda-archetype/src/main/resources/archetype-resources/src/main/resources/META-INF/resources/icd/images/favicon-16x16.png -------------------------------------------------------------------------------- /Camunda/sdk-camunda-archetype/src/main/resources/archetype-resources/src/main/resources/META-INF/resources/icd/images/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/att/AJSC/master/Camunda/sdk-camunda-archetype/src/main/resources/archetype-resources/src/main/resources/META-INF/resources/icd/images/favicon-32x32.png -------------------------------------------------------------------------------- /Camunda/sdk-camunda-archetype/src/main/resources/archetype-resources/src/main/resources/META-INF/resources/icd/images/pet_store_api.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/att/AJSC/master/Camunda/sdk-camunda-archetype/src/main/resources/archetype-resources/src/main/resources/META-INF/resources/icd/images/pet_store_api.png -------------------------------------------------------------------------------- /ajsc5/ajsc-api/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.4 3 | org.eclipse.jdt.core.compiler.compliance=1.4 4 | org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning 5 | org.eclipse.jdt.core.compiler.source=1.4 6 | -------------------------------------------------------------------------------- /ajsc5/ajsc-core/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.4 3 | org.eclipse.jdt.core.compiler.compliance=1.4 4 | org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning 5 | org.eclipse.jdt.core.compiler.source=1.4 6 | -------------------------------------------------------------------------------- /ajsc5/ajsc-runner/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.4 3 | org.eclipse.jdt.core.compiler.compliance=1.4 4 | org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning 5 | org.eclipse.jdt.core.compiler.source=1.4 6 | -------------------------------------------------------------------------------- /ajsc5/ajsc-war/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.4 3 | org.eclipse.jdt.core.compiler.compliance=1.4 4 | org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning 5 | org.eclipse.jdt.core.compiler.source=1.4 6 | -------------------------------------------------------------------------------- /Camunda/sdk-java-camunda-core/.gitignore: -------------------------------------------------------------------------------- 1 | # Eclipse 2 | .classpath 3 | .project 4 | .settings/ 5 | .metadata/ 6 | 7 | # Intellij 8 | .idea/ 9 | *.iml 10 | *.iws 11 | *.eml 12 | 13 | # Mac 14 | .DS_Store 15 | 16 | # Maven 17 | log/ 18 | target/ 19 | *.versionsBackup 20 | 21 | # SVN 22 | .svn/ 23 | /bin/ 24 | -------------------------------------------------------------------------------- /ajsc5/ajsc-archetype/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.4 3 | org.eclipse.jdt.core.compiler.compliance=1.4 4 | org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning 5 | org.eclipse.jdt.core.compiler.source=1.4 6 | -------------------------------------------------------------------------------- /ajsc5/ajsc-archetype/src/main/resources/archetype-resources/bundleconfig-local/etc/appprops/PostProcessorInterceptors.properties: -------------------------------------------------------------------------------- 1 | #Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 2 | #This properties file is for defining any PostProcessorInterceptors that have been created for your AJSC service. 3 | 4 | -------------------------------------------------------------------------------- /ajsc5/ajsc-archetype/src/main/resources/archetype-resources/src/main/runtime/shiroUserRole/ajsc#contextadmin#__module.ajsc.namespace.name__.json: -------------------------------------------------------------------------------- 1 | {"shiroUserRoleClass":"ajsc.auth.ShiroUserRole","shiroUserRoleId":"ajsc:contextadmin:__module_ajsc_namespace_name__","roleId":"contextadmin:__module_ajsc_namespace_name__","userId":"ajsc"} -------------------------------------------------------------------------------- /ajsc5/ajsc-core/src/test/resources/caet.properties: -------------------------------------------------------------------------------- 1 | #Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 2 | #caet_service=http://DME2RESOLVE/service=com.att.csid.CAET/version=3/envContext=TEST/routeOffer=TEST_CAET 3 | caet_service=http://DME2RESOLVE/service=com.att.csid.CAET/version=3/envContext=TEST/routeOffer=D3A_CAET -------------------------------------------------------------------------------- /Camunda/sdk-camunda-archetype/src/main/resources/archetype-resources/src/main/webapp/docs/example.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | example page 4 | 5 | at&t 6 |
7 | example content 8 | 9 | -------------------------------------------------------------------------------- /Camunda/sdk-camunda-archetype/src/main/resources/archetype-resources/.gitignore: -------------------------------------------------------------------------------- 1 | # Eclipse 2 | .classpath 3 | .project 4 | .settings/ 5 | .metadata/ 6 | 7 | # Intellij 8 | .idea/ 9 | *.iml 10 | *.iws 11 | *.eml 12 | 13 | # Mac 14 | .DS_Store 15 | 16 | # Maven 17 | log/ 18 | target/ 19 | *.versionsBackup 20 | 21 | # SVN 22 | .svn/ 23 | -------------------------------------------------------------------------------- /ajsc5/ajsc-core/src/main/groovy/ajsc/CoverageIgnore.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | package ajsc; 5 | public @interface CoverageIgnore{ 6 | } -------------------------------------------------------------------------------- /Camunda/sdk-java-camunda-core/README.md: -------------------------------------------------------------------------------- 1 | 2 | # Adding to your project 3 | In order to add this feature to your project you need to have this dependency present in your pom. 4 | ```xml 5 | 6 | com.att.ajsc 7 | sdk-java-camunda-core 8 | 6.1.0.3-oss 9 | 10 | ``` 11 | -------------------------------------------------------------------------------- /ajsc5/ajsc-archetype/src/main/resources/archetype-resources/src/main/java/HelloWorld.java: -------------------------------------------------------------------------------- 1 | package ${package}; 2 | 3 | import org.apache.camel.Exchange; 4 | 5 | public class HelloWorld { 6 | public HelloWorld () { 7 | } 8 | 9 | public final void speak(Exchange e) { 10 | e.setOut(e.getIn()); 11 | e.getOut().setBody("Hello World!"); 12 | } 13 | } -------------------------------------------------------------------------------- /ajsc5/ajsc-core/src/test/resources/appprops/service-file-monitor.properties: -------------------------------------------------------------------------------- 1 | #Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 2 | #user config file paths go here as (key-value) pairs 3 | #e.g. file1=/opt/app/// 4 | #file extension will have to be either .properties or .json in order for it to be monitored. 5 | 6 | -------------------------------------------------------------------------------- /ajsc5/ajsc-archetype/src/main/resources/archetype-resources/bundleconfig-local/etc/appprops/PreProcessorInterceptors.properties: -------------------------------------------------------------------------------- 1 | #Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 2 | #This properties file is for defining any PreProcessorInterceptors that have been created for your AJSC service. 3 | 4 | /**=com.att.ajsc.csi.restmethodmap.RestMethodMapInterceptor 5 | -------------------------------------------------------------------------------- /ajsc5/ajsc-archetype/src/main/resources/archetype-resources/src/main/ajsc/__artifactId_____namespaceVersion__/__artifactId__/__namespaceVersion__/routes/helloWorld.route: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /Camunda/sdk-camunda-archetype/src/main/resources/archetype-resources/etc/config/dynamic.properties: -------------------------------------------------------------------------------- 1 | ############################################################################### 2 | # Copyright (c) 2017 AT&T Intellectual Property. All rights reserved. 3 | # 4 | ############################################################################### 5 | 6 | #restart.audit.queue=true 7 | #restart.perform.queue=true 8 | -------------------------------------------------------------------------------- /ajsc5/ajsc-archetype/src/main/resources/archetype-resources/src/main/ajsc/__artifactId_____namespaceVersion__/__artifactId__/__namespaceVersion__/routes/jaxrsExample.route: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /ajsc5/ajsc-archetype/src/main/resources/archetype-resources/src/main/ajsc/__artifactId_____namespaceVersion__/__artifactId__/__namespaceVersion__/routes/helloServlet.route: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /ajsc5/ajsc-archetype/src/main/resources/archetype-resources/src/main/runtime/context/__module.ajsc.namespace.name__#__module.ajsc.namespace.version__.context: -------------------------------------------------------------------------------- 1 | {"context":{"contextClass":"ajsc.Context","contextId":"__module_ajsc_namespace_name__:__module_ajsc_namespace_version__","contextName":"__module_ajsc_namespace_name__","contextVersion":"__module_ajsc_namespace_version__","description":"__module_ajsc_namespace_name__ Context"}} -------------------------------------------------------------------------------- /Camunda/sdk-camunda-archetype/src/main/resources/archetype-resources/src/test/jmeter/README.md: -------------------------------------------------------------------------------- 1 | ############################################################################### 2 | # Copyright (c) 2017 AT&T Intellectual Property. All rights reserved. 3 | # 4 | ############################################################################### 5 | # Developer Contact 6 | Owner: @${biasId} 7 | 8 | This location is for JMeter test resources. 9 | -------------------------------------------------------------------------------- /Camunda/sdk-camunda-archetype/src/main/resources/archetype-resources/src/test/lisa/README.md: -------------------------------------------------------------------------------- 1 | ############################################################################### 2 | # Copyright (c) 2017 AT&T Intellectual Property. All rights reserved. 3 | # 4 | ############################################################################### 5 | # Developer Contact 6 | Owner: @${biasId} 7 | 8 | This location is for LISA test resources. 9 | -------------------------------------------------------------------------------- /ajsc5/ajsc-core/src/main/groovy/ajsc/AjscConstant.groovy: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | package ajsc 5 | 6 | class AjscConstant { 7 | 8 | public enum AJSC_ENV { 9 | SOACLOUD, DEV, QA, PROD, PREPROD 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /ajsc5/ajsc-core/src/main/java/ajsc/utils/AjscUtil.java: -------------------------------------------------------------------------------- 1 | package ajsc.utils; 2 | 3 | import java.io.PrintWriter; 4 | import java.io.StringWriter; 5 | 6 | 7 | public class AjscUtil { 8 | 9 | public static String getStackTrace(Throwable aThrowable) { 10 | final StringWriter result = new StringWriter(); 11 | final PrintWriter printWriter = new PrintWriter(result); 12 | aThrowable.printStackTrace(printWriter); 13 | return result.toString(); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /ajsc5/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | ajsc 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.m2e.core.maven2Builder 10 | 11 | 12 | 13 | 14 | 15 | org.eclipse.m2e.core.maven2Nature 16 | 17 | 18 | -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/cdp-pal-openstack/src/main/resources/META-INF/services/com.att.cdp.zones.Provider: -------------------------------------------------------------------------------- 1 | ############################################################################### 2 | # Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | ############################################################################### 4 | # 5 | # The fully qualified class name of the class that implements the Provider interface 6 | # 7 | com.att.cdp.openstack.OpenStackProvider 8 | -------------------------------------------------------------------------------- /Camunda/sdk-camunda-archetype/src/main/resources/archetype-resources/src/main/webapp/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | camunda Tasklist 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /ajsc5/ajsc-core/src/main/java/ajsc/exceptions/RestError.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | package ajsc.exceptions; 5 | 6 | public class RestError 7 | { 8 | public int status = 500; 9 | public String MessageId = ""; 10 | public String Message = ""; 11 | } 12 | -------------------------------------------------------------------------------- /ajsc5/ajsc-core/src/test/java/ajsc/ManagementServletTest.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | package ajsc; 5 | 6 | import org.junit.Test; 7 | 8 | public class ManagementServletTest { 9 | 10 | @Test 11 | public void shouldBeSuccess(){ 12 | 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /ajsc5/ajsc-bom/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | ajsc-bom 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.m2e.core.maven2Builder 10 | 11 | 12 | 13 | 14 | 15 | org.eclipse.m2e.core.maven2Nature 16 | 17 | 18 | -------------------------------------------------------------------------------- /Camunda/sdk-camunda-archetype/src/main/resources/archetype-resources/src/main/docker/startService.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | #******************************************************************************* 4 | # Copyright (c) 2017 AT&T Intellectual Property. All rights reserved. 5 | # 6 | #******************************************************************************* 7 | 8 | touch /app.jar 9 | 10 | java -Djava.security.egd=file:/dev/./urandom -Xms1024m -Xmx1024m -jar /app.jar 11 | 12 | -------------------------------------------------------------------------------- /Camunda/sdk-camunda-archetype/src/main/resources/archetype-resources/src/main/resources/META-INF/resources/icd/lib/jquery.slideto.min.js: -------------------------------------------------------------------------------- 1 | (function(b){b.fn.slideto=function(a){a=b.extend({slide_duration:"slow",highlight_duration:3E3,highlight:true,highlight_color:"#FFFF99"},a);return this.each(function(){obj=b(this);b("body").animate({scrollTop:obj.offset().top},a.slide_duration,function(){a.highlight&&b.ui.version&&obj.effect("highlight",{color:a.highlight_color},a.highlight_duration)})})}})(jQuery); 2 | -------------------------------------------------------------------------------- /ajsc5/ajsc-archetype/src/main/resources/archetype-resources/src/main/runtime/deploymentPackage/__module.ajsc.namespace.name__#__module.ajsc.namespace.version__.json: -------------------------------------------------------------------------------- 1 | {"deploymentPackage":{"Class":"ajsc.DeploymentPackage","Id":"__module.ajsc.namespace.name__:__module_ajsc_namespace_version__","namespace":"__module_ajsc_namespace_name__","namespaceVersion":"__module_ajsc_namespace_version__","description":"__module_ajsc_namespace_name__ __module_ajsc_namespace_version__ - default description","userId":"ajsc"}} -------------------------------------------------------------------------------- /ajsc5/ajsc-archetype-parent/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | ajsc-archetype-parent 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.m2e.core.maven2Builder 10 | 11 | 12 | 13 | 14 | 15 | org.eclipse.m2e.core.maven2Nature 16 | 17 | 18 | -------------------------------------------------------------------------------- /ajsc5/ajsc-archetype/src/main/resources/archetype-resources/src/main/ajsc/__artifactId_____namespaceVersion__/__artifactId__/__namespaceVersion__/conf/HelloWorldBeans.xml: -------------------------------------------------------------------------------- 1 | 6 | 8 | 9 | -------------------------------------------------------------------------------- /Camunda/sdk-camunda-archetype/src/main/resources/archetype-resources/src/main/webapp/jsp/example.jsp: -------------------------------------------------------------------------------- 1 | <%-- Copyright (c) 2017 AT&T Intellectual Property. All rights reserved --%> 2 | 3 | <%@page import="java.util.ArrayList"%> 4 | 5 | 6 | Sample JSP Page 7 | 8 | <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> 9 | 10 | 11 | 12 | 13 |
14 | Current date is: <%=new java.util.Date()%> 15 | 16 | -------------------------------------------------------------------------------- /ajsc5/ajsc-archetype/src/main/resources/archetype-resources/src/main/ajsc/__artifactId_____namespaceVersion__/__artifactId__/__namespaceVersion__/conf/jaxrsBeans.groovy: -------------------------------------------------------------------------------- 1 | beans{ 2 | xmlns cxf: "http://camel.apache.org/schema/cxf" 3 | xmlns jaxrs: "http://cxf.apache.org/jaxrs" 4 | xmlns util: "http://www.springframework.org/schema/util" 5 | 6 | echoService(${package}.JaxrsEchoService) 7 | userService(${package}.JaxrsUserService) 8 | 9 | util.list(id: 'jaxrsServices') { 10 | ref(bean:'echoService') 11 | ref(bean:'userService') 12 | } 13 | } -------------------------------------------------------------------------------- /ajsc5/ajsc-core/src/main/java/com/att/ajsc/csi/restmethodmap/HttpMethod.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | package com.att.ajsc.csi.restmethodmap; 5 | 6 | 7 | public enum HttpMethod { 8 | starstar, get, put, post, mkcol, copy, delete, propfind, ace, report, lock, unlock, move, proppatch, patch, head, trace, connect, options 9 | } 10 | -------------------------------------------------------------------------------- /ajsc5/ajsc-core/src/test/java/ajsc/HelloWorld.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | package ajsc; 5 | 6 | import org.apache.camel.Exchange; 7 | 8 | public class HelloWorld { 9 | public HelloWorld () { 10 | } 11 | 12 | public final void speak(Exchange e) { 13 | e.setOut(e.getIn()); 14 | e.getOut().setBody("Hello World!"); 15 | } 16 | } -------------------------------------------------------------------------------- /Camunda/sdk-camunda-archetype/src/main/resources/archetype-resources/src/test/java/service/TestConfiguration.java: -------------------------------------------------------------------------------- 1 | package ${package}.service; 2 | 3 | import java.util.ArrayList; 4 | 5 | import org.springframework.context.annotation.Bean; 6 | 7 | public class TestConfiguration { 8 | @Bean("jaxrsProviders") 9 | public ArrayList provider(){ 10 | return new ArrayList(); 11 | } 12 | @Bean("jaxrsServices") 13 | public ArrayList service(){ 14 | return new ArrayList(); 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/cdp-pal-common/src/main/java/com/att/cdp/zones/spi/map/package.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 |

Purpose

8 |

Contains utilities that can be used by a provider implementation to ease the job of mapping provider-specific 9 | data types to and from API generic types.

10 | 11 | -------------------------------------------------------------------------------- /ajsc5/ajsc-core/src/test/resources/conf/bean_def.xml: -------------------------------------------------------------------------------- 1 | 4 | 9 | 10 | 12 | 13 | -------------------------------------------------------------------------------- /ajsc5/ajsc-core/src/test/resources/conf/bean_def2.xml: -------------------------------------------------------------------------------- 1 | 4 | 9 | 10 | 12 | 13 | -------------------------------------------------------------------------------- /Camunda/sdk-camunda-archetype/src/main/resources/archetype-resources/src/main/kubernetes/kubectl.conf: -------------------------------------------------------------------------------- 1 | current-context: lab-ajsc-01 2 | apiVersion: v1 3 | clusters: 4 | - cluster: 5 | api-version: v1 6 | server: hostName 7 | insecure-skip-tls-verify: true 8 | name: lab-ajsc-01 9 | contexts: 10 | - context: 11 | cluster: lab-ajsc-01 12 | namespace: com-att-ajsc 13 | user: xxxxxx 14 | name: lab-ajsc-01 15 | kind: Config 16 | preferences: 17 | colors: true 18 | users: 19 | - name: xxxxxx 20 | user: 21 | username: xxx 22 | password: xxxxxx 23 | -------------------------------------------------------------------------------- /Camunda/sdk-camunda-archetype/src/main/resources/archetype-resources/README.md: -------------------------------------------------------------------------------- 1 | ############################################################################### 2 | # Copyright (c) 2017 AT&T Intellectual Property. All rights reserved. 3 | # 4 | ############################################################################### 5 | # Developer Contact 6 | Owner: @${biasId} 7 | 8 | # Build 9 | Jenkins Job: ${jenkins-joblink} 10 | 11 | # Monitoring 12 | AppDynamics: http://hostname:8090/controller 13 | Kubernetes: ${kubeui-link} 14 | 15 | Cockpit: ${cockpit-link} 16 | 17 | Logs: ${elk-link} 18 | -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/cdp-pal-openstack/src/main/java/com/att/cdp/openstack/package.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 |

Purpose

8 |

This package contains the implementation classes for the OpenStack support of the rime API. All classes that 9 | make up this implementation are located in this or descendant packages.

10 | 11 | -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/cdp-pal-common/src/main/java/com/att/cdp/zones/package.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 |

Purpose

8 |

This package is the root of the rime (pronounced like "dime" but with an "r") API. All packages that comprise 9 | the API as well as implementations of the API are within this package structure.

10 | 11 | -------------------------------------------------------------------------------- /Camunda/sdk-camunda-archetype/src/main/resources/archetype-resources/src/main/java/service/SpringService.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved. 3 | * 4 | *******************************************************************************/ 5 | #set($symbol_pound='#')#set($symbol_dollar='$')#set($symbol_escape='\')package ${package}.service; 6 | 7 | import ${package}.model.HelloWorld; 8 | 9 | public interface SpringService { 10 | public HelloWorld getQuickHello(String name); 11 | } 12 | -------------------------------------------------------------------------------- /ajsc5/ajsc-core/src/test/resources/appprops/app-intercepts.properties: -------------------------------------------------------------------------------- 1 | #Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 2 | #This is where all your application intercept strategies must be configured. AJSC reads this property file and adds 3 | #the list of intercepts specified here to the camel context. This can be useful for accessing every exchange object transferred from/to 4 | #each endpoint in the request/response flow and can allow for more precise debugging and/or processing of the exchange. 5 | 6 | #e.g. 7 | #intercepts=${package}.JaxrsEchoService,packagename.class1name,packagename.class2name 8 | -------------------------------------------------------------------------------- /Camunda/sdk-camunda-archetype/src/main/resources/archetype-resources/src/main/docker/Dockerfile: -------------------------------------------------------------------------------- 1 | #******************************************************************************* 2 | # Copyright (c) 2017 AT&T Intellectual Property. All rights reserved. 3 | # 4 | #******************************************************************************* 5 | 6 | FROM ${docker-registry}/com.att.ajsc/anapsix/alpine-java:8_jdk 7 | VOLUME /tmp 8 | ADD ${artifactId}-${version}.jar app.jar 9 | VOLUME /etc 10 | ADD /etc/ /etc/ 11 | ADD startService.sh /startService.sh 12 | RUN chmod 700 /startService.sh 13 | ENTRYPOINT ./startService.sh 14 | -------------------------------------------------------------------------------- /Camunda/sdk-camunda-archetype/src/main/resources/archetype-resources/src/main/kubernetes/__rootArtifactId__-svc.yaml: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "Service", 3 | "apiVersion": "v1", 4 | "metadata": { 5 | "name": "${artifactId}", 6 | "namespace": "${kube-namespace}" 7 | }, 8 | "spec": { 9 | "selector": { 10 | "app": "${artifactId}" 11 | }, 12 | "ports": [ 13 | { 14 | "protocol": "TCP", 15 | "port": 80, 16 | "targetPort": 8080 17 | } 18 | ], 19 | "type": "NodePort" 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /ajsc5/ajsc-core/src/main/java/com/att/ajsc/beans/PropertiesMapBean.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | package com.att.ajsc.beans; 5 | 6 | import com.att.ajsc.filemonitor.AJSCPropertiesMap; 7 | 8 | public class PropertiesMapBean { 9 | public static String getProperty(String propFileName, String propertyKey) 10 | { 11 | return AJSCPropertiesMap.getProperty(propFileName, propertyKey); 12 | } 13 | 14 | } 15 | -------------------------------------------------------------------------------- /Camunda/sdk-camunda-archetype/src/main/resources/archetype-resources/src/main/webapp/forms/request-loan.html: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 | 5 | 6 |
7 |
8 | 9 | 10 |
11 |
12 | -------------------------------------------------------------------------------- /Camunda/sdk-camunda-archetype/src/test/resources/projects/basic/archetype.properties: -------------------------------------------------------------------------------- 1 | #Tue Dec 15 18:58:46 PST 2015 2 | package=it.pkg 3 | version=0.1-SNAPSHOT 4 | groupId=archetype.it 5 | artifactId=basic 6 | context-root=/ 7 | entity=com.att.ajsc.common.model.ExampleEntity 8 | biasId=biasId 9 | jenkins-joblink=jenkins 10 | docker-group=docker 11 | service-replicas=2 12 | kubeui-link=kubeui 13 | cockpit-link=cockpit 14 | elk-link=elk 15 | functional-domain=sandbox 16 | service-domain=ajsc 17 | include-appd=true 18 | docker-registry=zlp11313.vci.att.com 19 | kube-namespace=com-att-ajsc 20 | service-account=ajsc-svc 21 | namespace=com.att.ajsc 22 | -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/cdp-pal-openstack/src/test/resources/com/att/cdp/mock-test.properties: -------------------------------------------------------------------------------- 1 | ############################################################################### 2 | # Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | ############################################################################### 4 | # 5 | # Properties to configure test cases 6 | # 7 | provider.name=OpenStackProvider 8 | 9 | # CDP ECOMP APPC 10 | # 11 | provider.url=http://hostname:5000/v2.0 12 | provider.user=cdp 13 | provider.password=cdp 14 | provider.tenant=CDP-ECOMP-APPC 15 | provider.region=RegionOne 16 | provider.disableHttpProxy=true 17 | 18 | -------------------------------------------------------------------------------- /Camunda/sdk-camunda-archetype/src/main/resources/archetype-resources/src/main/webapp/forms/approve-loan.html: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 | 5 | 6 |
7 |
8 | 9 | 10 |
11 |
12 | -------------------------------------------------------------------------------- /ajsc5/ajsc-core/src/main/java/ajsc/beans/interceptors/AjscInterceptor.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | package ajsc.beans.interceptors; 5 | 6 | import javax.servlet.http.HttpServletRequest; 7 | import javax.servlet.http.HttpServletResponse; 8 | import java.util.Map; 9 | 10 | public interface AjscInterceptor { 11 | public boolean allowOrReject(HttpServletRequest req, HttpServletResponse resp, Map paramMap) throws Exception; 12 | } 13 | -------------------------------------------------------------------------------- /ajsc5/ajsc-archetype/src/main/resources/archetype-resources/bundleconfig-local/etc/appprops/app-intercepts.properties: -------------------------------------------------------------------------------- 1 | #Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 2 | 3 | #This is where all your application intercept strategies must be configured. AJSC reads this property file and adds 4 | #the list of intercepts specified here to the camel context. This can be useful for accessing every exchange object transferred from/to 5 | #each endpoint in the request/response flow and can allow for more precise debugging and/or processing of the exchange. 6 | 7 | #e.g. 8 | #intercepts=${package}.JaxrsEchoService,packagename.class1name,packagename.class2name 9 | -------------------------------------------------------------------------------- /ajsc5/ajsc-core/src/domain/groovy/ajsc/ServiceProperty.groovy: -------------------------------------------------------------------------------- 1 | package ajsc 2 | 3 | class ServiceProperty implements Serializable{ 4 | private static final long serialVersionUID = 1L; 5 | 6 | String name 7 | String value 8 | boolean deletedFlag=false 9 | static transients = [ 'deletedFlag' ] 10 | 11 | // static belongsTo = [ parent : ServiceProperties ] 12 | static constraints = { 13 | value(maxSize:1000) 14 | // parent(nullable:true) 15 | } 16 | static mapping = { 17 | id generator:'assigned' 18 | } 19 | static mapWith = "none" 20 | 21 | String toString() { 22 | return "name: ${this.name} value: ${this.value}" 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/cdp-pal-common/src/main/java/com/att/cdp/zones/spi/package.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 |

Purpose

8 |

This package contains the service provider interface, or the back-end interfaces that any servie provider needs 9 | to implement or abstract classes that service providers need to extend. This package is not intended to be used 10 | directly by any client.

11 | 12 | -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/cdp-pal-common/src/test/resources/log4j.properties: -------------------------------------------------------------------------------- 1 | ############################################################################### 2 | # Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | ############################################################################### 4 | 5 | # 6 | # Default Log4J properties for testing purposes 7 | # 8 | log4j.rootLogger=info, console 9 | 10 | log4j.logger.rime=trace, console 11 | 12 | log4j.appender.console=org.apache.log4j.ConsoleAppender 13 | log4j.appender.console.layout=org.apache.log4j.PatternLayout 14 | log4j.appender.console.layout.ConversionPattern=%5p [%t] (%F:%L) - %m%n 15 | 16 | -------------------------------------------------------------------------------- /att-camel-dme2-servlet/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | att-camel-dme2-servlet 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.m2e.core.maven2Builder 15 | 16 | 17 | 18 | 19 | 20 | org.eclipse.jdt.core.javanature 21 | org.eclipse.m2e.core.maven2Nature 22 | 23 | 24 | -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/cdp-pal-common/src/test/java/com/att/cdp/zones/model/OsTypeTest.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | 5 | package com.att.cdp.zones.model; 6 | 7 | import static org.junit.Assert.assertEquals; 8 | 9 | import org.junit.Test; 10 | 11 | public class OsTypeTest { 12 | 13 | @Test 14 | public void test() { 15 | for (OsType ost : OsType.values()) 16 | assertEquals(OsType.valueOf(ost.toString()), ost); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /att-camel-dme2-servlet/bin/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | att-camel-dme2-servlet 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.m2e.core.maven2Builder 15 | 16 | 17 | 18 | 19 | 20 | org.eclipse.jdt.core.javanature 21 | org.eclipse.m2e.core.maven2Nature 22 | 23 | 24 | -------------------------------------------------------------------------------- /Camunda/sdk-java-camunda-core/src/main/java/com/att/ajsc/camunda/core/AafCamundaRoles.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved. 3 | * 4 | *******************************************************************************/ 5 | package com.att.ajsc.camunda.core; 6 | 7 | import java.util.List; 8 | 9 | public class AafCamundaRoles 10 | { 11 | private List role; 12 | 13 | public List getRole() { 14 | return role; 15 | } 16 | 17 | public void setRole(List role) { 18 | this.role = role; 19 | } 20 | 21 | 22 | } 23 | -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/cdp-pal-common/src/main/java/com/att/cdp/zones/model/ProtocolType.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | 5 | package com.att.cdp.zones.model; 6 | 7 | /** 8 | * @since May 19, 2015 9 | * @version $Id$ 10 | */ 11 | public enum ProtocolType { 12 | 13 | /** 14 | * 15 | */ 16 | HTTP, 17 | 18 | /** 19 | * 20 | */ 21 | HTTPS, 22 | 23 | /** 24 | * 25 | */ 26 | TCP, 27 | 28 | /** 29 | * 30 | */ 31 | PING; 32 | } 33 | -------------------------------------------------------------------------------- /att-camel-dme2-servlet/src/main/resources/META-INF/NOTICE.txt: -------------------------------------------------------------------------------- 1 | ========================================================================= 2 | == NOTICE file corresponding to the section 4 d of == 3 | == the Apache License, Version 2.0, == 4 | == in this case for the Apache Camel distribution. == 5 | ========================================================================= 6 | 7 | This product includes software developed by 8 | The Apache Software Foundation (http://www.apache.org/). 9 | 10 | Please read the different LICENSE files present in the licenses directory of 11 | this distribution. 12 | -------------------------------------------------------------------------------- /att-camel-dme2-servlet/bin/src/main/resources/META-INF/NOTICE.txt: -------------------------------------------------------------------------------- 1 | ========================================================================= 2 | == NOTICE file corresponding to the section 4 d of == 3 | == the Apache License, Version 2.0, == 4 | == in this case for the Apache Camel distribution. == 5 | ========================================================================= 6 | 7 | This product includes software developed by 8 | The Apache Software Foundation (http://www.apache.org/). 9 | 10 | Please read the different LICENSE files present in the licenses directory of 11 | this distribution. 12 | -------------------------------------------------------------------------------- /Camunda/sdk-camunda-archetype/src/main/resources/archetype-resources/etc/config/aft.properties: -------------------------------------------------------------------------------- 1 | ############################################################################### 2 | # Copyright (c) 2017 AT&T Intellectual Property. All rights reserved. 3 | # 4 | ############################################################################### 5 | com.att.aft.discovery.client.environment=AFTUAT 6 | com.att.aft.discovery.client.latitude=35.318900 7 | com.att.aft.discovery.client.longitude=-80.762200 8 | com.att.aft.alias=fusionbus 9 | com.att.aft.keyStore=etc/keystore/spm2.jks 10 | com.att.aft.keyStorePassword=password 11 | com.att.aft.trustStore=etc/keystore/spm2.jks 12 | com.att.aft.trustStorePassword=password -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/cdp-pal-common/src/test/resources/com/att/cdp/zones/test/provider.properties: -------------------------------------------------------------------------------- 1 | ############################################################################### 2 | # Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | ############################################################################### 4 | 5 | # 6 | # Default configuration for the DummyProvider 7 | # 8 | provider.name=DummyProvider 9 | provider.message.resources=com/att/cdp/zones/test/messages 10 | provider.supports.compute=true 11 | provider.supports.image=true 12 | provider.supports.volume=true 13 | provider.supports.network=true 14 | provider.supports.identity=true 15 | provider.supports.object=true 16 | -------------------------------------------------------------------------------- /Camunda/sdk-camunda-archetype/src/main/resources/archetype-resources/src/main/resources/META-INF/resources/icd/css/typography.css: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2017 AT&T Intellectual Property. All rights reserved. */ 2 | /* Google Font's Droid Sans */ 3 | @font-face { 4 | font-family: 'Droid Sans'; 5 | font-style: normal; 6 | font-weight: 400; 7 | src: local('Droid Sans'), local('DroidSans'), url('../fonts/DroidSans.ttf') format('truetype'); 8 | } 9 | /* Google Font's Droid Sans Bold */ 10 | @font-face { 11 | font-family: 'Droid Sans'; 12 | font-style: normal; 13 | font-weight: 700; 14 | src: local('Droid Sans Bold'), local('DroidSans-Bold'), url('../fonts/DroidSans-Bold.ttf') format('truetype'); 15 | } 16 | -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/cdp-pal-common/src/test/java/com/att/cdp/zones/model/TestFault.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | 5 | package com.att.cdp.zones.model; 6 | 7 | import static org.junit.Assert.assertNotNull; 8 | 9 | import org.junit.Test; 10 | 11 | public class TestFault { 12 | 13 | /** 14 | * Verify the Fault object is not null 15 | */ 16 | @Test 17 | public void testFault() { 18 | Fault obj = new Fault(); 19 | assertNotNull(obj); 20 | } 21 | 22 | } 23 | -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/cdp-pal-common/src/test/java/com/att/cdp/zones/model/ArchitectureTest.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | 5 | package com.att.cdp.zones.model; 6 | 7 | import static org.junit.Assert.assertEquals; 8 | 9 | import org.junit.Test; 10 | 11 | public class ArchitectureTest { 12 | 13 | @Test 14 | public void test() { 15 | 16 | for (Architecture arch : Architecture.values()) 17 | assertEquals(Architecture.valueOf(arch.toString()), arch); 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/cdp-pal-common/src/test/java/com/att/cdp/zones/model/HypervisorTypeTest.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | 5 | package com.att.cdp.zones.model; 6 | 7 | import static org.junit.Assert.assertEquals; 8 | 9 | import org.junit.Test; 10 | 11 | public class HypervisorTypeTest { 12 | 13 | @Test 14 | public void test() { 15 | for (HypervisorType hyt : HypervisorType.values()) 16 | assertEquals(HypervisorType.valueOf(hyt.toString()), hyt); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /Camunda/sdk-camunda-archetype/src/main/resources/archetype-resources/src/main/resources/META-INF/resources/icd/o2c.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Camunda/sdk-camunda-archetype/src/main/resources/archetype-resources/src/main/webapp/jsf/example-display-value.xhtml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 9 | 10 | 11 | Example JSF 12 | 13 | 14 |

Display Value

15 |

#{jsfExampleBean.value}

16 |
17 | 18 | -------------------------------------------------------------------------------- /Camunda/sdk-camunda-archetype/src/main/resources/archetype-resources/src/main/webapp/jsf/example-display-date.xhtml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 9 | 10 | 11 | Example JSF 12 | 13 | 14 |

Display Date Value

15 |

#{jsfExampleBean.dateValueText}

16 |
17 | 18 | -------------------------------------------------------------------------------- /ajsc5/ajsc-api/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | ajsc-api 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.m2e.core.maven2Builder 15 | 16 | 17 | 18 | 19 | 20 | org.eclipse.jdt.groovy.core.groovyNature 21 | org.eclipse.jdt.core.javanature 22 | org.eclipse.m2e.core.maven2Nature 23 | 24 | 25 | -------------------------------------------------------------------------------- /ajsc5/ajsc-runner/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | ajsc-runner 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.m2e.core.maven2Builder 15 | 16 | 17 | 18 | 19 | 20 | org.eclipse.jdt.groovy.core.groovyNature 21 | org.eclipse.jdt.core.javanature 22 | org.eclipse.m2e.core.maven2Nature 23 | 24 | 25 | -------------------------------------------------------------------------------- /ajsc5/ajsc-archetype/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | ajsc-archetype 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.m2e.core.maven2Builder 15 | 16 | 17 | 18 | 19 | 20 | org.eclipse.jdt.groovy.core.groovyNature 21 | org.eclipse.jdt.core.javanature 22 | org.eclipse.m2e.core.maven2Nature 23 | 24 | 25 | -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/cdp-pal-common/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 3 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 4 | org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve 5 | org.eclipse.jdt.core.compiler.compliance=1.8 6 | org.eclipse.jdt.core.compiler.debug.lineNumber=generate 7 | org.eclipse.jdt.core.compiler.debug.localVariable=generate 8 | org.eclipse.jdt.core.compiler.debug.sourceFile=generate 9 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 10 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 11 | org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning 12 | org.eclipse.jdt.core.compiler.source=1.8 13 | -------------------------------------------------------------------------------- /Camunda/sdk-camunda-archetype/src/main/resources/archetype-resources/src/main/resources/META-INF/processes.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 9 | 10 | 11 | default 12 | bpmn/log-message.bpmn 13 | 14 | true 15 | false 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /Camunda/sdk-java-camunda-core/src/main/java/com/att/ajsc/camunda/core/AttCamundaService.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved. 3 | * 4 | *******************************************************************************/ 5 | package com.att.ajsc.camunda.core; 6 | 7 | import javax.servlet.http.HttpServletRequest; 8 | 9 | public class AttCamundaService { 10 | 11 | 12 | private static HttpServletRequest httpRequest; 13 | 14 | 15 | public static HttpServletRequest getHttpRequest() { 16 | return httpRequest; 17 | } 18 | 19 | public static void setHttpRequest(HttpServletRequest httpRequest) { 20 | AttCamundaService.httpRequest = httpRequest; 21 | } 22 | 23 | } -------------------------------------------------------------------------------- /ajsc5/ajsc-core/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | ajsc-core 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.m2e.core.maven2Builder 15 | 16 | 17 | 18 | 19 | 20 | org.eclipse.pde.PluginNature 21 | org.eclipse.jdt.groovy.core.groovyNature 22 | org.eclipse.jdt.core.javanature 23 | org.eclipse.m2e.core.maven2Nature 24 | 25 | 26 | -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/cdp-pal-openstack/src/test/resources/com/att/cdp/test.properties: -------------------------------------------------------------------------------- 1 | ############################################################################### 2 | # Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | ############################################################################### 4 | # 5 | # Properties to configure test cases 6 | # 7 | provider.name=OpenStackProvider 8 | 9 | provider.url=http://test.server/v2.0 10 | provider.user=dev 11 | provider.password=dev@123 12 | # - KILO 13 | # 14 | provider.url=http://hostname:5000/v2.0 15 | provider.user=cdp 16 | provider.password=cdp 17 | provider.tenant=CDP 18 | provider.disableHttpProxy=true 19 | provider.region=RegionOne 20 | provider.tenant=CDP 21 | provider.disableHttpProxy=true 22 | provider.region=RegionOne 23 | 24 | -------------------------------------------------------------------------------- /Camunda/sdk-java-camunda-core/src/main/java/com/att/ajsc/camunda/config/filter/LazyProcessEnginesFilter.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved. 3 | * 4 | *******************************************************************************/ 5 | package com.att.ajsc.camunda.config.filter; 6 | 7 | import org.camunda.bpm.spring.boot.starter.webapp.filter.LazyDelegateFilter; 8 | import org.camunda.bpm.spring.boot.starter.webapp.filter.ResourceLoaderDependingFilter; 9 | 10 | public class LazyProcessEnginesFilter extends LazyDelegateFilter { 11 | 12 | public LazyProcessEnginesFilter() { 13 | super(ResourceLoadingProcessEnginesFilter.class); 14 | } 15 | 16 | } -------------------------------------------------------------------------------- /ajsc5/ajsc-archetype/src/main/resources/archetype-resources/ajsc-shared-config/README.txt: -------------------------------------------------------------------------------- 1 | #Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 2 | 3 | The ajsc-shared-config folder is included in the service project to provide the functionality of the AJSC_SHARED_CONFIG 4 | location that will exist in CSI envs. This includes the logback.xml for logging configurations, and some csm related 5 | artifacts necessary for proper functionality of the csm framework within the CSI env. Within the 2 profiles that can 6 | be utilized to run the AJSC locally, "runLocal" and "runAjsc", the system propery, "AJSC_SHARED_CONFIG", has been set 7 | to point to this directory. The files in this folder will NOT be copied/moved anywhere within the AJSC SWM package. These 8 | files will already be in existence within the CSI env. -------------------------------------------------------------------------------- /ajsc5/ajsc-core/src/main/java/com/att/ajsc/csi/restmethodmap/MethodMapperConstants.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | package com.att.ajsc.csi.restmethodmap; 5 | 6 | public class MethodMapperConstants 7 | { 8 | public static final String METHOD_NAME_PARAM = "ajsc-logicalmethod"; 9 | public static final String MISSING_MAP_LOGGER = "MethodMapperNoHit"; 10 | 11 | public static final String SYSPROP_SPECIFICATION_LOC = "SPEC_LOCATION_FILE"; 12 | public static final String HTTP_HEADER_METHOD_NAME = "X-CSI-MethodName"; 13 | public static final String HTTP_HEADER_SERVICE_NAME = "X-CSI-ServiceName"; 14 | } 15 | -------------------------------------------------------------------------------- /ajsc5/ajsc-core/src/main/groovy/ajsc/rest/AjscRestletHeaderFilterStrategy.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | package ajsc.rest; 5 | 6 | import org.apache.camel.component.restlet.RestletHeaderFilterStrategy; 7 | import org.restlet.engine.header.HeaderConstants; 8 | 9 | 10 | public class AjscRestletHeaderFilterStrategy extends RestletHeaderFilterStrategy { 11 | 12 | public AjscRestletHeaderFilterStrategy() { 13 | getOutFilter().add("Content-length"); 14 | // Remove the restlet headers from the out message. 15 | getOutFilter().add(HeaderConstants.ATTRIBUTE_HEADERS); 16 | 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /ajsc5/ajsc-core/src/main/java/ajsc/utils/SystemErrorHandlerUtil.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | package ajsc.utils; 5 | 6 | import org.slf4j.Logger; 7 | import org.slf4j.LoggerFactory; 8 | 9 | public class SystemErrorHandlerUtil { 10 | 11 | private static final Logger logger = LoggerFactory 12 | .getLogger(SystemErrorHandlerUtil.class); 13 | 14 | public static void callSystemExit(Exception exception) { 15 | logger.error("Error occurred.",exception); 16 | if("false".equalsIgnoreCase(System.getProperty("CONTINUE_ON_LISTENER_EXCEPTION"))){ 17 | System.exit(0); 18 | } 19 | } 20 | 21 | 22 | 23 | } 24 | -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/cdp-pal-common/src/main/java/com/att/cdp/zones/spi/model/package.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 |

Purpose

8 |

9 | This package contains all of the classes that implement the Connected version of the model classes. 10 | Connected objects are objects that were created from the context and are associated with an open, usable context to 11 | a service provider. They provide implementations of navigation of the abstract data model and allow the client to 12 | interact with the service provider through the model. 13 |

14 | 15 | -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/cdp-pal-openstack/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 3 | org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate 4 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 5 | org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve 6 | org.eclipse.jdt.core.compiler.compliance=1.7 7 | org.eclipse.jdt.core.compiler.debug.lineNumber=generate 8 | org.eclipse.jdt.core.compiler.debug.localVariable=generate 9 | org.eclipse.jdt.core.compiler.debug.sourceFile=generate 10 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 11 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 12 | org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning 13 | org.eclipse.jdt.core.compiler.source=1.7 14 | -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/cdp-pal-common/src/main/java/com/att/cdp/zones/ObjectService.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | 5 | package com.att.cdp.zones; 6 | 7 | /** 8 | * This interface is currently a placeholder for any future definition of a common abstraction for object services. 9 | * Since object services are optional, and may not be implemented by a specific provider, then when/if this is 10 | * implemented, use the implementation of the stack services as a guide. 11 | * 12 | * @since Sep 23, 2013 13 | * @version $Id$ 14 | */ 15 | 16 | public interface ObjectService extends Service { 17 | // unimplemented yet 18 | } 19 | -------------------------------------------------------------------------------- /ajsc5/ajsc-core/src/main/groovy/ajsc/ContextMgr.groovy: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | package ajsc 5 | 6 | import org.springframework.context.ApplicationEvent; 7 | import org.springframework.context.ApplicationListener 8 | 9 | class ContextMgr implements ApplicationListener { 10 | 11 | def rmgr 12 | static boolean initCalled = false 13 | 14 | 15 | public void onApplicationEvent(ApplicationEvent event) { 16 | // TODO Auto-generated method stub 17 | if (event.class == org.springframework.context.event.ContextRefreshedEvent && initCalled == false) { 18 | initCalled = true 19 | rmgr.init() 20 | } 21 | } 22 | 23 | } 24 | -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/cdp-pal-common/src/main/java/com/att/cdp/zones/model/HttpMethodType.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | 5 | package com.att.cdp.zones.model; 6 | 7 | public enum HttpMethodType { 8 | 9 | /** 10 | * 11 | */ 12 | HEAD, 13 | 14 | /** 15 | * 16 | */ 17 | GET, 18 | 19 | /** 20 | * 21 | */ 22 | POST, 23 | 24 | /** 25 | * 26 | */ 27 | PUT, 28 | 29 | /** 30 | * 31 | */ 32 | PATCH, 33 | 34 | /** 35 | * 36 | */ 37 | DELETE, 38 | 39 | /** 40 | * 41 | */ 42 | OPTIONS, 43 | 44 | /** 45 | * 46 | */ 47 | TRACE 48 | 49 | } 50 | -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/cdp-pal-openstack/src/main/java/com/att/cdp/openstack/v1/OpenStackObjectService.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | 5 | package com.att.cdp.openstack.v1; 6 | 7 | import com.att.cdp.zones.Context; 8 | import com.att.cdp.zones.spi.AbstractPersistentObject; 9 | 10 | /** 11 | * @since May 2, 2014 12 | * @version $Id$ 13 | */ 14 | 15 | public class OpenStackObjectService extends AbstractPersistentObject { 16 | 17 | /** 18 | * @param context 19 | * The context for the provider 20 | */ 21 | public OpenStackObjectService(Context context) { 22 | super(context); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /ajsc5/ajsc-runner/src/main/java/com/att/ajsc/runner/xml/package-info.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | // 5 | // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 6 | // See http://java.sun.com/xml/jaxb 7 | // Any modifications to this file will be lost upon recompilation of the source schema. 8 | // Generated on: 2014.08.19 at 11:13:09 AM EDT 9 | // 10 | 11 | @javax.xml.bind.annotation.XmlSchema(namespace = "http://java.sun.com/xml/ns/javaee", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) 12 | package com.att.ajsc.runner.xml; 13 | -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/cdp-pal-openstack/src/main/java/com/att/cdp/openstack/heat/model/ModelObject.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | 5 | package com.att.cdp.openstack.heat.model; 6 | 7 | /** 8 | * This is the base class for all Heat model objects. 9 | * 10 | * @since May 26, 2015 11 | * @version $Id$ 12 | */ 13 | 14 | public abstract class ModelObject implements Cloneable { 15 | 16 | /** 17 | * Clones the model object base class. 18 | * 19 | * @see java.lang.Object#clone() 20 | */ 21 | @Override 22 | protected Object clone() throws CloneNotSupportedException { 23 | return super.clone(); 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /Camunda/sdk-java-camunda-core/src/main/java/com/att/ajsc/camunda/core/AafCamundaRole.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved. 3 | * 4 | *******************************************************************************/ 5 | package com.att.ajsc.camunda.core; 6 | 7 | import java.util.List; 8 | public class AafCamundaRole 9 | { 10 | private String name; 11 | 12 | private List perms; 13 | 14 | public String getName() { 15 | return name; 16 | } 17 | 18 | public void setName(String name) { 19 | this.name = name; 20 | } 21 | 22 | public List getPerms() { 23 | return perms; 24 | } 25 | 26 | public void setPerms(List perms) { 27 | this.perms = perms; 28 | } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /ajsc5/ajsc-archetype/src/main/resources/archetype-resources/src/main/config/jul-redirect.properties: -------------------------------------------------------------------------------- 1 | 2 | ############################################################ 3 | # Bridge JUL->slf4j Logging Configuration File 4 | # 5 | # This file bridges the JUL logging infrastructure into 6 | # SLF4J so JUL logs go to logback implementation provided 7 | # in this project. SLF4J also captures log4j and has 8 | # other framework options as well providing a common 9 | # logging infrastructure for capturing all logs from different 10 | # libraries using different frameworks in one place. 11 | ############################################################ 12 | 13 | ############################################################ 14 | # Global properties 15 | ############################################################ 16 | handlers=org.slf4j.bridge.SLF4JBridgeHandler 17 | .level= ALL 18 | -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/cdp-pal-common/src/test/java/com/att/cdp/zones/spi/model/TestConnectedFault.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | 5 | package com.att.cdp.zones.spi.model; 6 | 7 | import static org.junit.Assert.assertNotNull; 8 | 9 | import org.junit.Before; 10 | import org.junit.Test; 11 | 12 | import com.att.cdp.zones.Context; 13 | 14 | public class TestConnectedFault extends AbstractConnectedTests { 15 | 16 | /** 17 | * Verify the object is not null 18 | */ 19 | @Test 20 | public void testConnectedFault() { 21 | ConnectedFault fault = new ConnectedFault(context); 22 | assertNotNull(fault); 23 | 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /ajsc5/ajsc-core/src/test/resources/appprops/AAFUserRoles.properties: -------------------------------------------------------------------------------- 1 | #Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 2 | #If using AAF for Role based authentication/authorization, define your routes/services which will utilize AAF. The AJSC will 3 | #read this file and protect the routes given with the AAF role defined. 4 | 5 | #The following example would protect the JAXRS echo example service provided with the archetype. 6 | #/services/${namespace}/${namespaceVersion}/jaxrs-services/jaxrsExample/echo/*=com.att.ajsc.myper|mymachine|manage 7 | 8 | #The following example would protect ALL AJSC services running within your project. 9 | #/**=com.att.ajsc.myperm|mymachine|manage 10 | 11 | #The following example would protect ALL REST services utilizing the Camel restlet routes. 12 | #/rest/**=com.att.ajsc.myperm|mymachine|manage 13 | services = services,rest,downs,ha -------------------------------------------------------------------------------- /ajsc5/ajsc-archetype/src/main/resources/archetype-resources/src/main/java/JaxrsUserService.java: -------------------------------------------------------------------------------- 1 | package ${package}; 2 | 3 | import javax.ws.rs.GET; 4 | import javax.ws.rs.Path; 5 | import javax.ws.rs.PathParam; 6 | import javax.ws.rs.Produces; 7 | import java.util.Map; 8 | import java.util.HashMap; 9 | 10 | @Path("/user") 11 | public class JaxrsUserService { 12 | 13 | private static final Map userIdToNameMap; 14 | static { 15 | userIdToNameMap = new HashMap(); 16 | userIdToNameMap.put("dw113c","Doug Wait"); 17 | userIdToNameMap.put("so401q","Stuart O'Day"); 18 | } 19 | 20 | @GET 21 | @Path("/{userId}") 22 | @Produces("text/plain") 23 | public String lookupUser(@PathParam("userId") String userId) { 24 | String name = userIdToNameMap.get(userId); 25 | return name != null ? name : "unknown id"; 26 | } 27 | 28 | } -------------------------------------------------------------------------------- /Camunda/sdk-camunda-archetype/src/main/resources/archetype-resources/src/main/resources/META-INF/resources/icd/lib/jquery.wiggle.min.js: -------------------------------------------------------------------------------- 1 | /* 2 | jQuery Wiggle 3 | Author: WonderGroup, Jordan Thomas 4 | URL: http://labs.wondergroup.com/demos/mini-ui/index.html 5 | License: MIT (http://en.wikipedia.org/wiki/MIT_License) 6 | */ 7 | jQuery.fn.wiggle=function(o){var d={speed:50,wiggles:3,travel:5,callback:null};var o=jQuery.extend(d,o);return this.each(function(){var cache=this;var wrap=jQuery(this).wrap('
').css("position","relative");var calls=0;for(i=1;i<=o.wiggles;i++){jQuery(this).animate({left:"-="+o.travel},o.speed).animate({left:"+="+o.travel*2},o.speed*2).animate({left:"-="+o.travel},o.speed,function(){calls++;if(jQuery(cache).parent().hasClass('wiggle-wrap')){jQuery(cache).parent().replaceWith(cache);} 8 | if(calls==o.wiggles&&jQuery.isFunction(o.callback)){o.callback();}});}});}; -------------------------------------------------------------------------------- /ajsc5/ajsc-archetype/src/main/resources/archetype-resources/bundleconfig-local/etc/appprops/AAFUserRoles.properties: -------------------------------------------------------------------------------- 1 | #Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 2 | 3 | #If using AAF for Role based authentication/authorization, define your routes/services which will utilize AAF. The AJSC will 4 | #read this file and protect the routes given with the AAF role defined. 5 | 6 | #The following example would protect the JAXRS echo example service provided with the archetype. 7 | #/services/${namespace}/${namespaceVersion}/jaxrs-services/jaxrsExample/echo/*=com.att.ajsc.myper|mymachine|manage 8 | 9 | #The following example would protect ALL AJSC services running within your project. 10 | #/**=com.att.ajsc.myperm|mymachine|manage 11 | 12 | #The following example would protect ALL REST services utilizing the Camel restlet routes. 13 | #/rest/**=com.att.ajsc.myperm|mymachine|manage 14 | -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/cdp-pal-common/src/main/java/com/att/cdp/zones/model/LoadBalancerStatusType.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | 5 | package com.att.cdp.zones.model; 6 | 7 | /** 8 | * @since May 19, 2015 9 | * @version $Id$ 10 | */ 11 | public enum LoadBalancerStatusType { 12 | 13 | /** 14 | * 15 | */ 16 | ACTIVE, 17 | 18 | /** 19 | * 20 | */ 21 | BUILD, 22 | 23 | /** 24 | * 25 | */ 26 | DOWN, 27 | 28 | /** 29 | * 30 | */ 31 | ERROR, 32 | 33 | /** 34 | * 35 | */ 36 | PENDING_CREATE, 37 | 38 | /** 39 | * 40 | */ 41 | PENDING_DELETE, 42 | 43 | /** 44 | * 45 | */ 46 | PENDING_UPDATE; 47 | } 48 | -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/cdp-pal-common/src/test/java/com/att/cdp/zones/spi/model/TestConnectedPersistentObject.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | 5 | package com.att.cdp.zones.spi.model; 6 | 7 | import static org.junit.Assert.assertNotNull; 8 | 9 | import org.junit.Before; 10 | import org.junit.Test; 11 | 12 | import com.att.cdp.zones.Context; 13 | 14 | public class TestConnectedPersistentObject extends AbstractConnectedTests { 15 | /** 16 | * Verify the object is not null 17 | */ 18 | @Test 19 | public void testPersistentObj() { 20 | ConnectedPersistentObject obj = new ConnectedPersistentObject(context); 21 | assertNotNull(obj); 22 | 23 | } 24 | 25 | } 26 | -------------------------------------------------------------------------------- /Camunda/sdk-java-camunda-core/src/main/java/com/att/ajsc/camunda/core/AttCamundaResourceEnum.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved. 3 | * 4 | *******************************************************************************/ 5 | package com.att.ajsc.camunda.core; 6 | 7 | public enum AttCamundaResourceEnum 8 | { 9 | APPLICATION(0), 10 | USER( 1), 11 | GROUP( 2), 12 | GROUP_MEMBERSHIP(3), 13 | AUTHORIZATION(4), 14 | FILTER(5), 15 | PROCESS_DEFINITION(6), 16 | TASK( 7), 17 | PROCESS_INSTANCE( 8), 18 | DEPLOYMENT( 9); 19 | 20 | private int resourceValue; 21 | 22 | private AttCamundaResourceEnum(int resourceValue) 23 | { 24 | this.resourceValue = resourceValue; 25 | } 26 | 27 | public int getResourceValue() 28 | { 29 | return this.resourceValue; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/cdp-pal-common/src/main/java/com/att/cdp/zones/spi/AbstractStack.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | 5 | package com.att.cdp.zones.spi; 6 | 7 | import com.att.cdp.zones.Context; 8 | import com.att.cdp.zones.StackService; 9 | 10 | /** 11 | * An abstract base class for all service implementations in any concrete providers. 12 | * 13 | * @since Jan 16, 2015 14 | * @version $Id$ 15 | */ 16 | 17 | public abstract class AbstractStack extends AbstractService implements StackService { 18 | 19 | /** 20 | * @param context 21 | * The context that we are connected to 22 | */ 23 | public AbstractStack(Context context) { 24 | super(context); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /Camunda/sdk-camunda-archetype/src/main/resources/archetype-resources/src/main/java/model/HelloWorld.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved. 3 | * 4 | *******************************************************************************/ 5 | #set($symbol_pound='#')#set($symbol_dollar='$')#set($symbol_escape='\')package ${package}.model; 6 | 7 | public class HelloWorld { 8 | 9 | private String message; 10 | 11 | public HelloWorld() { 12 | // needed for deserializer 13 | } 14 | 15 | public HelloWorld(String message) { 16 | this.message = message; 17 | } 18 | 19 | public String getMessage() { 20 | return message; 21 | } 22 | 23 | public void setMessage(String message) { 24 | this.message = message; 25 | } 26 | 27 | @Override 28 | public String toString() { 29 | return "message = " + getMessage(); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/cdp-pal-common/src/main/java/com/att/cdp/zones/spi/model/ConnectedFault.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | 5 | package com.att.cdp.zones.spi.model; 6 | 7 | import com.att.cdp.zones.Context; 8 | import com.att.cdp.zones.model.Fault; 9 | 10 | /** 11 | * @since Oct 25, 2013 12 | * @version $Id$ 13 | */ 14 | 15 | public class ConnectedFault extends Fault { 16 | 17 | /** 18 | * The serial number 19 | */ 20 | private static final long serialVersionUID = 1L; 21 | 22 | /** 23 | * Create the connected fault 24 | * 25 | * @param context 26 | * The context we are servicing 27 | */ 28 | public ConnectedFault(Context context) { 29 | super(context); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/cdp-pal-common/src/test/java/com/att/cdp/zones/test/DummyProvider.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | 5 | package com.att.cdp.zones.test; 6 | 7 | import java.util.Properties; 8 | 9 | import com.att.cdp.zones.Context; 10 | import com.att.cdp.zones.spi.AbstractProvider; 11 | 12 | /** 13 | * This is a test provider. 14 | * 15 | * @since Sep 23, 2013 16 | * @version $Id$ 17 | */ 18 | 19 | public class DummyProvider extends AbstractProvider { 20 | 21 | /** 22 | * @see com.att.cdp.zones.Provider#openContext(java.util.Properties) 23 | */ 24 | @Override 25 | public Context openContext(Properties properties) { 26 | return new DummyProviderContext(this, getDefaults(), properties); 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /ajsc5/ajsc-core/src/test/java/com/att/ajsc/test/java/SystemParamsTest.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | package com.att.ajsc.test.java; 5 | 6 | import static org.junit.Assert.*; 7 | 8 | import java.net.UnknownHostException; 9 | 10 | import org.junit.Ignore; 11 | import org.junit.Test; 12 | 13 | import ajsc.utils.SystemParams; 14 | 15 | public class SystemParamsTest { 16 | @Ignore 17 | @Test 18 | public void shouldCreateInstance() throws UnknownHostException{ 19 | SystemParams params = SystemParams.instance(); 20 | System.setProperty("lrmHost","12345"); 21 | 22 | assertTrue(params.getInstanceName().contains("ajsc:N/A-N/A-N/A-")); 23 | assertNotNull(params.getHostName()); 24 | assertEquals("N/A",params.getAppName()); 25 | } 26 | 27 | 28 | } 29 | -------------------------------------------------------------------------------- /ajsc5/ajsc-war/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | ajsc-war 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.wst.common.project.facet.core.builder 10 | 11 | 12 | 13 | 14 | org.eclipse.jdt.core.javabuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.m2e.core.maven2Builder 20 | 21 | 22 | 23 | 24 | 25 | org.eclipse.jdt.groovy.core.groovyNature 26 | org.eclipse.jdt.core.javanature 27 | org.eclipse.m2e.core.maven2Nature 28 | org.eclipse.wst.common.project.facet.core.nature 29 | 30 | 31 | -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/cdp-pal-common/src/main/java/com/att/cdp/zones/spi/model/ConnectedACL.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | 5 | package com.att.cdp.zones.spi.model; 6 | 7 | import com.att.cdp.zones.Context; 8 | import com.att.cdp.zones.model.ACL; 9 | 10 | /** 11 | * @since Oct 23, 2013 12 | * @version $Id$ 13 | */ 14 | public class ConnectedACL extends ACL { 15 | 16 | /** 17 | * Serial number 18 | */ 19 | private static final long serialVersionUID = 1L; 20 | 21 | /** 22 | * Create the connected ACL object (to the supplied context) 23 | * 24 | * @param context 25 | * The context we are connected to 26 | */ 27 | public ConnectedACL(Context context) { 28 | super(context); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/cdp-pal-common/src/test/java/com/att/cdp/zones/spi/model/ConnectedSnapshotTest.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | 5 | package com.att.cdp.zones.spi.model; 6 | 7 | import static org.junit.Assert.*; 8 | 9 | import org.junit.Test; 10 | 11 | 12 | public class ConnectedSnapshotTest { 13 | 14 | ConnectedSnapshot thisCS = new ConnectedSnapshot(null); 15 | 16 | @Test 17 | public void testIsConnected() { 18 | assertNotNull(thisCS.isConnected()); 19 | } 20 | 21 | @Test 22 | public void testSetId() { 23 | thisCS.setId("myid"); 24 | } 25 | 26 | @Test 27 | public void testSetStatus() { 28 | thisCS.setStatus(null); 29 | } 30 | 31 | @Test 32 | public void testSetVolumeId() { 33 | thisCS.setVolumeId("myvolume"); 34 | } 35 | 36 | } 37 | -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/cdp-pal-openstack/src/test/java/com/att/cdp/openstack/model/TestOpenStackACL.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | 5 | package com.att.cdp.openstack.model; 6 | 7 | import org.junit.Ignore; 8 | import org.junit.Test; 9 | 10 | import com.att.cdp.AbstractTestCase; 11 | import com.att.cdp.exceptions.ZoneException; 12 | import com.att.cdp.openstack.OpenStackContext; 13 | import com.woorea.openstack.nova.model.SecurityGroup; 14 | 15 | public class TestOpenStackACL extends AbstractTestCase { 16 | 17 | @Test 18 | @Ignore 19 | public void testCtorACL() throws ZoneException { 20 | OpenStackContext context = login(); 21 | 22 | SecurityGroup group = new SecurityGroup(); 23 | 24 | logout(context); 25 | } 26 | 27 | } 28 | -------------------------------------------------------------------------------- /Camunda/sdk-camunda-archetype/src/main/resources/archetype-resources/src/main/java/Routes.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved. 3 | * 4 | *******************************************************************************/ 5 | package ${package}; 6 | 7 | import org.apache.camel.builder.RouteBuilder; 8 | import org.springframework.beans.factory.annotation.Autowired; 9 | import org.springframework.stereotype.Component; 10 | 11 | import com.att.ajsc.common.camel.AjscRouteBuilder; 12 | 13 | @Component 14 | public class Routes extends RouteBuilder { 15 | @Autowired 16 | private AjscRouteBuilder ajscRoute; 17 | 18 | @Override 19 | public void configure() throws Exception { 20 | ajscRoute.initialize(this); 21 | ajscRoute 22 | .setRoute(from("servlet:/?matchOnUriPrefix=true").to("cxfbean:jaxrsServices?providers=jaxrsProviders")); 23 | } 24 | 25 | } 26 | -------------------------------------------------------------------------------- /Camunda/sdk-camunda-archetype/src/main/resources/archetype-resources/src/main/resources/bootstrap.properties: -------------------------------------------------------------------------------- 1 | ############################################################################### 2 | # Copyright (c) 2017 AT&T Intellectual Property. All rights reserved. 3 | # 4 | ############################################################################### 5 | spring.cloud.config.discovery.enabled=false 6 | spring.cloud.config.enabled=false 7 | 8 | # Allow Spring Cloud properties configuration to override properties set from System Properties and ENV Properties 9 | spring.cloud.config.overrideSystemProperties=true 10 | 11 | # Path to the file containing the dynamic properties 12 | com.att.ajsc.dynamic.properties.path=/etc/config/dynamic.properties 13 | 14 | # Path to the file containing the dynamic logger levels 15 | com.att.ajsc.dynamic.logging.path=/etc/config/logging.properties 16 | 17 | # File watcher polling frequency in milliseconds 18 | com.att.ajsc.dynamic.watcher.delay=5000 -------------------------------------------------------------------------------- /Camunda/sdk-camunda-archetype/src/main/resources/archetype-resources/src/main/java/service/LogService.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved. 3 | * 4 | *******************************************************************************/ 5 | #set($symbol_pound='#')#set($symbol_dollar='$')#set($symbol_escape='\')package ${package}.service; 6 | 7 | public interface LogService { 8 | 9 | public String logMessage(String logMessageText, String javamail, String springmail, String commonsmail); 10 | 11 | public String postLogMessage(String histEventList); 12 | 13 | public String createLogMessage(String startTime, String endTime, String serviceName); 14 | 15 | public String createLogMessageUsingHistory(String procInstId, String histEventList); 16 | 17 | public String CreateHistLog(String procInstId); 18 | 19 | 20 | } 21 | -------------------------------------------------------------------------------- /ajsc5/ajsc-core/src/test/java/com/att/ajsc/test/java/SparkUtilsTest.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | package com.att.ajsc.test.java; 5 | 6 | import static org.junit.Assert.*; 7 | 8 | import java.util.List; 9 | 10 | import org.junit.Test; 11 | 12 | import com.att.ajsc.csi.restmethodmap.SparkUtils; 13 | 14 | public class SparkUtilsTest { 15 | 16 | 17 | @Test 18 | public void shouldReturnArrayList(){ 19 | List paths = SparkUtils.convertRouteToList("file:/data?noops=true "); 20 | assertEquals(2,paths.size()); 21 | } 22 | 23 | @Test 24 | public void isParam(){ 25 | assertTrue(SparkUtils.isParam("{sleep=1000?convert=true}")); 26 | } 27 | 28 | @Test 29 | public void isSplat(){ 30 | assertTrue(SparkUtils.isSplat("*")); 31 | } 32 | 33 | } 34 | -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/cdp-pal-common/src/test/java/com/att/cdp/zones/test/DummyTenant.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | 5 | package com.att.cdp.zones.test; 6 | 7 | import com.att.cdp.zones.spi.model.ConnectedTenant; 8 | 9 | /** 10 | * This class represents a dummy tenant implementation useful for testing the API 11 | * 12 | * @since Oct 8, 2013 13 | * @version $Id$ 14 | */ 15 | 16 | public class DummyTenant extends ConnectedTenant { 17 | 18 | /** 19 | * 20 | */ 21 | private static final long serialVersionUID = 1L; 22 | 23 | /** 24 | * @param context 25 | * The context 26 | */ 27 | public DummyTenant(DummyProviderContext context) { 28 | super(context); 29 | setName("DummyTenant"); 30 | } 31 | 32 | } 33 | -------------------------------------------------------------------------------- /ajsc5/ajsc-core/src/test/java/com/att/ajsc/test/java/CommonErrorsTest.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | package com.att.ajsc.test.java; 5 | 6 | import static org.junit.Assert.*; 7 | 8 | import org.junit.Test; 9 | 10 | import ajsc.common.CommonErrors; 11 | 12 | public class CommonErrorsTest { 13 | 14 | @Test 15 | public void shouldHaveConstants(){ 16 | assertEquals("10000000005", CommonErrors.DEF_401_FAULT_CODE); 17 | assertEquals("10000000003", CommonErrors.DEF_403_FAULT_CODE); 18 | assertEquals("20000000005", CommonErrors.DEF_501_FAULT_CODE); 19 | assertEquals("20000000003", CommonErrors.DEF_503_FAULT_CODE); 20 | assertEquals("20000000013", CommonErrors.DEF_500_FAULT_CODE); 21 | assertEquals("20000000013", CommonErrors.DEF_5NN_FAULT_CODE); 22 | } 23 | 24 | } 25 | -------------------------------------------------------------------------------- /ajsc5/ajsc-archetype/src/main/resources/archetype-resources/src/main/assemble/ajsc_props_assembly.xml: -------------------------------------------------------------------------------- 1 | 4 | 8 | \${version}_properties 9 | false 10 | 11 | zip 12 | 13 | 14 | 15 | ${project.basedir}/target/versioned-ajsc/props 16 | ${module.ajsc.namespace.name}/${module.ajsc.namespace.version}/props/ 17 | 18 | *.props 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /ajsc5/ajsc-archetype/src/main/resources/archetype-resources/ajsc-shared-config/etc/aft.properties: -------------------------------------------------------------------------------- 1 | #Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 2 | # Flow test 319 3 | # The DEFAULT setup for this file is for deployment to soa cloud node which will use the "bundleconfig/etc/spm2.jks" location 4 | # For Testing Locally, you can set the system property, csiEnable=true, found within bundleconfig-local/etc/sysprops/sys-props.properties 5 | # and switch com.att.aft.keyStore and com.att.aft.trustStore values commented out below to "ajsc-shared-config/etc/spm2.jks" 6 | 7 | #replace proper values for the dummy values. 8 | com.att.aft.discovery.client.environment=TEST 9 | com.att.aft.discovery.client.latitude=35.318900 10 | com.att.aft.discovery.client.longitude=-80.762200 11 | com.att.aft.alias=fusionbus 12 | com.att.aft.keyStore=bundleconfig/etc/key.jks 13 | com.att.aft.keyStorePassword=password 14 | com.att.aft.trustStore=bundleconfig/etc/key.jks 15 | com.att.aft.trustStorePassword=password 16 | -------------------------------------------------------------------------------- /Camunda/sdk-java-camunda-core/src/main/java/com/att/ajsc/camunda/core/AttCamundaPermissionEnum.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved. 3 | * 4 | *******************************************************************************/ 5 | package com.att.ajsc.camunda.core; 6 | 7 | import org.camunda.bpm.engine.authorization.Permissions; 8 | public enum AttCamundaPermissionEnum 9 | { 10 | NONE(Permissions.NONE), 11 | ALL( Permissions.ALL), 12 | READ( Permissions.READ), 13 | UPDATE(Permissions.UPDATE), 14 | CREATE(Permissions.CREATE), 15 | DELETE(Permissions.DELETE), 16 | ACCESS(Permissions.ACCESS); 17 | 18 | private Permissions permissions; 19 | 20 | private AttCamundaPermissionEnum(Permissions permissions) 21 | { 22 | this.permissions = permissions; 23 | } 24 | 25 | public Permissions getPermissions() 26 | { 27 | return this.permissions; 28 | } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /att-camel-dme2-servlet/src/main/resources/META-INF/services/org/apache/camel/component/att-dme2-servlet: -------------------------------------------------------------------------------- 1 | # 2 | # Licensed to the Apache Software Foundation (ASF) under one or more 3 | # contributor license agreements. See the NOTICE file distributed with 4 | # this work for additional information regarding copyright ownership. 5 | # The ASF licenses this file to You under the Apache License, Version 2.0 6 | # (the "License"); you may not use this file except in compliance with 7 | # the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | # 17 | 18 | class=com.att.camel.component.dme2.servlet.DME2ServletComponent 19 | -------------------------------------------------------------------------------- /att-camel-dme2-servlet/bin/src/main/resources/META-INF/services/org/apache/camel/component/att-dme2-servlet: -------------------------------------------------------------------------------- 1 | # 2 | # Licensed to the Apache Software Foundation (ASF) under one or more 3 | # contributor license agreements. See the NOTICE file distributed with 4 | # this work for additional information regarding copyright ownership. 5 | # The ASF licenses this file to You under the Apache License, Version 2.0 6 | # (the "License"); you may not use this file except in compliance with 7 | # the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | # 17 | 18 | class=com.att.camel.component.dme2.servlet.DME2ServletComponent 19 | -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/cdp-pal-common/src/main/java/com/att/cdp/zones/model/package.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 |

Purpose

8 |

This package contains all of the model objects that are defined as part of the rime API. Since rime is intended 9 | to be a universal, abstract mechanism to access any cloud infrastructure, the actual data objects of the underlying 10 | cloud implementation must be translated to a common, well-defined model that is defined by rime. This means that any 11 | client that accesses a cloud infrastructure implementation using rime does so using rime's definitions of data 12 | types. This ensures that the behavior is always the same as seen by the client regardless of the underlying 13 | implementation.

14 | 15 | -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/cdp-pal-common/src/main/java/com/att/cdp/zones/spi/AbstractPersistentObject.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | 5 | package com.att.cdp.zones.spi; 6 | 7 | import com.att.cdp.zones.Context; 8 | import com.att.cdp.zones.ObjectService; 9 | 10 | /** 11 | * @since May 2, 2014 12 | * @version $Id$ 13 | */ 14 | 15 | public class AbstractPersistentObject extends AbstractService implements ObjectService { 16 | 17 | /** 18 | * @param context 19 | * The context that we are connected to 20 | */ 21 | public AbstractPersistentObject(Context context) { 22 | super(context); 23 | } 24 | 25 | /** 26 | * @see com.att.cdp.zones.Service#getURL() 27 | */ 28 | @Override 29 | public String getURL() { 30 | return ""; 31 | } 32 | 33 | } 34 | -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/cdp-pal-common/src/main/java/com/att/cdp/zones/spi/model/ConnectedTemplate.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | 5 | package com.att.cdp.zones.spi.model; 6 | 7 | import com.att.cdp.zones.Context; 8 | import com.att.cdp.zones.model.Template; 9 | 10 | /** 11 | * @since Oct 8, 2013 12 | * @version $Id$ 13 | */ 14 | public class ConnectedTemplate extends Template { 15 | 16 | /** 17 | * The serial number of this class 18 | */ 19 | private static final long serialVersionUID = 1L; 20 | 21 | /** 22 | * Create a connected Template object that is navigable 23 | * 24 | * @param context 25 | * The context that we are processing 26 | */ 27 | public ConnectedTemplate(Context context) { 28 | super(context); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /ajsc5/ajsc-core/src/test/java/com/att/ajsc/test/java/CommonNamesTest.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | package com.att.ajsc.test.java; 5 | 6 | import static org.junit.Assert.assertEquals; 7 | 8 | import org.junit.Test; 9 | 10 | import ajsc.common.CommonNames; 11 | 12 | public class CommonNamesTest { 13 | 14 | 15 | @Test 16 | public void shouldHaveConstants(){ 17 | assertEquals("X-CSI-Version", CommonNames.CSI_VERSION); 18 | assertEquals("X-CSI-OriginalVersion", CommonNames.CSI_ORIGINAL_VERSION); 19 | assertEquals("X-CSI-ConversationId", CommonNames.CSI_CONVERSATION_ID); 20 | assertEquals("X-CSI-UniqueTransactionId", CommonNames.CSI_UNIQUE_TXN_ID); 21 | assertEquals("X-CSI-MessageId", CommonNames.CSI_MESSAGE_ID); 22 | assertEquals("X-CSI-TimeToLive", CommonNames.CSI_TIME_TO_LIVE); 23 | } 24 | 25 | } 26 | -------------------------------------------------------------------------------- /ajsc5/ajsc-war/src/main/resources/applicationContext.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 19 | 20 | -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/cdp-pal-common/src/main/java/com/att/cdp/zones/spi/model/ConnectedRoute.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | 5 | package com.att.cdp.zones.spi.model; 6 | 7 | import com.att.cdp.zones.Context; 8 | import com.att.cdp.zones.model.Route; 9 | 10 | /** 11 | * The definition of a connected route on a subnet 12 | * 13 | * @since May 07, 2015 14 | * @version $Id$ 15 | */ 16 | 17 | public class ConnectedRoute extends Route { 18 | 19 | /** 20 | * 21 | */ 22 | private static final long serialVersionUID = 1L; 23 | 24 | /** 25 | * Create a connected Route object that is navigable 26 | * 27 | * @param context 28 | * The context that we are processing 29 | */ 30 | public ConnectedRoute(Context context) { 31 | super(context); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/cdp-pal-common/src/main/java/com/att/cdp/zones/spi/model/ConnectedLoadBalancerPool.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | 5 | package com.att.cdp.zones.spi.model; 6 | 7 | import com.att.cdp.zones.Context; 8 | import com.att.cdp.zones.model.LoadBalancerPool; 9 | 10 | /** 11 | * @since 05/04/2015 12 | * @version $Id$ 13 | */ 14 | 15 | public class ConnectedLoadBalancerPool extends LoadBalancerPool { 16 | 17 | /** 18 | * 19 | */ 20 | private static final long serialVersionUID = 1L; 21 | 22 | /** 23 | * Create the connected LoadBalancerPool object (to the supplied context) 24 | * 25 | * @param context 26 | * The context we are connected to 27 | */ 28 | public ConnectedLoadBalancerPool(Context context) { 29 | super(context); 30 | } 31 | 32 | 33 | } 34 | -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/cdp-pal-openstack/src/test/resources/log4j.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /ajsc5/ajsc-core/src/test/java/ajsc/DummyInterceptor.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | package ajsc; 5 | 6 | import java.util.Map; 7 | 8 | import javax.servlet.http.HttpServletRequest; 9 | import javax.servlet.http.HttpServletResponse; 10 | 11 | import ajsc.beans.interceptors.AjscInterceptor; 12 | 13 | public class DummyInterceptor implements AjscInterceptor{ 14 | 15 | private static DummyInterceptor classInstance = null; 16 | private static boolean allow=false; 17 | 18 | public static DummyInterceptor getInstance() { 19 | if(classInstance == null){ 20 | classInstance = new DummyInterceptor(); 21 | } 22 | return classInstance; 23 | } 24 | 25 | public boolean allowOrReject(HttpServletRequest req, HttpServletResponse resp, Map paramMap) throws Exception{ 26 | resp.setStatus(401); 27 | return allow; 28 | } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /ajsc5/ajsc-core/src/test/java/com/att/ajsc/test/java/PropertiesMapBeanTest.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | package com.att.ajsc.test.java; 5 | 6 | import static org.junit.Assert.assertEquals; 7 | 8 | import java.io.File; 9 | 10 | import org.junit.Test; 11 | 12 | import ajsc.BaseTestCase; 13 | 14 | import com.att.ajsc.beans.PropertiesMapBean; 15 | import com.att.ajsc.filemonitor.AJSCPropertiesMap; 16 | 17 | public class PropertiesMapBeanTest extends BaseTestCase{ 18 | 19 | @Test 20 | public void shouldReturnProperty() throws Exception{ 21 | File propertiesFile = new File(TEST_RSC_DIR+"sys-props.properties"); 22 | AJSCPropertiesMap.refresh(propertiesFile); 23 | String actualTimeOut = PropertiesMapBean.getProperty("sys-props.properties", "AFT_DME2_CONN_IDLE_TIMEOUTMS"); 24 | assertEquals("5000",actualTimeOut); 25 | } 26 | 27 | } 28 | -------------------------------------------------------------------------------- /ajsc5/ajsc-core/src/main/java/ajsc/beans/interceptors/PPInterceptorConstants.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | package ajsc.beans.interceptors; 5 | 6 | public class PPInterceptorConstants 7 | { 8 | public static final String SYSPROP_USEPPSERVICE = "usePPService"; 9 | public static final String SYSPROP_PPXML = "PartnerProfileXML"; 10 | public static final String SYSPROP_SVCVER = "PartnerProfileServiceVersion"; 11 | public static final String SYSPROP_SVCRO = "PartnerProfileServiceRouteOffer"; 12 | public static final String SYSPROP_PPPOL = "PPServicePoliciesFile"; 13 | public static final String SYSPROP_PPREFRESH = "PPRefreshInterval"; 14 | public static final int DEFAULT_PPREFRESH = 30; 15 | public static final String HTTP_HEADER_SERVICE_NAME = "X-CSI-ServiceName"; 16 | public static final String HTTP_HEADER_USER_NAME = "X-CSI-UserName"; 17 | } 18 | -------------------------------------------------------------------------------- /ajsc5/ajsc-core/src/main/java/ajsc/filter/PassthruFilter.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | package ajsc.filter; 5 | 6 | import java.io.IOException; 7 | 8 | import javax.servlet.Filter; 9 | import javax.servlet.FilterChain; 10 | import javax.servlet.FilterConfig; 11 | import javax.servlet.ServletException; 12 | import javax.servlet.ServletRequest; 13 | import javax.servlet.ServletResponse; 14 | 15 | public class PassthruFilter implements Filter { 16 | 17 | @Override 18 | public void destroy() { 19 | 20 | } 21 | 22 | @Override 23 | public void doFilter(ServletRequest request, ServletResponse response, 24 | FilterChain chain) throws IOException, ServletException { 25 | 26 | chain.doFilter(request, response); 27 | 28 | } 29 | 30 | @Override 31 | public void init(FilterConfig arg0) throws ServletException { 32 | 33 | } 34 | 35 | } 36 | -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/cdp-pal-common/src/main/java/com/att/cdp/zones/spi/model/ConnectedPersistentObject.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | 5 | package com.att.cdp.zones.spi.model; 6 | 7 | import com.att.cdp.zones.Context; 8 | import com.att.cdp.zones.model.PersistentObject; 9 | 10 | /** 11 | * @since Oct 8, 2013 12 | * @version $Id$ 13 | */ 14 | 15 | public class ConnectedPersistentObject extends PersistentObject { 16 | 17 | /** 18 | * The serial number of this class 19 | */ 20 | private static final long serialVersionUID = 1L; 21 | 22 | /** 23 | * Create a connected Object object that is navigable 24 | * 25 | * @param context 26 | * The context that we are processing 27 | */ 28 | public ConnectedPersistentObject(Context context) { 29 | super(context); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/cdp-pal-common/src/main/java/com/att/cdp/zones/spi/model/ConnectedVirtualInterface.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | 5 | package com.att.cdp.zones.spi.model; 6 | 7 | import com.att.cdp.zones.Context; 8 | import com.att.cdp.zones.model.VirtualInterface; 9 | 10 | /** 11 | * @since Oct 8, 2013 12 | * @version $Id$ 13 | */ 14 | public class ConnectedVirtualInterface extends VirtualInterface { 15 | 16 | /** 17 | * The serial number of this class 18 | */ 19 | private static final long serialVersionUID = 1L; 20 | 21 | /** 22 | * Create a connected VirtualInterface object that is navigable 23 | * 24 | * @param context 25 | * The context that we are processing 26 | */ 27 | public ConnectedVirtualInterface(Context context) { 28 | super(context); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/cdp-pal-common/src/main/java/com/att/cdp/zones/spi/model/ConnectedLoadBalancerListener.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | 5 | package com.att.cdp.zones.spi.model; 6 | 7 | import com.att.cdp.zones.Context; 8 | import com.att.cdp.zones.model.LoadBalancerListener; 9 | 10 | /** 11 | * @since 05/04/2015 12 | * @version $Id$ 13 | */ 14 | 15 | public class ConnectedLoadBalancerListener extends LoadBalancerListener { 16 | 17 | /** 18 | * 19 | */ 20 | private static final long serialVersionUID = 1L; 21 | 22 | /** 23 | * Create the connected LoadBalancerListener object (to the supplied context) 24 | * 25 | * @param context 26 | * The context we are connected to 27 | */ 28 | public ConnectedLoadBalancerListener(Context context) { 29 | super(context); 30 | } 31 | 32 | 33 | } 34 | -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/cdp-pal-common/src/main/java/com/att/cdp/zones/spi/model/ConnectedRouter.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | 5 | package com.att.cdp.zones.spi.model; 6 | 7 | import com.att.cdp.exceptions.ZoneException; 8 | import com.att.cdp.zones.Context; 9 | import com.att.cdp.zones.model.Router; 10 | import com.att.cdp.zones.model.Tenant; 11 | 12 | /** 13 | * @since Jul 21, 2014 14 | * @version $Id$ 15 | */ 16 | 17 | public class ConnectedRouter extends Router { 18 | 19 | /** 20 | * 21 | */ 22 | private static final long serialVersionUID = 1L; 23 | 24 | /** 25 | * Create a connected Router object that is navigable 26 | * 27 | * @param context 28 | * The context that we are processing 29 | */ 30 | public ConnectedRouter(Context context) { 31 | super(context); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/cdp-pal-common/src/main/java/com/att/cdp/zones/spi/model/ConnectedSubnet.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | 5 | package com.att.cdp.zones.spi.model; 6 | 7 | import com.att.cdp.exceptions.ZoneException; 8 | import com.att.cdp.zones.Context; 9 | import com.att.cdp.zones.model.Subnet; 10 | import com.att.cdp.zones.model.Tenant; 11 | 12 | /** 13 | * @since Jul 21, 2014 14 | * @version $Id$ 15 | */ 16 | 17 | public class ConnectedSubnet extends Subnet { 18 | 19 | /** 20 | * 21 | */ 22 | private static final long serialVersionUID = 1L; 23 | 24 | /** 25 | * Create a connected Network object that is navigable 26 | * 27 | * @param context 28 | * The context that we are processing 29 | */ 30 | public ConnectedSubnet(Context context) { 31 | super(context); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/cdp-pal-openstack/src/main/java/com/att/cdp/openstack/exception/UnmarshallException.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | 5 | package com.att.cdp.openstack.exception; 6 | 7 | import com.att.cdp.exceptions.ZoneException; 8 | 9 | /** 10 | * 11 | * @since May 26, 2015 12 | * @version $Id$ 13 | */ 14 | 15 | public class UnmarshallException extends ZoneException { 16 | 17 | /** 18 | * @param message 19 | */ 20 | public UnmarshallException(String message) { 21 | super(message); 22 | } 23 | 24 | /** 25 | * @param message 26 | * @param cause 27 | */ 28 | public UnmarshallException(String message, Throwable cause) { 29 | super(message, cause); 30 | } 31 | 32 | /** 33 | * @param cause 34 | */ 35 | public UnmarshallException(Throwable cause) { 36 | super(cause); 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /Camunda/sdk-java-camunda-core/src/main/java/com/att/ajsc/camunda/core/AafCamundaPermission.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved. 3 | * 4 | *******************************************************************************/ 5 | package com.att.ajsc.camunda.core; 6 | 7 | import java.io.Serializable; 8 | 9 | public class AafCamundaPermission implements Serializable 10 | { 11 | private static final long serialVersionUID = 1L; 12 | 13 | private String type; 14 | 15 | private String instance; 16 | 17 | private String action; 18 | 19 | public String getType() { 20 | return type; 21 | } 22 | 23 | public void setType(String type) { 24 | this.type = type; 25 | } 26 | 27 | public String getInstance() { 28 | return instance; 29 | } 30 | 31 | public void setInstance(String instance) { 32 | this.instance = instance; 33 | } 34 | 35 | public String getAction() { 36 | return action; 37 | } 38 | 39 | public void setAction(String action) { 40 | this.action = action; 41 | } 42 | } -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/cdp-pal-common/src/main/java/com/att/cdp/zones/model/ServerBootSource.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | 5 | package com.att.cdp.zones.model; 6 | 7 | /** 8 | * @since Oct 16, 2015 9 | * @version $Id$ 10 | */ 11 | 12 | public enum ServerBootSource { 13 | 14 | /** 15 | * The boot source cannot be determined 16 | */ 17 | UNKNOWN, 18 | 19 | /** 20 | * The server has been booted from a bootable volume. 21 | */ 22 | VOLUME, 23 | 24 | /** 25 | * The server was booted from an image 26 | */ 27 | IMAGE, 28 | 29 | /** 30 | * The server was booted from a snapshot 31 | */ 32 | SNAPSHOT, 33 | 34 | /** 35 | * Preboot Execution Environment, otherwise known as a "pixie" boot, is an image transfered to a machine via network 36 | * connection, also called a "network boot". 37 | */ 38 | PXE; 39 | } 40 | -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/cdp-pal-common/src/main/java/com/att/cdp/zones/spi/model/ConnectedLoadBalancerHealthMonitor.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | 5 | package com.att.cdp.zones.spi.model; 6 | 7 | import com.att.cdp.zones.Context; 8 | import com.att.cdp.zones.model.LoadBalancerHealthMonitor; 9 | 10 | /** 11 | * @since 05/04/2015 12 | * @version $Id$ 13 | */ 14 | 15 | public class ConnectedLoadBalancerHealthMonitor extends LoadBalancerHealthMonitor { 16 | 17 | /** 18 | * 19 | */ 20 | private static final long serialVersionUID = 1L; 21 | 22 | /** 23 | * Create the connected LoadBalancerHealthMonitor object (to the supplied context) 24 | * 25 | * @param context 26 | * The context we are connected to 27 | */ 28 | public ConnectedLoadBalancerHealthMonitor(Context context) { 29 | super(context); 30 | } 31 | 32 | 33 | } 34 | -------------------------------------------------------------------------------- /Camunda/sdk-camunda-archetype/src/main/resources/archetype-resources/src/main/java/common/LogMessages.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved. 3 | * 4 | *******************************************************************************/ 5 | #set( $symbol_pound = '#' ) 6 | #set( $symbol_dollar = '$' ) 7 | #set( $symbol_escape = '\' ) 8 | package ${package}.common; 9 | 10 | import com.att.eelf.i18n.EELFResolvableErrorEnum; 11 | import com.att.eelf.i18n.EELFResourceManager; 12 | 13 | public enum LogMessages implements EELFResolvableErrorEnum { 14 | 15 | RESTSERVICE_HELLO, RESTSERVICE_HELLO_NAME, SPRINSERVICE_HELLO, SPRINSERVICE_HELLO_NAME, SPRINSERVICE_HELLO_MESSAGE, SPRINSERVICE_HELLO_MESSAGE_NAME 16 | ,RESTLOGSERVICE_HELLO, RESTLOGSERVICE_HELLO_NAME, LOGSERVICE_HELLO_MESSAGE 17 | ,LOGSERVICE_EMAIL_ERROR, LOGSERVICE_EMAIL_CLASS, LOGSERVICE_EMAIL_CLASS_NULL, PROCESS_INSTANCE_ID; 18 | 19 | static { 20 | 21 | EELFResourceManager.loadMessageBundle("logmessages"); 22 | 23 | } 24 | 25 | } 26 | -------------------------------------------------------------------------------- /Jenkinsfile: -------------------------------------------------------------------------------- 1 | node { 2 | // Get the maven tool. 3 | // ** NOTE: This 'M3' maven tool must be configured 4 | // ** in the Jenkins global configuration. 5 | def mvnHome = tool 'M3' 6 | sh "echo ${mvnHome}" 7 | 8 | 9 | // Mark the code checkout 'stage'.... 10 | stage 'Checkout' 11 | // Get some code from a GitHub repository 12 | checkout scm 13 | 14 | // Mark the code build 'stage'.... 15 | stage 'Build ajsc5' 16 | // Run the maven build 17 | //sh for unix bat for windows 18 | 19 | //sh "${mvnHome}/bin/mvn -f att-camel-dme2-servlet/pom.xml clean deploy" 20 | //sh "${mvnHome}/bin/mvn -f ajsc5/pom.xml clean deploy" 21 | sh "${mvnHome}/bin/mvn -f cdp-pal/cdp-pal/pom.xml clean deploy" 22 | sh "${mvnHome}/bin/mvn -f cdp-pal/cdp-pal-common/pom.xml clean deploy" 23 | sh "${mvnHome}/bin/mvn -f cdp-pal/cdp-pal-openstack/pom.xml clean deploy" 24 | //sh "${mvnHome}/bin/mvn -f Camunda/sdk-java-camunda-core/pom.xml clean deploy" 25 | //sh "${mvnHome}/bin/mvn -f Camunda/sdk-camunda-archetype/pom.xml clean deploy" 26 | 27 | } 28 | -------------------------------------------------------------------------------- /Camunda/sdk-camunda-archetype/src/main/resources/archetype-resources/src/main/resources/system.properties: -------------------------------------------------------------------------------- 1 | ############################################################################### 2 | # Copyright (c) 2017 AT&T Intellectual Property. All rights reserved. 3 | # 4 | ############################################################################### 5 | # If the environment property system_properties_path contains a path to a file , System properties created using the file. If the environment variable not present, system.properties in the class path is used for system property creation 6 | 7 | com.att.eelf.logging.file=logback.xml 8 | 9 | # change as per logback.xml path 10 | com.att.eelf.logging.path=etc/config 11 | logging.config=etc/config/logback.xml 12 | 13 | 14 | #csiEnable value is false by default. If csiEnable property is set to true, audit and performance logs are send to the WMQ Queue 15 | csiEnable=true 16 | com.ibm.mq.cfg.useIBMCipherMappings=false 17 | com.att.aft.config.file=etc/config/aft.properties 18 | 19 | com.att.ajsc.cadi.file=etc/config/cadi.properties 20 | com.att.ajsc.app.prop.path=etc/config 21 | -------------------------------------------------------------------------------- /att-camel-dme2-servlet/src/main/java/com/att/camel/component/dme2/servlet/package.html: -------------------------------------------------------------------------------- 1 | 17 | 18 | 19 | 20 | 21 | 22 | Defines the DME2 Component 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /ajsc5/ajsc-core/src/test/java/com/att/ajsc/test/java/RefresheableSimpleRouteMatcherTest.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | package com.att.ajsc.test.java; 5 | 6 | import static org.junit.Assert.assertEquals; 7 | 8 | import java.io.File; 9 | 10 | import org.junit.Test; 11 | 12 | import ajsc.BaseTestCase; 13 | 14 | import com.att.ajsc.csi.restmethodmap.RefresheableSimpleRouteMatcher; 15 | import com.att.ajsc.csi.restmethodmap.SimpleRouteMatcher; 16 | 17 | public class RefresheableSimpleRouteMatcherTest extends BaseTestCase{ 18 | 19 | @Test 20 | public void testRouteMatcher() throws Exception{ 21 | 22 | File file = new File(TEST_RSC_DIR+"/appprops/methodMapper.properties"); 23 | RefresheableSimpleRouteMatcher.refresh(file); 24 | SimpleRouteMatcher matcher = (SimpleRouteMatcher)RefresheableSimpleRouteMatcher.getRouteMatcher(); 25 | 26 | assertEquals(3,matcher.getRoutes().size()); 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /att-camel-dme2-servlet/bin/src/main/java/com/att/camel/component/dme2/servlet/package.html: -------------------------------------------------------------------------------- 1 | 17 | 18 | 19 | 20 | 21 | 22 | Defines the DME2 Component 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/cdp-pal-common/src/test/java/com/att/cdp/zones/spi/model/TestConnectedACL.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | 5 | package com.att.cdp.zones.spi.model; 6 | 7 | import static org.junit.Assert.assertEquals; 8 | import static org.junit.Assert.assertNotNull; 9 | 10 | import org.junit.Before; 11 | import org.junit.Test; 12 | 13 | import com.att.cdp.zones.Context; 14 | 15 | public class TestConnectedACL extends AbstractConnectedTests { 16 | /** 17 | * Test the basic ACL features 18 | */ 19 | @Test 20 | public void testConnectedACL() { 21 | ConnectedACL acl = new ConnectedACL(context); 22 | acl.setDescription("desc"); 23 | acl.setId("id"); 24 | acl.setName("name"); 25 | assertNotNull(acl); 26 | assertEquals("desc", acl.getDescription()); 27 | assertEquals("id", acl.getId()); 28 | assertEquals("name", acl.getName()); 29 | } 30 | 31 | } 32 | -------------------------------------------------------------------------------- /Camunda/sdk-camunda-archetype/src/main/resources/archetype-resources/src/main/java/WebConfig.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved. 3 | * 4 | *******************************************************************************/ 5 | #set($symbol_pound='#')#set($symbol_dollar='$')#set($symbol_escape='\')package ${package}; 6 | 7 | import org.springframework.context.annotation.Bean; 8 | import org.springframework.context.annotation.Configuration; 9 | import org.springframework.web.servlet.config.annotation.ViewControllerRegistry; 10 | import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter; 11 | 12 | @Configuration 13 | public class WebConfig { 14 | 15 | @Bean 16 | public WebMvcConfigurerAdapter forwardToIndex() { 17 | return new WebMvcConfigurerAdapter() { 18 | @Override 19 | public void addViewControllers(ViewControllerRegistry registry) { 20 | registry.addViewController("/swagger").setViewName("redirect:/icd/index.html"); 21 | registry.addViewController("/icd/").setViewName("redirect:/icd/index.html"); 22 | } 23 | }; 24 | } 25 | } -------------------------------------------------------------------------------- /Camunda/sdk-java-camunda-core/src/main/java/com/att/ajsc/camunda/core/AttCamundaHistoryEvent.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved. 3 | * 4 | *******************************************************************************/ 5 | package com.att.ajsc.camunda.core; 6 | import java.util.ArrayList; 7 | import java.util.List; 8 | 9 | import org.camunda.bpm.engine.impl.history.event.HistoricActivityInstanceEventEntity; 10 | 11 | 12 | public class AttCamundaHistoryEvent { 13 | 14 | private List historyEventList = new ArrayList(); 15 | private String procInstId; 16 | public List getHistoryEventList() { 17 | return historyEventList; 18 | } 19 | public void setHistoryEventList( 20 | List historyEventList) { 21 | this.historyEventList = historyEventList; 22 | } 23 | public String getProcInstId() { 24 | return procInstId; 25 | } 26 | public void setProcInstId(String procInstId) { 27 | this.procInstId = procInstId; 28 | } 29 | 30 | } -------------------------------------------------------------------------------- /Camunda/sdk-camunda-archetype/src/main/resources/archetype-resources/src/main/java/workflow/ProcessRequestDelegate.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved. 3 | * 4 | *******************************************************************************/ 5 | 6 | #set($symbol_pound='#')#set($symbol_dollar='$')#set($symbol_escape='\')package ${package}.workflow; 7 | 8 | 9 | import org.camunda.bpm.engine.delegate.DelegateExecution; 10 | import org.camunda.bpm.engine.delegate.JavaDelegate; 11 | import org.slf4j.Logger; 12 | import org.slf4j.LoggerFactory; 13 | import org.springframework.stereotype.Component; 14 | 15 | 16 | @Component 17 | public class ProcessRequestDelegate implements JavaDelegate { 18 | 19 | private static final Logger LOGGER = LoggerFactory.getLogger(ProcessRequestDelegate.class); 20 | 21 | //@Override 22 | public void execute(DelegateExecution execution) throws Exception { 23 | LOGGER.info("Processing request by '"+execution.getVariable("customerId")+"'..."); 24 | LOGGER.info("Processing request by '"+execution.getVariable("amount")+"'..."); 25 | } 26 | 27 | } 28 | -------------------------------------------------------------------------------- /Camunda/sdk-camunda-archetype/src/main/resources/archetype-resources/src/main/webapp/forms/example-embedded-start-log-message.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
12 | 13 | 17 |
18 |
19 | 20 | 24 |
25 |
-------------------------------------------------------------------------------- /cdp-pal/cdp-pal/cdp-pal-common/src/main/java/com/att/cdp/zones/spi/model/ConnectedRule.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | 5 | package com.att.cdp.zones.spi.model; 6 | 7 | import com.att.cdp.zones.Context; 8 | import com.att.cdp.zones.model.Rule; 9 | 10 | /** 11 | * @since Oct 23, 2013 12 | * @version $Id$ 13 | */ 14 | public class ConnectedRule extends Rule { 15 | 16 | /** 17 | * Default serial version ID 18 | */ 19 | private static final long serialVersionUID = 1L; 20 | 21 | /** 22 | * Create a connected rule 23 | * 24 | * @param context 25 | * The context 26 | */ 27 | public ConnectedRule(Context context) { 28 | super(context); 29 | } 30 | 31 | /** 32 | * Returns true to indicate that the object is connected to a context 33 | * 34 | * @see com.att.cdp.zones.model.ModelObject#isConnected() 35 | */ 36 | @Override 37 | public boolean isConnected() { 38 | return true; 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /ajsc5/ajsc-api/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /Camunda/sdk-camunda-archetype/src/main/resources/archetype-resources/src/main/java/exception/AjscExceptionMapper.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved. 3 | * 4 | *******************************************************************************/ 5 | #set($symbol_pound='#')#set($symbol_dollar='$')#set($symbol_escape='\')package ${package}.exception; 6 | 7 | import javax.ws.rs.core.Response; 8 | import javax.ws.rs.ext.ExceptionMapper; 9 | 10 | import com.att.ajsc.common.AjscProvider; 11 | import com.att.ajsc.common.exception.ServerErrorException; 12 | import com.att.ajsc.common.exception.ServiceException; 13 | 14 | @AjscProvider 15 | public class AjscExceptionMapper implements ExceptionMapper { 16 | 17 | @Override 18 | public Response toResponse(final Exception exception) { 19 | ServiceException serviceException = null; 20 | 21 | if (exception instanceof ServiceException) { 22 | serviceException = (ServiceException) exception; 23 | } else { 24 | serviceException = new ServerErrorException(exception.getMessage()); 25 | } 26 | 27 | return serviceException.toResponse(); 28 | } 29 | } -------------------------------------------------------------------------------- /ajsc5/ajsc-runner/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /ajsc5/ajsc-core/src/test/java/com/att/ajsc/test/java/PassthruFilterTest.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | package com.att.ajsc.test.java; 5 | 6 | import static org.mockito.Mockito.*; 7 | 8 | import java.io.IOException; 9 | 10 | import javax.servlet.FilterChain; 11 | import javax.servlet.ServletException; 12 | import javax.servlet.http.HttpServletRequest; 13 | import javax.servlet.http.HttpServletResponse; 14 | 15 | import org.junit.Test; 16 | 17 | import ajsc.filter.PassthruFilter; 18 | 19 | public class PassthruFilterTest { 20 | 21 | @Test 22 | public void shouldCallDoFilter() throws IOException, ServletException{ 23 | HttpServletRequest request = mock(HttpServletRequest.class); 24 | HttpServletResponse response = mock(HttpServletResponse.class); 25 | FilterChain chain = mock(FilterChain.class); 26 | 27 | PassthruFilter passthruFilter = new PassthruFilter(); 28 | passthruFilter.doFilter(request, response, chain); 29 | 30 | verify(chain).doFilter(request, response); 31 | 32 | } 33 | 34 | } 35 | -------------------------------------------------------------------------------- /ajsc5/ajsc-core/src/test/java/com/att/ajsc/test/java/AJSCPropertiesMapTest.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | package com.att.ajsc.test.java; 5 | 6 | import static org.junit.Assert.*; 7 | 8 | import java.io.File; 9 | 10 | import org.junit.Test; 11 | 12 | import ajsc.BaseTestCase; 13 | 14 | import com.att.ajsc.filemonitor.AJSCPropertiesMap; 15 | 16 | 17 | public class AJSCPropertiesMapTest extends BaseTestCase{ 18 | 19 | @Test 20 | public void shouldReturnValue() throws Exception{ 21 | File propertiesFile = new File(TEST_RSC_DIR+"sys-props.properties"); 22 | AJSCPropertiesMap.refresh(propertiesFile); 23 | String actualTimeOut = AJSCPropertiesMap.getProperty("sys-props.properties", "AFT_DME2_CONN_IDLE_TIMEOUTMS"); 24 | assertEquals("5000",actualTimeOut); 25 | String camelMaxPoolSize = AJSCPropertiesMap.getProperty("sys-props.properties", "CAMEL_MAX_POOL_SIZE"); 26 | assertEquals("20",camelMaxPoolSize); 27 | assertNotNull(AJSCPropertiesMap.getProperties(propertiesFile.getName())); 28 | 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/cdp-pal-common/src/main/java/com/att/cdp/zones/Service.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | 5 | package com.att.cdp.zones; 6 | 7 | import com.att.cdp.exceptions.ZoneException; 8 | import com.att.cdp.zones.model.Tenant; 9 | 10 | /** 11 | * The definition of a service. All services must be able to return the tenant that they are servicing as part of the 12 | * current context. 13 | * 14 | * @since Sep 30, 2013 15 | * @version $Id$ 16 | */ 17 | public interface Service { 18 | 19 | /** 20 | * All services must be able to return the tenant object that the user has connected to. 21 | * 22 | * @return The tenant object 23 | * @throws ZoneException 24 | * If the user has not logged in 25 | */ 26 | Tenant getTenant() throws ZoneException; 27 | 28 | /** 29 | * @return The URL to connect to the service. If this is not applicable to the specific service, then the service 30 | * returns an empty string. 31 | */ 32 | String getURL(); 33 | } 34 | -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/cdp-pal-common/src/main/java/com/att/cdp/zones/model/PersistentObject.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | 5 | package com.att.cdp.zones.model; 6 | 7 | import com.att.cdp.zones.Context; 8 | 9 | /** 10 | * A persistent object is any object that can be defined, saved, and persists across server instance lifetimes. 11 | * 12 | * @since Sep 30, 2013 13 | * @version $Id$ 14 | */ 15 | public class PersistentObject extends ModelObject { 16 | 17 | /** 18 | * 19 | */ 20 | private static final long serialVersionUID = 1L; 21 | 22 | /** 23 | * Default constructor 24 | */ 25 | public PersistentObject() { 26 | 27 | } 28 | 29 | /** 30 | * This protected constructor allows the creation of a connected model object that is connected to a specific 31 | * context 32 | * 33 | * @param context 34 | * The context we are connected to 35 | */ 36 | protected PersistentObject(Context context) { 37 | super(context); 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /ajsc5/ajsc-core/src/main/groovy/ajsc/http4/AjscHttpHeaderFilterStrategy.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | package ajsc.http4; 5 | 6 | import org.apache.camel.http.common.HttpHeaderFilterStrategy; 7 | 8 | public class AjscHttpHeaderFilterStrategy 9 | extends HttpHeaderFilterStrategy { 10 | protected void initialize() { 11 | 12 | super.initialize(); 13 | getOutFilter().remove("date"); 14 | //getOutFilter().remove("content-length"); 15 | //getOutFilter().remove("content-type"); 16 | //// Add the filter for the Generic Message header 17 | //// http://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.5 18 | //getOutFilter().remove("cache-control"); 19 | //getOutFilter().remove("connection"); 20 | //getOutFilter().remove("date"); 21 | //getOutFilter().remove("pragma"); 22 | //getOutFilter().remove("trailer"); 23 | //getOutFilter().remove("transfer-encoding"); 24 | //getOutFilter().remove("upgrade"); 25 | //getOutFilter().remove("via"); 26 | //getOutFilter().remove("warning"); 27 | // 28 | 29 | } 30 | 31 | } 32 | -------------------------------------------------------------------------------- /ajsc5/ajsc-core/src/test/java/com/att/ajsc/test/java/GUIDHelperTest.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | package com.att.ajsc.test.java; 5 | 6 | import static org.junit.Assert.*; 7 | 8 | import org.junit.Test; 9 | 10 | import ajsc.common.CommonNames; 11 | import ajsc.utils.GUIDHelper; 12 | 13 | public class GUIDHelperTest { 14 | 15 | @Test 16 | public void shouldReturnCSIConversationId(){ 17 | String converationId = GUIDHelper.createCSIConversationId("partnerName"); 18 | assertTrue(converationId.contains("partnerName"+"~CNG-CSI~")); 19 | } 20 | 21 | @Test 22 | public void shouldReturnUniqueTransactionId(){ 23 | String converationId = GUIDHelper.createUniqueTransactionId(); 24 | assertTrue(converationId.contains(CommonNames.AJSC_CSI_RESTFUL)); 25 | } 26 | 27 | @Test 28 | public void shouldReturnCSIConversationIdWithGuid(){ 29 | String converationId = GUIDHelper.createCSIConversationId("partnerName","guid"); 30 | assertTrue(converationId.contains("partnerName"+"~CNG-CSI~")); 31 | } 32 | 33 | 34 | 35 | } 36 | -------------------------------------------------------------------------------- /ajsc5/ajsc-core/src/main/java/com/att/ajsc/csi/restmethodmap/SparkUtils.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | package com.att.ajsc.csi.restmethodmap; 5 | 6 | import java.util.ArrayList; 7 | import java.util.List; 8 | 9 | /** 10 | * Some utility methods 11 | */ 12 | public final class SparkUtils { 13 | 14 | public static final String ALL_PATHS = "+/*paths"; 15 | 16 | private SparkUtils() {} 17 | 18 | public static List convertRouteToList(String route) { 19 | String[] pathArray = route.split("/"); 20 | List path = new ArrayList(); 21 | for (String p : pathArray) { 22 | if (p.length() > 0) { 23 | path.add(p); 24 | } 25 | } 26 | return path; 27 | } 28 | 29 | public static boolean isParam(String routePart) { 30 | return routePart.startsWith("{") && routePart.endsWith("}"); 31 | } 32 | 33 | public static boolean isSplat(String routePart) { 34 | return routePart.equals("*"); 35 | } 36 | 37 | } 38 | -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/cdp-pal-openstack/src/main/java/com/att/cdp/openstack/CommonIdentityService.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | 5 | package com.att.cdp.openstack; 6 | 7 | import com.att.cdp.zones.IdentityService; 8 | import com.woorea.openstack.keystone.model.Access; 9 | 10 | /** 11 | * This interface is used to expose common internal (not exposed to an external client) behaviors that must be provided 12 | * for any version implementation of the OpenStack Identity Service. 13 | * 14 | * @since May 2, 2014 15 | * @version $Id$ 16 | */ 17 | 18 | public interface CommonIdentityService extends IdentityService { 19 | 20 | /** 21 | * this method is used to destroy the authentication token and effectively logout of OpenStack. 22 | */ 23 | void destroyToken(); 24 | 25 | /** 26 | * Returns the Access object that contains the authorization token granted when the identity service 27 | * logged into OpenStack. 28 | * 29 | * @return The identity access object 30 | */ 31 | Access getAccess(); 32 | } 33 | -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/cdp-pal-common/src/main/java/com/att/cdp/zones/spi/model/ConnectedPort.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | 5 | package com.att.cdp.zones.spi.model; 6 | 7 | import com.att.cdp.exceptions.ZoneException; 8 | import com.att.cdp.zones.Context; 9 | import com.att.cdp.zones.NetworkService; 10 | import com.att.cdp.zones.model.Port; 11 | 12 | /** 13 | * @since Jul 21, 2014 14 | * @version $Id$ 15 | */ 16 | 17 | public class ConnectedPort extends Port { 18 | 19 | /** 20 | * 21 | */ 22 | private static final long serialVersionUID = 1L; 23 | 24 | /** 25 | * Create a connected Object object that is navigable 26 | * 27 | * @param context 28 | * The context that we are processing 29 | */ 30 | public ConnectedPort(Context context) { 31 | super(context); 32 | } 33 | 34 | @Override 35 | public void delete() throws ZoneException { 36 | NetworkService service = getContext().getNetworkService(); 37 | service.deletePort(this); 38 | } 39 | 40 | } 41 | -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/cdp-pal-common/src/main/java/com/att/cdp/zones/spi/AbstractSnapshot.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | 5 | package com.att.cdp.zones.spi; 6 | 7 | import com.att.cdp.exceptions.ZoneException; 8 | import com.att.cdp.zones.Context; 9 | import com.att.cdp.zones.SnapshotService; 10 | import com.att.cdp.zones.model.Server; 11 | import com.att.cdp.zones.model.Volume; 12 | 13 | /** 14 | * @since Mar 24, 2015 15 | * @version $Id$ 16 | * @deprecated Use the volume service instead. Snapshots are point-in-time copies of volumes and are better managed as 17 | * part of the volume service. 18 | */ 19 | @Deprecated 20 | public abstract class AbstractSnapshot extends AbstractService implements SnapshotService { 21 | 22 | /** 23 | * Create the abstract snapshot service implementation for the specified context 24 | * 25 | * @param context 26 | * The context that we are providing the services for 27 | */ 28 | public AbstractSnapshot(Context context) { 29 | super(context); 30 | } 31 | 32 | } 33 | -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/cdp-pal-common/src/test/java/com/att/cdp/zones/spi/model/TestConnectedTenant.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | 5 | package com.att.cdp.zones.spi.model; 6 | 7 | import static org.junit.Assert.assertNotNull; 8 | import static org.junit.Assert.assertTrue; 9 | import static org.junit.Assert.fail; 10 | 11 | import java.io.IOException; 12 | 13 | import org.junit.After; 14 | import org.junit.Before; 15 | import org.junit.Test; 16 | 17 | import com.att.cdp.exceptions.NoProviderFoundException; 18 | import com.att.cdp.zones.ComputeService; 19 | import com.att.cdp.zones.Context; 20 | import com.att.cdp.zones.ContextFactory; 21 | import com.att.cdp.zones.test.DummyProviderContext; 22 | 23 | /** 24 | * @since Mar 4, 2015 25 | * @version $Id$ 26 | */ 27 | public class TestConnectedTenant extends AbstractConnectedTests { 28 | /** 29 | * Verify the object is not null 30 | */ 31 | @Test 32 | public void testConnectedTenant() { 33 | ConnectedTenant tenant = new ConnectedTenant(context); 34 | assertNotNull(tenant); 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /Camunda/sdk-camunda-archetype/src/main/resources/archetype-resources/src/test/resources/application-test.properties: -------------------------------------------------------------------------------- 1 | ############################################################################### 2 | # Copyright (c) 2017 AT&T Intellectual Property. All rights reserved. 3 | # 4 | ############################################################################### 5 | #set( $symbol_pound = '#' ) 6 | #set( $symbol_dollar = '$' ) 7 | #set( $symbol_escape = '\' ) 8 | info.build.artifact=@project.artifactId@ 9 | info.build.name=@project.name@ 10 | info.build.description=@project.description@ 11 | info.build.version=@project.version@ 12 | 13 | 14 | logging.level.root=info 15 | 16 | spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration 17 | 18 | logging.pattern.console=%clr(%d{yyyy-MM-dd HH:mm:ss.SSS}){faint} %clr(%5p) %clr(${symbol_dollar} threadId: {PID:- }){magenta} %clr(---){faint} %clr([ hostname: %X{hostname} serviceName: %X{serviceName} version: %X{version} transactionId: %X{transactionId} requestTimeStamp: %X{requestTimestamp} responseTimeStamp: %X{responseTimestamp} duration: %X{duration}]){yellow} %clr([%15.15t]){faint} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m%n%wex -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/cdp-pal-openstack/src/main/java/com/att/cdp/openstack/heat/ConstraintDeserializer.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | 5 | package com.att.cdp.openstack.heat; 6 | 7 | import java.io.IOException; 8 | 9 | import com.att.cdp.openstack.heat.model.Constraint; 10 | import com.fasterxml.jackson.core.JsonParser; 11 | import com.fasterxml.jackson.core.JsonProcessingException; 12 | import com.fasterxml.jackson.databind.DeserializationContext; 13 | import com.fasterxml.jackson.databind.JsonDeserializer; 14 | 15 | /** 16 | * 17 | * @since Jun 26, 2015 18 | * @version $Id$ 19 | */ 20 | 21 | public class ConstraintDeserializer extends JsonDeserializer { 22 | 23 | /** 24 | * @see org.codehaus.jackson.map.JsonDeserializer#deserialize(org.codehaus.jackson.JsonParser, 25 | * org.codehaus.jackson.map.DeserializationContext) 26 | */ 27 | @Override 28 | public Constraint deserialize(JsonParser jp, DeserializationContext ctxt) throws IOException, 29 | JsonProcessingException { 30 | 31 | return null; 32 | } 33 | 34 | } 35 | -------------------------------------------------------------------------------- /Camunda/sdk-camunda-archetype/src/main/resources/archetype-resources/src/main/resources/META-INF/resources/icd/lib/highlight.9.1.0.pack_extended.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | (function () { 4 | var configure, highlightBlock; 5 | 6 | configure = hljs.configure; 7 | // "extending" hljs.configure method 8 | hljs.configure = function _configure (options) { 9 | var size = options.highlightSizeThreshold; 10 | 11 | // added highlightSizeThreshold option to set maximum size 12 | // of processed string. Set to null if not a number 13 | hljs.highlightSizeThreshold = size === +size ? size : null; 14 | 15 | configure.call(this, options); 16 | }; 17 | 18 | highlightBlock = hljs.highlightBlock; 19 | 20 | // "extending" hljs.highlightBlock method 21 | hljs.highlightBlock = function _highlightBlock (el) { 22 | var innerHTML = el.innerHTML; 23 | var size = hljs.highlightSizeThreshold; 24 | 25 | // check if highlightSizeThreshold is not set or element innerHTML 26 | // is less than set option highlightSizeThreshold 27 | if (size == null || size > innerHTML.length) { 28 | // proceed with hljs.highlightBlock 29 | highlightBlock.call(hljs, el); 30 | } 31 | }; 32 | 33 | })(); 34 | 35 | -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/cdp-pal-common/src/test/java/com/att/cdp/zones/model/TestImage.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | 5 | package com.att.cdp.zones.model; 6 | 7 | import static org.junit.Assert.assertNotNull; 8 | import static org.junit.Assert.fail; 9 | 10 | import java.util.Map; 11 | 12 | import org.junit.Test; 13 | 14 | import com.att.cdp.exceptions.NotNavigableException; 15 | import com.att.cdp.exceptions.ZoneException; 16 | 17 | public class TestImage { 18 | private Map metadata; 19 | 20 | @Test 21 | public void testImageFeatures() { 22 | Image img = new Image(); 23 | assertNotNull(img); 24 | 25 | /* 26 | * try{ Tenant tenant; tenant = img.getTenant(); assertNotNull(tenant); }catch (NotNavigableException e) { 27 | * e.printStackTrace(); fail("We were supposed to get the tenants!"); }catch (RimeException e) { 28 | * e.printStackTrace(); fail("We were supposed to get an exception!"); } metadata = img.getMetadata(); 29 | * assertNotNull(metadata); 30 | */ 31 | 32 | } 33 | 34 | } 35 | -------------------------------------------------------------------------------- /Camunda/sdk-camunda-archetype/src/main/resources/archetype-resources/src/main/webapp/jsf/example-input-value.xhtml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 9 | 10 | 17 | 18 | 19 | Example JSF 20 | 21 | 22 |

Input Value

23 | 24 | 27 |
25 | 26 |
28 | 29 |
30 |
31 |
32 | 33 | -------------------------------------------------------------------------------- /ajsc5/ajsc-core/src/test/java/com/att/ajsc/test/java/RouteMatchTest.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | package com.att.ajsc.test.java; 5 | 6 | import static org.junit.Assert.*; 7 | 8 | import org.junit.Test; 9 | 10 | import com.att.ajsc.csi.restmethodmap.HttpMethod; 11 | import com.att.ajsc.csi.restmethodmap.RouteMatch; 12 | 13 | public class RouteMatchTest { 14 | 15 | @Test 16 | public void shouldReturnRouteMatch(){ 17 | String service = "helloservice"; 18 | HttpMethod httpMethod = HttpMethod.get; 19 | String logicalMethod = "lookup"; 20 | String matchUri = "/test/1.0"; 21 | String requestURI = "/group/1.0"; 22 | String passThroughRespCode ="201,204"; 23 | 24 | RouteMatch routeMatch = new RouteMatch(service, httpMethod, logicalMethod, matchUri, requestURI,passThroughRespCode, 0); 25 | 26 | assertEquals(HttpMethod.get,routeMatch.getHttpMethod()); 27 | assertEquals("lookup",routeMatch.getLogicalMethod()); 28 | assertEquals("/test/1.0",routeMatch.getMatchUri()); 29 | assertEquals( "/group/1.0",routeMatch.getRequestURI()); 30 | 31 | } 32 | 33 | } 34 | -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/cdp-pal-common/src/main/java/com/att/cdp/zones/spi/model/ConnectedKeyPair.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | 5 | package com.att.cdp.zones.spi.model; 6 | 7 | import com.att.cdp.exceptions.ZoneException; 8 | import com.att.cdp.zones.Context; 9 | import com.att.cdp.zones.model.KeyPair; 10 | 11 | /** 12 | * @since Oct 23, 2013 13 | * @version $Id$ 14 | */ 15 | public class ConnectedKeyPair extends KeyPair { 16 | 17 | /** 18 | * Serial number 19 | */ 20 | private static final long serialVersionUID = 1L; 21 | 22 | /** 23 | * Create the connected Key-Pair object (to the supplied context) 24 | * 25 | * @param context 26 | * The context we are connected to 27 | */ 28 | public ConnectedKeyPair(Context context) { 29 | super(context); 30 | } 31 | 32 | /** 33 | * @see com.att.cdp.zones.model.KeyPair#delete() 34 | */ 35 | @Override 36 | public void delete() throws ZoneException { 37 | Context context = getContext(); 38 | context.getIdentityService().deleteKeyPair(this); 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/cdp-pal-common/src/test/java/com/att/cdp/zones/spi/model/TestConnectedNetwork.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | 5 | package com.att.cdp.zones.spi.model; 6 | 7 | import static org.junit.Assert.assertEquals; 8 | import static org.junit.Assert.assertNotNull; 9 | 10 | import org.junit.Before; 11 | import org.junit.Test; 12 | 13 | import com.att.cdp.zones.Context; 14 | 15 | public class TestConnectedNetwork extends AbstractConnectedTests { 16 | /** 17 | * Verify the object is not null and test the setter and getter methods 18 | */ 19 | @Test 20 | public void testConnectedNetwork() { 21 | ConnectedNetwork network = new ConnectedNetwork(context); 22 | network.setId("id"); 23 | network.setName("name"); 24 | network.setStatus("status"); 25 | network.setType("type"); 26 | assertNotNull(network); 27 | assertEquals("id", network.getId()); 28 | assertEquals("name", network.getName()); 29 | assertEquals("status", network.getStatus()); 30 | assertEquals("type", network.getType()); 31 | } 32 | 33 | } 34 | -------------------------------------------------------------------------------- /Camunda/sdk-camunda-archetype/src/main/resources/archetype-resources/src/main/java/config/CsiLoggingConfiguration.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved. 3 | * 4 | *******************************************************************************/ 5 | #set($symbol_pound='#')#set($symbol_dollar='$')#set($symbol_escape='\')package ${package}.config; 6 | 7 | import org.springframework.context.annotation.Bean; 8 | import org.springframework.context.annotation.Configuration; 9 | 10 | import com.att.ajsc.csilogging.common.AsyncSupport; 11 | import com.att.ajsc.csilogging.interceptors.CsiLoggingCamelPostInterceptor; 12 | import com.att.ajsc.csilogging.interceptors.CsiLoggingCamelPreInterceptor; 13 | 14 | @Configuration 15 | public class CsiLoggingConfiguration { 16 | @Bean 17 | public CsiLoggingCamelPreInterceptor csiLoggingCamelPreInterceptor() { 18 | return new CsiLoggingCamelPreInterceptor(); 19 | } 20 | 21 | @Bean 22 | public CsiLoggingCamelPostInterceptor csiLoggingCamelPostInterceptor() { 23 | return new CsiLoggingCamelPostInterceptor(); 24 | } 25 | 26 | @Bean 27 | public AsyncSupport asyncsupport() { 28 | return new AsyncSupport(); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/cdp-pal-common/src/main/java/com/att/cdp/exceptions/ContextConnectionException.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | 5 | package com.att.cdp.exceptions; 6 | 7 | /** 8 | * This exception is used to indicate that the provider cannot be accessed over the current context. This is typically 9 | * caused by a communications failure, failure of the provider itself, or anything that prevents communication with the 10 | * provider. 11 | */ 12 | public class ContextConnectionException extends ZoneException { 13 | 14 | /** 15 | * 16 | */ 17 | private static final long serialVersionUID = 1L; 18 | 19 | /** 20 | * @param message 21 | */ 22 | public ContextConnectionException(String message) { 23 | super(message); 24 | } 25 | 26 | /** 27 | * @param message 28 | * @param cause 29 | */ 30 | public ContextConnectionException(String message, Throwable cause) { 31 | super(message, cause); 32 | } 33 | 34 | /** 35 | * @param cause 36 | */ 37 | public ContextConnectionException(Throwable cause) { 38 | super(cause); 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/cdp-pal-common/src/main/java/com/att/cdp/exceptions/TimeoutException.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | 5 | package com.att.cdp.exceptions; 6 | 7 | /** 8 | * This class represents a timeout of some operation in the provider. 9 | */ 10 | 11 | public class TimeoutException extends ZoneException { 12 | 13 | /** 14 | * @param message 15 | */ 16 | public TimeoutException(String message) { 17 | super(message); 18 | // TODO Auto-generated constructor stub 19 | } 20 | 21 | /** 22 | * @param message 23 | * @param cause 24 | */ 25 | public TimeoutException(String message, Throwable cause) { 26 | super(message, cause); 27 | // TODO Auto-generated constructor stub 28 | } 29 | 30 | /** 31 | * @param cause 32 | */ 33 | public TimeoutException(Throwable cause) { 34 | super(cause); 35 | // TODO Auto-generated constructor stub 36 | } 37 | 38 | /** 39 | * @param args 40 | */ 41 | public static void main(String[] args) { 42 | // TODO Auto-generated method stub 43 | 44 | } 45 | 46 | } 47 | -------------------------------------------------------------------------------- /Camunda/sdk-camunda-archetype/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/securityFilterRules.json: -------------------------------------------------------------------------------- 1 | { 2 | "pathFilter": { 3 | "deniedPaths" : [ 4 | { "path": "/camunda/api/engine/.*", "methods" : "*" }, 5 | { "path": "/camunda/api/cockpit/.*", "methods" : "*" }, 6 | { "path": "/camunda/app/tasklist/{engine}/.*", "methods" : "*" }, 7 | { "path": "/camunda/app/cockpit/{engine}/.*", "methods" : "*" } 8 | ], 9 | "allowedPaths" : [ 10 | { "path": "/camunda/api/engine/engine/", "methods" : "GET" }, 11 | { "path": "/camunda/api/{app:cockpit}/plugin/{engine}/static/.*", "methods" : "GET" }, 12 | { "path": "/camunda/api/{app:cockpit}/plugin/{plugin}/{engine}/.*", "methods" : "*", "authorizer" : "org.camunda.bpm.webapp.impl.security.filter.EngineRequestAuthorizer" }, 13 | { "path": "/camunda/api/engine/engine/{engine}/.*", "methods" : "*", "authorizer" : "org.camunda.bpm.webapp.impl.security.filter.EngineRequestAuthorizer" }, 14 | { "path": "/camunda/app/{app:cockpit}/{engine}/.*", "methods" : "*", "authorizer" : "org.camunda.bpm.webapp.impl.security.filter.ApplicationRequestAuthorizer" }, 15 | { "path": "/camunda/app/{app:tasklist}/{engine}/.*", "methods" : "*", "authorizer" : "org.camunda.bpm.webapp.impl.security.filter.ApplicationRequestAuthorizer" } 16 | ] 17 | } 18 | } -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/cdp-pal-common/src/main/java/com/att/cdp/exceptions/AuthorizationException.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | 5 | package com.att.cdp.exceptions; 6 | 7 | /** 8 | * This class is thrown when the user is not authorized to perform some operation 9 | */ 10 | 11 | public class AuthorizationException extends ZoneException { 12 | 13 | /** 14 | * Serial version ID 15 | */ 16 | private static final long serialVersionUID = 1L; 17 | 18 | /** 19 | * @param message 20 | * The diagnostic message 21 | */ 22 | public AuthorizationException(String message) { 23 | super(message); 24 | } 25 | 26 | /** 27 | * @param message 28 | * The diagnostic message 29 | * @param cause 30 | * The cause of the exception 31 | */ 32 | public AuthorizationException(String message, Throwable cause) { 33 | super(message, cause); 34 | } 35 | 36 | /** 37 | * @param cause 38 | * The cause of the exception 39 | */ 40 | public AuthorizationException(Throwable cause) { 41 | super(cause); 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/cdp-pal-common/src/main/java/com/att/cdp/zones/model/SessionPersistence.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | 5 | package com.att.cdp.zones.model; 6 | 7 | /** 8 | * Describes the way user sessions are persisted by a load balancer. 9 | * 10 | * @since Oct 29, 2015 11 | * @version $Id$ 12 | */ 13 | public class SessionPersistence { 14 | 15 | private String type; 16 | 17 | private String cookieName = null; 18 | 19 | /** 20 | * @return The type of persistence 21 | */ 22 | public String getType() { 23 | return type; 24 | } 25 | 26 | /** 27 | * @param type 28 | * The type of persistence 29 | */ 30 | public void setType(String type) { 31 | this.type = type; 32 | } 33 | 34 | /** 35 | * @return The name of the cookie if cookies are used 36 | */ 37 | public String getCookieName() { 38 | return cookieName; 39 | } 40 | 41 | /** 42 | * @param cookieName 43 | * The name of the cookie 44 | */ 45 | public void setCookieName(String cookieName) { 46 | this.cookieName = cookieName; 47 | } 48 | } -------------------------------------------------------------------------------- /ajsc5/ajsc-archetype/src/main/resources/archetype-resources/src/main/java/JaxrsEchoService.java: -------------------------------------------------------------------------------- 1 | package ${package}; 2 | 3 | import javax.ws.rs.GET; 4 | import javax.ws.rs.Path; 5 | import javax.ws.rs.PathParam; 6 | import javax.ws.rs.Produces; 7 | 8 | import com.att.ajsc.beans.PropertiesMapBean; 9 | import com.att.ajsc.filemonitor.AJSCPropertiesMap; 10 | 11 | 12 | @Path("/jaxrs-services") 13 | public class JaxrsEchoService { 14 | @GET 15 | @Path("/echo/{input}") 16 | @Produces("text/plain") 17 | public String ping(@PathParam("input") String input) { 18 | return "Hello, " + input + "."; 19 | } 20 | 21 | @GET 22 | @Path("/property/{fileName}/{input:.*}") 23 | @Produces("text/plain") 24 | public String getProperty(@PathParam("fileName") String fileName, @PathParam("input") String input) { 25 | String val=null; 26 | try { 27 | val = AJSCPropertiesMap.getProperty(fileName, input); 28 | if(val == null || val.isEmpty() || val.length() < 1){ 29 | val = PropertiesMapBean.getProperty(fileName, input); 30 | } 31 | } 32 | catch(Exception ex) { 33 | System.out.println("*** Error retrieving property "+input+": "+ex); 34 | } 35 | if (val ==null) { 36 | return "Property is not available"; 37 | } 38 | return "Property value is, " + val +"."; 39 | } 40 | 41 | } -------------------------------------------------------------------------------- /ajsc5/ajsc-core/src/test/java/com/att/ajsc/test/java/CSIRESTExceptionTest.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | package com.att.ajsc.test.java; 5 | 6 | import static org.junit.Assert.*; 7 | 8 | import javax.servlet.http.HttpServletResponse; 9 | 10 | import org.junit.Test; 11 | 12 | import ajsc.exceptions.CSIRESTException; 13 | import ajsc.exceptions.RESTExceptionUtil; 14 | import ajsc.utils.ExceptionInfo; 15 | 16 | public class CSIRESTExceptionTest { 17 | 18 | private CSIRESTException restException; 19 | 20 | 21 | @Test 22 | public void testCreateErrorFromSoapFault(){ 23 | restException = RESTExceptionUtil.csiRESTError("203","Resource not available"); 24 | assertTrue(restException.getEx_().getMessageId().equals(expectedExceptionInfo().getMessageId())); 25 | assertEquals(HttpServletResponse.SC_INTERNAL_SERVER_ERROR,restException.getHTTPErrorCode()); 26 | } 27 | 28 | public ExceptionInfo expectedExceptionInfo(){ 29 | ExceptionInfo info = new ExceptionInfo(); 30 | info.setMessageId("SVC9999"); 31 | info.setText("An internal error has occurred: %1"); 32 | info.getVariables().add("Resource not available"); 33 | return info; 34 | } 35 | 36 | } 37 | -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/cdp-pal-common/src/main/java/com/att/cdp/exceptions/AuthenticationException.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | 5 | package com.att.cdp.exceptions; 6 | 7 | /** 8 | * This exception is thrown if the login fails because the principal or credential are invalid or not supplied. 9 | */ 10 | public class AuthenticationException extends ZoneException { 11 | 12 | /** 13 | * 14 | */ 15 | private static final long serialVersionUID = 1L; 16 | 17 | /** 18 | * @param message 19 | * The diagnostic message 20 | */ 21 | public AuthenticationException(String message) { 22 | super(message); 23 | } 24 | 25 | /** 26 | * @param message 27 | * The diagnostic message 28 | * @param cause 29 | * The cause of the exception 30 | */ 31 | public AuthenticationException(String message, Throwable cause) { 32 | super(message, cause); 33 | } 34 | 35 | /** 36 | * @param cause 37 | * The cause of the exception 38 | */ 39 | public AuthenticationException(Throwable cause) { 40 | super(cause); 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/cdp-pal-common/src/test/java/com/att/cdp/zones/model/TestACL.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | 5 | package com.att.cdp.zones.model; 6 | 7 | import static org.junit.Assert.assertEquals; 8 | import static org.junit.Assert.assertNotNull; 9 | import java.util.List; 10 | import org.junit.Test; 11 | 12 | public class TestACL { 13 | ACL acl = new ACL(); 14 | ACL aclTest = new ACL(""); 15 | 16 | /** 17 | * Verify the ACL object is not null and test the getter methods 18 | */ 19 | @Test 20 | public void testACL() { 21 | 22 | assertNotNull(acl); 23 | assertNotNull(aclTest); 24 | 25 | acl.setName("name"); 26 | String aclId = acl.getId(); 27 | String desc = acl.getDescription(); 28 | assertEquals("name", acl.getName()); 29 | assertEquals(aclId, acl.getId()); 30 | assertEquals(desc, acl.getDescription()); 31 | 32 | } 33 | 34 | /** 35 | * Obtain the list of Rules and verify it is not null 36 | */ 37 | @Test 38 | public void testGetRules() { 39 | List rules = acl.getRules(); 40 | assertNotNull(rules); 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /Camunda/sdk-camunda-archetype/src/main/resources/archetype-resources/src/main/resources/logmessages.properties: -------------------------------------------------------------------------------- 1 | ############################################################################### 2 | # Copyright (c) 2017 AT&T Intellectual Property. All rights reserved. 3 | # 4 | ############################################################################### 5 | RESTSERVICE_HELLO=SERVICE0001I|Get a quick hello|No resolution needed|No action is required 6 | RESTSERVICE_HELLO_NAME=SERVICE0002I|Get a quick hello for {0}|No resolution needed|No action is required 7 | SPRINSERVICE_HELLO=SERVICE0003I|Say a quick hello|No resolution needed|No action is required 8 | SPRINSERVICE_HELLO_NAME=SERVICE0004I|Say a quick hello for {0}|No resolution needed|No action is required 9 | SPRINSERVICE_HELLO_MESSAGE=SERVICE0005I|Say hello message: {0}|No resolution needed|No action is required 10 | SPRINSERVICE_HELLO_MESSAGE_NAME=SERVICE0006I|Say hello message object:{0}|No resolution needed|No action is required 11 | LOGSERVICE_EMAIL_ERROR=SERVICE0007I|Exception while sending e-mail:{0}|Resolution needed|action is required 12 | LOGSERVICE_EMAIL_CLASS=SERVICE0008I|classUrl.getFile:{0}|Resolution needed|action is required 13 | LOGSERVICE_EMAIL_CLASS_NULL=SERVICE0009I|classUrl is NULL|Resolution needed|action is required 14 | PROCESS_INSTANCE_ID=SERVICE0010I|Process Instance Id:{0}|No resolution needed|No action is required -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/cdp-pal-common/src/main/java/com/att/cdp/exceptions/NotLoggedInException.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | 5 | package com.att.cdp.exceptions; 6 | 7 | /** 8 | * This exception is thrown if the user is not logged in to the provider and attempts to make a service request 9 | */ 10 | public class NotLoggedInException extends AuthenticationException { 11 | 12 | /** 13 | * Serial version ID 14 | */ 15 | private static final long serialVersionUID = 1L; 16 | 17 | /** 18 | * @param message 19 | * The diagnostic message 20 | */ 21 | public NotLoggedInException(String message) { 22 | super(message); 23 | } 24 | 25 | /** 26 | * @param message 27 | * The diagnostic message 28 | * @param cause 29 | * The cause of the exception 30 | */ 31 | public NotLoggedInException(String message, Throwable cause) { 32 | super(message, cause); 33 | } 34 | 35 | /** 36 | * @param cause 37 | * The cause of the exception 38 | */ 39 | public NotLoggedInException(Throwable cause) { 40 | super(cause); 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /ajsc5/ajsc-core/src/test/java/com/att/ajsc/test/java/HelloWorldLoggerTest.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | package com.att.ajsc.test.java; 5 | 6 | import static org.junit.Assert.assertTrue; 7 | import static org.mockito.Mockito.mock; 8 | 9 | import java.util.HashMap; 10 | 11 | import javax.servlet.http.HttpServletRequest; 12 | import javax.servlet.http.HttpServletResponse; 13 | 14 | import org.junit.Before; 15 | import org.junit.Test; 16 | 17 | import ajsc.beans.interceptors.HelloWorldLogger; 18 | import ajsc.common.CommonNames; 19 | 20 | public class HelloWorldLoggerTest { 21 | 22 | HelloWorldLogger interceptor; 23 | HttpServletRequest request; 24 | HttpServletResponse response; 25 | HashMap map; 26 | 27 | 28 | @Before 29 | public void setup(){ 30 | interceptor = HelloWorldLogger.getInstance(); 31 | request = mock(HttpServletRequest.class); 32 | response = mock(HttpServletResponse.class); 33 | map = new HashMap<>(); 34 | map.put(CommonNames.REQUEST_START_TIME,100L); 35 | 36 | } 37 | 38 | @Test 39 | public void testAllowOrReject() throws Exception{ 40 | assertTrue(interceptor.allowOrReject(request, response, map)); 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /ajsc5/ajsc-core/src/main/java/com/att/ajsc/csi/restmethodmap/RouteMatcher.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | package com.att.ajsc.csi.restmethodmap; 5 | 6 | import java.util.List; 7 | 8 | 9 | public interface RouteMatcher { 10 | 11 | String ROOT = "/"; 12 | char SINGLE_QUOTE = '\''; 13 | 14 | /** 15 | * Parses, validates and adds a route 16 | * 17 | * @param route 18 | * @param logicalMethod 19 | */ 20 | void parseValidateAddRoute(String service, String httpMethod, String url, String logicalMethod, String dme2url, String type, String serviceName,String passThroughRespCode); 21 | /** 22 | * Finds the a target route for the requested route path 23 | * 24 | * @param httpMethod 25 | * @param route 26 | * @return 27 | */ 28 | RouteMatch findTargetForRequestedRoute(HttpMethod httpMethod, String route); 29 | 30 | 31 | /** 32 | * Finds the targets for a requested route path (used for filters) 33 | */ 34 | List findTargetsForRequestedRoute(HttpMethod httpMethod, String path); 35 | 36 | /** 37 | * Clear all routes 38 | */ 39 | void clearRoutes(); 40 | } 41 | -------------------------------------------------------------------------------- /ajsc5/ajsc-core/src/test/java/com/att/ajsc/test/java/TestInterceptorClassTest.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | package com.att.ajsc.test.java; 5 | 6 | import static org.junit.Assert.*; 7 | import static org.mockito.Mockito.mock; 8 | 9 | import java.util.HashMap; 10 | 11 | import javax.servlet.http.HttpServletRequest; 12 | import javax.servlet.http.HttpServletResponse; 13 | 14 | import org.junit.Before; 15 | import org.junit.Test; 16 | 17 | import ajsc.beans.interceptors.TestInterceptorClass; 18 | import ajsc.common.CommonNames; 19 | 20 | public class TestInterceptorClassTest { 21 | 22 | TestInterceptorClass interceptor; 23 | HttpServletRequest request; 24 | HttpServletResponse response; 25 | HashMap map; 26 | 27 | 28 | @Before 29 | public void setup(){ 30 | interceptor = TestInterceptorClass.getInstance(); 31 | request = mock(HttpServletRequest.class); 32 | response = mock(HttpServletResponse.class); 33 | map = new HashMap<>(); 34 | map.put(CommonNames.REQUEST_START_TIME,100L); 35 | 36 | } 37 | 38 | @Test 39 | public void testAllowOrReject() throws Exception{ 40 | assertFalse(interceptor.allowOrReject(request, response, map)); 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /cdp-pal/cdp-pal/cdp-pal-openstack/src/main/java/com/att/cdp/openstack/model/OpenStackLoadBalancerMember.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. 3 | *******************************************************************************/ 4 | 5 | package com.att.cdp.openstack.model; 6 | 7 | 8 | import com.att.cdp.zones.Context; 9 | import com.att.cdp.zones.spi.model.ConnectedLoadBalancerMember; 10 | 11 | /** 12 | * @since May 04, 2015 13 | * @version $Id$ 14 | */ 15 | 16 | public class OpenStackLoadBalancerMember extends ConnectedLoadBalancerMember { 17 | 18 | /** 19 | * 20 | */ 21 | private static final long serialVersionUID = 1L; 22 | 23 | /** 24 | * @param context 25 | * The context we are servicing 26 | * @param member 27 | * The load balancer member 28 | */ 29 | public OpenStackLoadBalancerMember(Context context, com.woorea.openstack.quantum.model.LoadBalancerMember member) { 30 | super(context); 31 | 32 | setId(member.getId()); 33 | setSubnetId(member.getSubnetId()); 34 | setAddress(member.getAddress()); 35 | setProtocolPort(member.getPort()); 36 | setWeight(member.getWeight()); 37 | setAdminStateUp(member.getState()); 38 | setPoolId(member.getPoolId()); 39 | } 40 | 41 | } 42 | --------------------------------------------------------------------------------