Skip to content

Commit

Permalink
Merge pull request #375 from vmware/fix/369
Browse files Browse the repository at this point in the history
Create 'images' directory structure in correct project location
  • Loading branch information
kjrokos authored Jun 11, 2024
2 parents ddee50f + 2ea3e83 commit aaafafb
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 12 deletions.
10 changes: 5 additions & 5 deletions docs/references/java_project/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,11 @@ files and directories specific to Java (highlighted below):
├── manifest.txt
├── requirements.txt
├── conf
│   └── describeSchema.xsd
│   ├── describeSchema.xsd
│   └── images
│      ├── AdapterKind
│      ├── ResourceKind
│      └── TraversalSpec
├── content
│   ├── alertdefs
│   │   └── alertDefinitionSchema.xsd
Expand All @@ -49,10 +53,6 @@ files and directories specific to Java (highlighted below):
│   ├── symptomdefs
│   └── traversalspecs
│   └── traversalSpecsSchema.xsd
├── images
│   ├── AdapterKind
│   ├── ResourceKind
│   └── TraversalSpec
├── resources
│   └── resources.properties
└── src
Expand Down
5 changes: 4 additions & 1 deletion docs/references/mp-init.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,10 @@ The init script creates a project in the given path with the following structure
├── venv-ADAPTER NAME
├── conf
│   ├── describeSchema.xsd
│   └── resources
│   └── images
│      ├── AdapterKind
│      ├── ResourceKind
│      └── TraversalSpec
├── content
│   ├── alertdefs
│   │   └── alertDefinitionSchema.xsd
Expand Down
10 changes: 5 additions & 5 deletions docs/references/python_project/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,11 @@ files and directories specific to Python (highlighted below):
│   ├── adapter.py
│   └── constants.py
├── conf
│   └── describeSchema.xsd
│   ├── describeSchema.xsd
│   └── images
│      ├── AdapterKind
│      ├── ResourceKind
│      └── TraversalSpec
├── content
│   ├── alertdefs
│   │   └── alertDefinitionSchema.xsd
Expand All @@ -53,10 +57,6 @@ files and directories specific to Python (highlighted below):
│   ├── symptomdefs
│   └── traversalspecs
│   └── traversalSpecsSchema.xsd
├── images
│   ├── AdapterKind
│   ├── ResourceKind
│   └── TraversalSpec
└── resources
└── resources.properties
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def __init__(

self.conf_dir_path = os.path.join(project_path, "conf")
self.conf_resources_dir_path = os.path.join(project_path, "resources")
self.conf_images_dir_path = os.path.join(project_path, "images")
self.conf_images_dir_path = os.path.join(self.conf_dir_path, "images")

self.response_values: Dict[str, Any] = {
"display_name": display_name,
Expand Down

0 comments on commit aaafafb

Please sign in to comment.