Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 0 additions & 51 deletions Tools/sbom-public-service/.classpath

This file was deleted.

39 changes: 0 additions & 39 deletions Tools/sbom-public-service/.project

This file was deleted.

This file was deleted.

10 changes: 0 additions & 10 deletions Tools/sbom-public-service/.settings/org.eclipse.jdt.core.prefs

This file was deleted.

This file was deleted.

This file was deleted.

File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
43 changes: 43 additions & 0 deletions schema/cyclonedx/bosch_sepia/bosch_sepia_cyclonedx_1.4.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
## CycloneDX_1.4

| Root Element | Child Element | | | |
|:-------------|:--------------|:-------------------|:----------|:----------|
| | | | | |
| bomFormat | | | | |
| specVersion | | | | |
| serialNumber | | | | |
| version | | | | |
| metadata | timestamp | | | |
| | supplier | name | | |
| | | contact | email | |
| | | | | |
| | tools | vendor | | |
| | | name | | |
| | | version | | |
| | | hashes | content | |
| | | | alg | |
| | | | | |
| | | externalReferences | hashes | content |
| | | | | alg |
| | | | type | |
| | | | comment | |
| | | | url | |
| | component | name | | |
| | | version | | |
| | | purl | | |
| | | type | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | licenses | license/expression | id/name | |
| | | | | |
| | | | | |
| components | name | | | |
| | version | | | |
| | type | | | |
| | purl | | | |
| | licenses | license/expression | id/name | |
| | copyright | | | |

21 changes: 21 additions & 0 deletions schema/spdx/bosch_sepia/bosch_sepia_spdx_2.3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
## SPDX_2.3

| Root Element | Child Element | |
|:------------------|:----------------------|:------------------|
| | | |
| spdxVersion | | |
| documentNamespace | | |
| dataLicense | | |
| creationInfo | created | |
| | creators | |
| | | |
| packages | externalRefs | referenceLocator |
| | | referenceCategory |
| | | referenceType |
| | | comment |
| | name | |
| | versionInfo | |
| | primaryPackagePurpose | |
| | licenseDeclared | |
| | copyrightText | |

24 changes: 24 additions & 0 deletions tools/sbom-public-service/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# =========================
# Eclipse / STS IDE files
# =========================
.project
.classpath
.settings/
.loadpath
.factorypath

# =========================
# Maven build output
# =========================
target/

# =========================
# OS-specific files
# =========================
.DS_Store
Thumbs.db

# =========================
# Logs
# =========================
*.log
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<version>2.3.8.RELEASE</version>
<relativePath /> <!-- lookup parent from repository -->
</parent>
<groupId>com.sepia.sbomutils</groupId>
<groupId>org.openchainproject.sepia</groupId>
<artifactId>sbom-utils-service</artifactId>
<version>2.0</version>
<name>sbom-utils-service</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//
// SPDX-License-Identifier: MIT

package com.sepia.sbomutils;
package org.openchainproject.sepia;

import java.io.IOException;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//
// SPDX-License-Identifier: MIT

package com.sepia.sbomutils;
package org.openchainproject.sepia;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
Expand Down Expand Up @@ -41,7 +41,7 @@ public ObjectMapper objectMapper() {

@Bean
public Docket api() {
return new Docket(DocumentationType.SWAGGER_2).select().apis(RequestHandlerSelectors.basePackage("com.sepia.sbomutils.controller"))
return new Docket(DocumentationType.SWAGGER_2).select().apis(RequestHandlerSelectors.basePackage("org.openchainproject.sepia.controller"))
.paths(PathSelectors.any()).build();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//
// SPDX-License-Identifier: MIT

package com.sepia.sbomutils;
package org.openchainproject.sepia;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//
// SPDX-License-Identifier: MIT

package com.sepia.sbomutils.controller;
package org.openchainproject.sepia.controller;

import java.io.IOException;
import java.io.InputStream;
Expand All @@ -17,6 +17,10 @@
import javax.servlet.http.HttpServletResponse;

import org.apache.commons.compress.utils.IOUtils;
import org.openchainproject.sepia.model.BomFilesInputModel;
import org.openchainproject.sepia.model.ChangeLog;
import org.openchainproject.sepia.service.SbomUtilityService;
import org.openchainproject.sepia.util.Constants;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
Expand All @@ -37,10 +41,7 @@

import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.sepia.sbomutils.model.BomFilesInputModel;
import com.sepia.sbomutils.model.ChangeLog;
import com.sepia.sbomutils.service.SbomUtilityService;
import com.sepia.sbomutils.util.Constants;

import io.swagger.annotations.ApiOperation;
import springfox.documentation.annotations.ApiIgnore;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//
// SPDX-License-Identifier: MIT

package com.sepia.sbomutils.exception;
package org.openchainproject.sepia.exception;
public class CycloneConversionException extends Exception {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* SPDX-License-Identifier: Apache-2.0
*/
package com.sepia.sbomutils.exception;
package org.openchainproject.sepia.exception;

/**
* @author Gary O'Neall
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//
// SPDX-License-Identifier: MIT

package com.sepia.sbomutils.model;
package org.openchainproject.sepia.model;

import lombok.AllArgsConstructor;
import lombok.Getter;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//
// SPDX-License-Identifier: MIT

package com.sepia.sbomutils.model;
package org.openchainproject.sepia.model;

import lombok.AllArgsConstructor;
import lombok.Getter;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//
// SPDX-License-Identifier: MIT

package com.sepia.sbomutils.model;
package org.openchainproject.sepia.model;

import java.sql.Timestamp;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//
// SPDX-License-Identifier: MIT

package com.sepia.sbomutils.model;
package org.openchainproject.sepia.model;

import java.util.ArrayList;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//
// SPDX-License-Identifier: MIT

package com.sepia.sbomutils.model;
package org.openchainproject.sepia.model;


import lombok.AllArgsConstructor;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//
// SPDX-License-Identifier: MIT

package com.sepia.sbomutils.model;
package org.openchainproject.sepia.model;



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//
// SPDX-License-Identifier: MIT

package com.sepia.sbomutils.model;
package org.openchainproject.sepia.model;

import java.util.List;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//
// SPDX-License-Identifier: MIT

package com.sepia.sbomutils.model;
package org.openchainproject.sepia.model;

import lombok.AllArgsConstructor;
import lombok.Getter;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//
// SPDX-License-Identifier: MIT

package com.sepia.sbomutils.model;
package org.openchainproject.sepia.model;

import java.util.List;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//
// SPDX-License-Identifier: MIT

package com.sepia.sbomutils.model;
package org.openchainproject.sepia.model;

import org.cyclonedx.model.ExternalReference.Type;

Expand Down
Loading