diff options
author | Charles Cole <cc847m@att.com> | 2017-12-14 08:59:26 -0600 |
---|---|---|
committer | Charles Cole <cc847m@att.com> | 2017-12-14 14:58:16 -0600 |
commit | c8e0ec698ab687e81654b7cde3ce9ae4118de87e (patch) | |
tree | fc4f437523ecefc8fe961328f978c102964f2867 /feature-simulators/pom.xml | |
parent | 4884099eff44975eee57e6748823ff73f965e332 (diff) |
Add a DMaaP simulator
Added a DMaaP simulator for testing applications. One current
limitation is that the simulator does not support multiple "subscribers"
on the same topic; if someone gets a message, that message cannot be
subsequently retrieved by anyone else. The simulator has also not been
tested for concurrent getting and posting.
Also added a way to set the response code DMaaP would return for a get
to test that policy can gracefully handle errors.
It may need some work to become truely its own "feature"
Issue-ID: POLICY-489
Change-Id: I524981bdf5e4e825f13e6197dda11d9498e4f4bf
Signed-off-by: Charles Cole <cc847m@att.com>
Diffstat (limited to 'feature-simulators/pom.xml')
-rw-r--r-- | feature-simulators/pom.xml | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/feature-simulators/pom.xml b/feature-simulators/pom.xml new file mode 100644 index 00000000..767739bc --- /dev/null +++ b/feature-simulators/pom.xml @@ -0,0 +1,53 @@ +<!-- + ============LICENSE_START======================================================= + ONAP Policy Engine - Drools PDP + ================================================================================ + Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + ================================================================================ + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + ============LICENSE_END========================================================= + --> + +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + + <modelVersion>4.0.0</modelVersion> + + <parent> + <groupId>org.onap.policy.drools-pdp</groupId> + <artifactId>drools-pdp</artifactId> + <version>1.2.0-SNAPSHOT</version> + </parent> + + <artifactId>feature-simulators</artifactId> + + <name>feature-simulators</name> + + <properties> + <maven.compiler.source>1.8</maven.compiler.source> + <maven.compiler.target>1.8</maven.compiler.target> + </properties> + + <dependencies> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.onap.policy.drools-pdp</groupId> + <artifactId>policy-endpoints</artifactId> + <version>${project.version}</version> + </dependency> + </dependencies> +</project> |