summaryrefslogtreecommitdiffstats
path: root/adaptors/message-router/consumer/pom.xml
blob: 39126537e6fbfda591f79d0382d0de9061b896a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?xml version="1.0" encoding="UTF-8"?>
<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.ccsdk.sli.adaptors.messagerouter</groupId>
        <artifactId>message-router</artifactId>
        <version>1.5.0-SNAPSHOT</version>
    </parent>

    <artifactId>consumer.aggregate</artifactId>
    <packaging>pom</packaging>

    <name>ccsdk-sli-adaptors :: message-router :: ${project.artifactId}</name>

    <modules>
        <module>api</module>
        <module>provider</module>
        <module>installer</module>
    </modules>
</project>
span class="n">argv), 'arguments.' with open(sys.argv[1]) as json_file: json_data = json.load(json_file) for x in json_data['vertices']: uid = None nodeLabel=x.get('nodeLabel') debug(nodeLabel) if ( nodeLabel == 'user' ): uid = x['userId'] elif ( nodeLabel == 'tag' ): uid = x['name'] elif ( nodeLabel == None ): pass elif ( nodeLabel == 'lockNode' ): uid = x.get('uid') else: uid = x['uid'] debug(nodeLabel, uid) existId = dict.get(uid) if (existId == None): dict[uid] = x.get('_id') else: dupliacteUid[uid] = existId print dupliacteUid # with open('data.txt', 'w') as outfile: # json.dump(json_data, outfile) # print x['uid']